Open the Space dropdown, by clicking on the Space name in the top left corner, and click Settings. Select Integrations in the sidebar.
On the Slack row, click Setup to begin setting up the integration.
Click Add to Slack. You will then be redirected to the Slack authorization page. Here, select the channel you wish to post to and click Authorize.
- Go to the Flows and click Create Flow.
- Enter a name for your Flow. I'm going to call mine Post To Slack When Temperature Received.
- You will then be redirected to the Flow Studio.
- In the Flow Studio, drag over an Event trigger node from the panel on the left.
- Select the node, enter temperature as the name of the Event in the panel on the right and click Update.
- Drag over a Message output node from the Slack section in the panel on the left.
- Select the node, then on the panel on the right, enter Temperature is
${event.data}
as the Message Text.
- Click Update to save your changes.
- Click on the white circle shape at the bottom of the Event node and drag the line to the input of the Output node.
- Go to Devices and select the Device your would like to add the Flow to.
- Click on Flows in the subnav then click on Enable beside the Flow.
Publish an Event from your Device and you will see a message come through to your Slack channel.
That's all folks!
P.S. If you need any help with getting setup, tweet us or email support@wia.io
ReferencesSlack They are building the platform that connects teams with the apps, services, and resources they need to get work done. Launched in 2014, Slack is the fastest growing business application in history. Millions of people around the world use Slack to bring their teams together, make sense of their work, and drive their business forward.
Comments
Please log in or sign up to comment.