The first step is to make a feed that the device will write to.
Navigate to the Feeds tab and click New Feed. In this screenshot, I'm creating it in a group I made for this guide, but it's probably easier to just create it in the Default group.
Now that you've made the feed, go to the Actions tab and press New Action.
Then, enter a Name and Description, which you will see in the Actions list, helping you to understand the action's purpose in the future. In addition the Actions list has a search box, allowing you to easily find them once you have dozens of Actions in the list.
To demonstrate why descriptions are useful, I've returned to the Actions list page, where you can see that I called the Action Discord Plant Action
and included the description Sends a message to Discord when the plant is thirsty
.
The 2nd image shows some rather unhelpfully named actions in my non-demo account, with no descriptions, which is really painful to return to in the future!
Obviously this Action should be for Slack not Discord! You can change an Action's name and description by using the Settings button while editing an Action.
You will have been forwarded to the newly created Action page, which you can revisit in future by clicking on the Action name from the Actions List, or use the checkbox to select the action in the list then use the Edit button.
All Actions need a trigger block, located under the Triggers category of the toolbox / sidebar. Open the Triggers category of the toolbox, then click and drag the one that includes the phrase When FEED_X gets data that STARTS matching = 0
from the sidebar onto the main diagram, and place it into the Triggers: section of the diagram.
Then, select your feed in the dropdown of the trigger block just placed on the diagram. If you only have one feed then it will be selected already.
Click the dropdown for Starts
just to have a quick look at the alternative options, and you can hover a mouse over the block to see the tooltip help message.
Leaving the Starts option as-is, move on to the Operator dropdown which defaults to Equals (=
), and change that to be Greater than or equal to (≥
).
Finally, in the text box at the end of the block, write the moisture value you want it to notify you at. I used 500, but that was really just a guess. My advice would be to wait until you normally would water your plants and then get the moisture value at that time.
Now for the output of the Action, setting up the Slack webhook. It's as simple as dropping the Webhook block onto the diagram followed by a small bit of configuration.
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.
Your Action should now look like the image below. Assuming it does, save your Action using the Save button.
Page last edited May 28, 2025
Text editor powered by tinymce.