I don’t know how to get the dynamic message to send on either the chatbot nor telegrambot. I prefer telegram bot as it’s pretty straight forward. I enter a message and it sends, but I want it to change the message based on the sensor that has been triggered like I do for my android notifications. For example:
[{"id":"ce4b87bd.a6f3a8","type":"server-state-changed","z":"dbe7bd4a.b13108","name":"Front Door","server":"e8627faa.c1d02","version":1,"entityidfilter":"binary_sensor.front_door","entityidfiltertype":"substring","outputinitially":true,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":160,"y":920,"wires":[["deb25907.26d13"],[]]},{"id":"813daa7d.b915e","type":"server-state-changed","z":"dbe7bd4a.b13108","name":"Back Door","server":"e8627faa.c1d02","version":1,"entityidfilter":"binary_sensor.back_door","entityidfiltertype":"substring","outputinitially":true,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":160,"y":960,"wires":[["eee23138.dd68b8"],[]]},{"id":"8eb58cce.d620a","type":"server-state-changed","z":"dbe7bd4a.b13108","name":"Garage Door","server":"e8627faa.c1d02","version":1,"entityidfilter":"binary_sensor.garage_door","entityidfiltertype":"substring","outputinitially":true,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":170,"y":1000,"wires":[["8c12ed07.404388"],[]]},{"id":"34e7304b.14d748","type":"function","z":"dbe7bd4a.b13108","name":"Data","func":"msg.payload = \n{\n \"data\": \n {\n \"message\": msg.text,\n }\n}\nreturn msg;","outputs":1,"noerr":0,"x":990,"y":940,"wires":[["2a93e4f5.aec034"]]},{"id":"3824190e.bbab4e","type":"change","z":"dbe7bd4a.b13108","name":"Front Door","rules":[{"t":"set","p":"text","pt":"msg","to":"Alarm Triggered Front Door","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":750,"y":900,"wires":[["34e7304b.14d748"]]},{"id":"ac32ff53.2fe328","type":"change","z":"dbe7bd4a.b13108","name":"Garage Door","rules":[{"t":"set","p":"text","pt":"msg","to":"Alarm Triggered Garage Door","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":750,"y":980,"wires":[["34e7304b.14d748"]]},{"id":"2cea3c68.68726c","type":"change","z":"dbe7bd4a.b13108","name":"Back Door","rules":[{"t":"set","p":"text","pt":"msg","to":"Alarm Triggered Back Door","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":750,"y":940,"wires":[["34e7304b.14d748"]]},{"id":"70420ed8.2d705","type":"api-current-state","z":"dbe7bd4a.b13108","name":"triggered?","server":"e8627faa.c1d02","version":1,"outputs":2,"halt_if":"triggered","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":570,"y":920,"wires":[["3824190e.bbab4e"],[]]},{"id":"445ba041.4c79f8","type":"api-current-state","z":"dbe7bd4a.b13108","name":"triggered?","server":"e8627faa.c1d02","version":1,"outputs":2,"halt_if":"triggered","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":570,"y":960,"wires":[["2cea3c68.68726c"],[]]},{"id":"40530942.36ddd","type":"api-current-state","z":"dbe7bd4a.b13108","name":"triggered?","server":"e8627faa.c1d02","version":1,"outputs":2,"halt_if":"triggered","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":570,"y":1000,"wires":[["ac32ff53.2fe328"],[]]},{"id":"dd44d282.bf3608","type":"server-state-changed","z":"dbe7bd4a.b13108","name":"Great Room Motion","server":"e8627faa.c1d02","version":1,"entityidfilter":"binary_sensor.great_room_motion","entityidfiltertype":"substring","outputinitially":true,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":190,"y":1040,"wires":[["5262c499.89ca5c"],[]]},{"id":"f475c9ae.6ab15","type":"api-current-state","z":"dbe7bd4a.b13108","name":"triggered?","server":"e8627faa.c1d02","version":1,"outputs":2,"halt_if":"triggered","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":570,"y":1040,"wires":[["6e86f511.69990c"],[]]},{"id":"6e86f511.69990c","type":"change","z":"dbe7bd4a.b13108","name":"Great Room Motion","rules":[{"t":"set","p":"text","pt":"msg","to":"Alarm Triggered Great Room Motion","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":770,"y":1020,"wires":[["34e7304b.14d748"]]},{"id":"5262c499.89ca5c","type":"delay","z":"dbe7bd4a.b13108","name":"3s","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":370,"y":1040,"wires":[["f475c9ae.6ab15"]]},{"id":"8c12ed07.404388","type":"delay","z":"dbe7bd4a.b13108","name":"4","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":350,"y":1000,"wires":[["40530942.36ddd"]]},{"id":"eee23138.dd68b8","type":"delay","z":"dbe7bd4a.b13108","name":"3s","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":350,"y":960,"wires":[["445ba041.4c79f8"]]},{"id":"deb25907.26d13","type":"delay","z":"dbe7bd4a.b13108","name":"3s","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":350,"y":920,"wires":[["70420ed8.2d705"]]},{"id":"2a93e4f5.aec034","type":"api-call-service","z":"dbe7bd4a.b13108","name":"Notify Android","server":"e8627faa.c1d02","version":1,"service_domain":"notify","service":"mobile_app_ryan_s_pixel_2","entityId":"","data":"{}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1200,"y":940,"wires":[[]]},{"id":"e8627faa.c1d02","type":"server","z":"","name":"HA Fahrer","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]