The analyses of drugs and metabolites in complex matrices have been widely studied in recent years. However, due to high levels endogenous compounds and matrix complexity, these analyses require a sample pre-treatment step. To this aim, two lab-made extractive phases were integrated to probe electrospray ionization mass spectrometry (PESI-MS) technique for direct analysis of illicit drugs in biological fluids and phorbol esters in Jatropha curcas extract. The polypyrrole (PPy) phase was electropolymerized onto a platinum wire surface by cyclic voltammetry. The molecularly imprinted polymer (MIP) was synthesized and adhered onto a stainless-steel needle with epoxy resin. The PPy-PESI-MS method showed to be linear in a concentration range from 1 to 500 μg L−1, with accuracy values between -2.1 and 14%, and precision values between 0.8 and 10.8%. The MIP-PESI-MS method showed to be linear in a concentration range from 0.9 to 30 mg L−1, with accuracy values between -1.6 and -15.3%, and precision values between 4.1 and 13.5%.