Adafruit IO Setup — image 1 of 1

details

From the Notifications category in the toolbox, select the Webhook block and drag it into the Actions: section of the diagram.

Paste the slack webhook URL, copied in an earlier step, into the URL: text box.

Leave the checkbox for Form Encode unchecked to send as JSON data.

Copy and paste this template body into the paragraph block (nested in a template block which is the POST Body: of the webhook):
{"text": "Water your plant!"}

If you want it to do more fancy message things in Slack, then take a look at the Slack documentation.

Back

Search