The development of metallogels widens the span of sensing activity as it opens new opportunities to develop chemosensors through metal-ligand interactions. Herein, a new nitrile-substituted 1,3,5-tricarboxamide-based gelator G4 has been fabricated and shows aggregate-induced enhanced emission (AIEE) after gelation in the presence of water. A dimethylformamide (DMF) solution of the gelator shows rapid crystallization, but addition of water to a DMF solution of gelator G4 leads to gelation at room temperature. In addition, gelator G4 was used for the formation of metallogels, and among them, the cobalt metallogel has been found to be effective for sensing l-tryptophan in the gel state through the quenching of AIEE. Interestingly, the gel is also effective in sensing bovine serum albumin protein at the nanomolar level, which contains an l-tryptophan residue. The limit of detection of Co(II)G4 for selective sensing of tryptophan has been found to be 2.4 × 10-8 M. To the best of our knowledge, there have been no reports to date of a metallogel being utilized to discriminate and selectively sense an amino acid and a protein. The gelation properties of the organic gelator molecule and metallogels have been explored through various spectroscopic tools and physicochemical experiments.