Novel high performing materials will dictate the pace of reinventing industrial chemical processes to attain desired carbon neutrality targets. Regarding the urgency of exploiting solar irradiation long range visible-light photoelectrocatalysts from abundant resources will play a key role in the aforementioned effort. Anionic doping via co-polymerization and pre-organization of precursors results in tuneable and extrinsic semiconductors, making this a highly attractive methodology. Triazole derivative-purpald, an unexplored precursor but sulfur (S) container, combined with melamine during one solid-state polycondensation reaction with two thermal steps leads to S-doped carbon nitrides (C3N4). The series of S-doped/C3N4-based materials demonstrated enhanced optical, electronic, structural, geometric, textural, and morphological properties and exhibited higher performance in organic benzylamine photooxidation, oxygen evolution, and similar storing energy (capacitor brief investigation) than references. Among the five composites, 50M-50P exhibited the highest photooxidation conversion yield (84±3%) of benzylamine to imine at 535 nm – green light for 48h, due to an extra discrete shoulder reaching ~700 nm, an unusual high sulfur content, preservation of crystal size, new intraband energy states, rare deep structural defects by layer distortion, hydrophobic surface, low porosity, and 10-16 nm pores. An in-depth analysis of S doping was investigated coupling x-ray photoelectron spectroscopy, transmission electron microscope, and elemental analysis, providing insights on bonds, distribution, and surface/bulk content. This work contributes to the development of amorphous photocatalysts with long-visible-light range for solar energy conversion and storage.