Custom Function to Notification.

Hello! I have function for check ups serial number.
How i can get notification?

Function:
ups_serial
oid(“iso.org.dod.internet.mgmt.mib-2.entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry.entPhysicalSerialNum.262147”,10,29)Notification:
/tool fetch url=“https://api.telegram.org/myBot/sendMessage\?chat_id=-12345&text=Name: [Device.Name]; Serial: [ups_serial()] ; Status: [Service.Status]” keep-result=noBut on messenger i see only tag [ups_serial()]