Keywords: 1,3,5-Triazapenta-1,3-dienes / Tautomerism / Triazines / Oligonitriles / DFT calculations 1,3,5-Triazapentadienes 1, prepared from amidines and imidoyl chlorides 2, have been used as nucleophilic building blocks for the reactions with various electrophilic reagents. With aldehydes 4 1,2-dihydrotriazines 3 were obtained, whereas ketones 5 gave 3 or 1,3,5-triazahexa-1,3,5-trienes 6, depending on the substitution pattern of 1. Acyl chlorides 7 reacted with 1 to give 1-oxa-3,5,7-triazahepta-1,3,5-trienes 8; in a similar manner imidoyl chlorides 2 gave rise to the formation of the new 1,3,5,7-tetraazahepta-1,3,5-trienes 9. Treatment of N-benzoylbenzimidoyl chloride 10 with 1 afforded the 1-oxa-3,5,7,9-tetraazanona-1,3,5,7-tetraenes 11, or, depending on the substitution pattern, their ring-tautomeric compounds 12 with 1,2-dihydrotriazine structures.