A green paired electrochemical synthesis of some 6H-pyrrolo[3,2,1-de]phenazin-1-amine and 2-amino- 1-phenyl-5-((E)-((E)-4-(phenylimino)cyclohexa-2,5-dien-1-ylidene)amino)-1H-indole-3-carbonitrile was carried out by anodic oxidation of 2-aminodiphenylamine and 4-aminodiphenylamine in the presence of nitrile derivatives as nucleophiles. In addition, the synthesized compounds were evaluated for theirs in vitro antibacterial activity against four bacterial ATCC strains (Bacillus cereus, Staphylococcus aureus, Escherichia coli, Shigell asonei).