Four [PW12O40]3− (PW12)-based inorganic–organic hybrid compounds constructed from AgI ions and flexible bis(triazole) ligands with different spacer lengths, [Ag8(btp)4(H2O)2(HPWVI10WV2O40)2]·H2O (1), [Ag4(btb)2(HPWVI10WV2O40)] (2), [(btb)(H3PW12O40)]·6H2O (3) and [Ag5(btx)4(PWVI10WV2O40)] (4), (btp = 1,3-bis(1,2,4-triazol-1-yl)propane, btb = 1,4-bis(1,2,4-triazol-1-yl)butane, btx = 1,6-bis(1,2,4-triazol-1-yl)hexane), have been successfully isolated in the pH range 0.5–2.0 under hydrothermal conditions and characterized by single crystal X-ray diffraction analysis. In compound 1, the btp with a shorter spacer –(CH2)3– was used, and the 2D AgI–btp wave layers containing tetra-nuclear loops have been obtained, which were further extended into a 3D hamburger-style framework by two types of PW12 inorganic linkages. In compound 2, the btp ligand was replaced by btb with a longer spacer –(CH2)4–, thus a 2D AgI–btb grid layer containing two types of multinuclear loops was obtained. The PW12 anions reside in the void of a large hexa-nuclear loop and as octa-dentate inorganic linkages connect these 2D grid layers to construct a 3D framework. Compound 3 was synthesized under the same conditions as 2 except for a different crystallization time, which only exhibits a supramolecular structure constructed from protonated PW12 and btb molecules. The btx molecule with the longest –(CH2)6– spacer was utilized in compound 4, an interesting 3-fold interpenetrating 2D AgI–btx network containing large dodeca-nuclear loops formed, which was further linked by the six-connected PW12 anions to construct a 3D skeleton. The influences of –(CH2)n– spacers as well as the pH value and crystallization time on forming and tuning different 3D AgI/POM-based compounds containing different multinuclear loops have been discussed. Moreover, the electrochemical properties and photochemical catalysis of these four compounds have also been investigated.