The Slack component allows you to send messages, notifications, and alerts to Slack channels or users directly from your integration flows.
URI Syntax: slack:channel
Path parameters
Name | Description | Default | Type |
|---|---|---|---|
channel (common) | (required) The channel name (#name syntax) or slack user (userName syntax) to send a message directly to a user. | — | String |
Query parameters
Name | Description | Default | Type |
|---|---|---|---|
token (common) | The token to access Slack. This app needs to have the permissions channels:history, groups:history, im:history, mpim:history, channels:read, groups:read, im:read and mpim:read. The type of token needed is the User OAuth Token. | — | String |
NOTEIt is necessary to register an app on Slack with the appropriate permissions, as described in the component documentation. In addition, the bot must be added to the desired channels so that messages are sent correctly.
The flow below sends a message to a private Slack channel with bot-type authentication.
The flow starts with a GET request to the /slack endpoint.
Then, it sets the message body to "POC Slack" (using setBody with constant value).
Finally, it sends to Slack channel:
#notifications-hubspot-sync (private channel name)PRIVATE_CHANNEL (private channel, not public)xoxb-547812-7840-JdgvOgeCWG)toD (to dynamic) to build the URI dynamically.IMPORTANT
- The bot needs to have appropriate permissions.
- The bot must be added to the
#notifications-hubspot-syncchannel.- Use the channel name (not the ID) to avoid errors.

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more