Covalent organic frameworks (COFs) having a large surface area, porosity, and substantial amounts of heteroatom content are recognized as the ideal class of materials for energy storage and gas sorption applications. In this work, we have synthesized four different porous COF materials by the polycondensation of a heteroatom-rich flexible triazine-based trialdehyde linker, namely 2,4,6-tris(4-formylphenoxy)-1,3,5-triazine (TPT-CHO), with four different triamine linkers. Triamine linkers were chosen based on differences in size, symmetry, planarity, and heteroatom content, leading to the synthesis of four different COF materials named IITR-COF-1, IITR-COF-2, IITR-COF-3, and IITR-COF-4. IITR-COF-1, synthesized within 24 h from the most planar and largest amine monomer, exhibited the largest Brunauer-Emmett-Teller (BET) surface area of 2830 m2 g-1, superior crystallinity, and remarkable reproducibility compared to the other COFs. All of the synthesized COFs were explored for energy and gas storage applications. It is shown that the surface area and redox-active triazene rings in the materials have a profound effect on energy and gas storage enhancement. In a three-electrode setup, IITR-COF-1 achieved an electrochemical stability potential window (ESPW) of 2.0 V, demonstrating a high specific capacitance of 182.6 F g-1 with energy and power densities of 101.5 Wh kg-1 and 298.3 W kg-1, respectively, at a current density of 0.3 A g-1 in 0.5 M K2SO4 (aq) with long-term durability. The symmetric supercapacitor of IITR-COF-1//IITR-COF-1 exhibited a notable specific capacitance of 30.5 F g-1 and an energy density of 17.0 Wh kg-1 at a current density of 0.12 A g-1. At the same time, it demonstrated 111.3% retention of its initial specific capacitance after 10k charge-discharge cycles. Moreover, it exhibited exceptional CO2 capture capacity of 25.90 and 10.10 wt % at 273 and 298 K, respectively, with 2.1 wt % of H2 storage capacity at 77 K and 1 bar.