Monitoring antibiotic retention in human body fluids after treatment and controlling heavy metal content in water are important requirements for a healthy society. Therefore, the approach proposed in this study is based on developing new optical sensors using porphyrin or its bifunctional hybrid materials made with AuNPs to accomplish the accurate detection of chloramphenicol and cobalt. To produce the new optical chloramphenicol sensors, 2,7,12,17-tetra-tert-butyl-5,10,15,20-tetraaza-21H,23H-porphine (TBAP) was used, both alone in an acid medium and as a hybrid material with AuNPs in a water–DMSO acidified environment. The same hybrid material in the unchanged water–DMSO medium was the sensing material used for Co2+ monitoring. The best results of the hybrid materials were explained by the synergistic effects between the TBAP azaporphyrin and AuNPs. Chloramphenicol was accurately detected in the range of concentrations between 3.58 × 10−6 M and 3.37 × 10−5 M, and the same hybrid material quantified Co2+ in the concentration range of 8.92 × 10−5 M–1.77 × 10−4 M. In addition, we proved that AuNPs can be used for the detection of azaporphyrin (from 2.66 × 10−5 M to 3.29 × 10−4 M), making them a useful tool to monitor porphyrin retention after cancer imaging procedures or in porphyria disease. In conclusion, we harnessed the multifunctionality of this azaporphyrin and of its newly obtained AuNP plasmonic hybrids to detect chloramphenicol and Co2+ quickly, simply, and with high precision.