I’m trying to pass a URL showing a camera snapshot to a notification. A node ends up with the URL as the payload, then I pass it through a template node with all of the data for the notification. However, when it’s passed to the notification, the payload isn’t being recognized.
I’m using {{payload}} in place of the attachment URL. Looks like it’s always coming through blank.
Here’s the automation:
[{"id":"30e24605.1bbf3a","type":"arlo-snapshot","z":"55e22480.5a941c","name":"Front Door Snapshot","service":"db0b6f8c.c161f","device":"59U17B7DBBA23","x":1120,"y":680,"wires":[["869e6c95.c2e23","18b0f44c.dfbd7c"]]},{"id":"e1389635.bf5408","type":"api-call-service","z":"55e22480.5a941c","name":"Notify ","server":"8a289209.0956e","version":1,"debugenabled":true,"service_domain":"notify","service":"mobile_app_ethans_iphone","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1570,"y":680,"wires":[[]]},{"id":"e0145353.de0d88","type":"inject","z":"55e22480.5a941c","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":900,"y":680,"wires":[["30e24605.1bbf3a"]]},{"id":"869e6c95.c2e23","type":"api-render-template","z":"55e22480.5a941c","name":"template","server":"8a289209.0956e","template":"{\n \"data\": {\n \"attachment\": {\n \"content-type\": \"jpg\",\n \"hide-thumbnail\": false,\n \"url\": \"{{payload}}\"\n }\n },\n \"message\": \"Motion Detected at the Front Door\"\n}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":1360,"y":680,"wires":[["18b0f44c.dfbd7c","e1389635.bf5408"]]},{"id":"db0b6f8c.c161f","type":"arlo-config","z":"","name":"Arlo"},{"id":"8a289209.0956e","type":"server","z":"","name":"Home Assistant"}]