Adhesively bonded polypyrrole thin films doped with benzene sulfonic acid (BSA) were electrodeposited on aminobenzenediazonium-modified flexible ITO electrodes and further employed for the detection of Pb, Cu, and Cd metal ions in aqueous medium. The aminophenyl (AP) adhesive layer was grafted to ITO by electroreduction of the in situ generated parent diazonium compound. Polypyrrole (PPy) thin films exhibited remarkable adhesion to aminophenyl (ITO-AP). The strongly adherent polypyrrole films exhibited excellent electroactivity in the doped state with BSA which itself served to chelate the metal ions in aqueous medium. The surface of the resulting, modified flexible electrode was characterized by XPS, SEM, and electrochemical methods. The ITO-AP-PPy electrodes were then used for the simultaneous detection of Cu, Cd, and Pb by differential pulse voltammetry (DPV). The detection limits were 11.1, 8.95, and 0.99 nM for Cu, Cd, and Pb, respectively. In addition, the modified electrodes displayed a good reproducibility, making them suitable for the determination of heavy metals in real wastewater samples.