Switch port up/down alert - SMS transport

Hello I am using below alert template to get port down SMS notification for switches.

{{ $alert->title }}
Timestamp: {{ $alert->timestamp }}
Port: {{ $value[‘ifName’] }}
Port Name: {{ $value[‘ifAlias’] }}
Port Descr: {{ $value[‘ifDescr’] }}

I want get SMS like -
Device: switch.homenetwork.local is down
Timestamp: 2020-11-04 12:55:09
Port: GigaEthernet0/9
Port Name: something.name
Port Descr: GigaEthernet0/9

What do I need to modify? Please help me.

Ever tried it like that?

Yes! Currently running this…