Résumé : Techniques for the preparation of biological samples are often based nowadays on solid-phase extraction (SPE). The different SPE steps can be performed automatically on disposable extraction cartridges (DECs) by means of a sample processor. A knowledge-based system was developed to facilitate the development of fully automated methods for the solid-phase extraction of relatively hydrophobic basic drugs from plasma, coupled with their determination by high-performance liquid chromatography (HPLC). The DEC filled with 50 mg of cyanopropyl-bonded silica phase is first conditioned with methanol and buffer solution (pH 7.4). After sample application, the DEC sorbent is washed with the same buffer. The analytes are then desorbed with an appropriate eluent and the eluate is finally diluted with the same buffer as used in the HPLC mobile phase before injection. Under these conditions, only three variables are still to be optimized: the composition and volume of the elution solvent and the volume of buffer to be added to the eluate. On the basis of this general strategy, a decision tree providing information about suggested starting conditions and guidelines for the optimization of the three variables was developed and implemented by use of a hypermedia software. This didactic expert system was evaluated using several β-receptor blocking agents as model compounds and the operating conditions obtained for the automated SPE of these compounds are presented. A method for the determination of propranolol in plasma using the SPE conditions deduced from the knowledge-based system was validated. The absolute recovery of propranolol is ca. 93% and the limit of detection is 1.3 ng ml-1. The mean within-day and between-day reproducibilities are 2.3 and 3.6%, respectively. © 1994.