Boxcar Push Notification to iOS
A simple flow to demonstrate push notifications to iOS through the Boxcar (http://boxcar.io) platform for your own alerting and monitoring.
Register for a free account with Boxcar and replace the YOURKEYHERE text in the "Make Payload" function node with the access token that is created for you.
Reference: http://help.boxcar.io/knowledgebase/articles/306788-how-to-send-a-notification-to-boxcar-users
[{"id":"3a68cc56.835764","type":"inject","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":231,"y":189,"z":"e6a6541e.85e04","wires":[["f9a123e9.1b11"]]},{"id":"8ee8f5ed.6f66d","type":"http request","name":"Boxcar.io","method":"POST","url":"https://new.boxcar.io/api/notifications","x":929,"y":188,"z":"e6a6541e.85e04","wires":[["57f10a9.6c850f4"]]},{"id":"f9a123e9.1b11","type":"function","name":"Make Payload","func":"msg = {\n\t\t\t\tAPI_KEY:\"YOURKEYHERE\",\n\t\t\t\ttitle:encodeURIComponent(\"Node-RED Notification\"),\n\t\t\t\tmessage:encodeURIComponent(\"My long message here, \\\"£$%^&\"),\n\t\t\t\tsound:\"bell-one-tone\"\n\t\t\t}\nreturn msg;","outputs":1,"x":383,"y":187,"z":"e6a6541e.85e04","wires":[["4c2782fd.554054"]]},{"id":"57f10a9.6c850f4","type":"debug","name":"","active":true,"console":"false","complete":"false","x":1071,"y":328,"z":"e6a6541e.85e04","wires":[]},{"id":"4c2782fd.554054","type":"template","name":"Apply Template","field":"payload","template":"user_credentials={{API_KEY}}¬ification[title]={{title}}¬ification[long_message]={{message}}¬ification[sound]={{sound}}","x":578,"y":191,"z":"e6a6541e.85e04","wires":[["af58cd7d.0be498"]]},{"id":"af58cd7d.0be498","type":"function","name":"Make Header","func":"msg.headers = {\n 'Content-Type' : 'application/x-www-form-urlencoded'\n}\nreturn msg;","outputs":1,"x":772,"y":191,"z":"e6a6541e.85e04","wires":[["8ee8f5ed.6f66d"]]}]