The Slack Post Message Action Component is to post a message to Slack using the Slack API. It can be useful to debug Actions or notifying people. It can be used for sending messages to #channels as well as @people .

Component Properties

Name Required Description
Channel True The #channel or user you like to post your message to. If you like to include sensor data, wrap the text into double quotes and append it with the sensor data. For example: “The temperature is “tv.Data” degrees Celsius”@
Text True The text you like to send
Timeout True Timeout in
Slack Token False Slack Token from the Base Property Profile
Token True Your Slack Token, if not loaded from the Base Property Profile

Use the base Base Property Profile property to read the values such as the token from the settings rather than specifying the details within the component.

Apps on Slack

First you will need to create an app on Slack in order to interact with your workspace. You can follow the instructions here to create your Slack app:

You will need to:

  • Create an App on Slack
  • Add the chat:write (or any other scope you like to use) to “Scopes” under “OAuth & Permissions” in the Features menu.
  • Hit the “Install App to Workspace” button in “OAuth Tokens & Redirect URLs”
  • Add the app to the channel you like it to post to

For more complex scopes and permissions, please refer to the Slack Documentation.

Need more help with this?
Join our slack community for help

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.