Skip to main content
Slack tools allow you to interact with the Slack messaging platform. It provides functionalities for posting messages, posting Block Kit messages, and reading thread replies.
  • SLACK_POST_MESSAGE
    • Send messages to users or channels
  • SLACK_POST_BLOCKS_MESSAGE
    • Post rich messages to channels using the Block Kit format (sections, headers, images, dividers, actions, etc.)
  • SLACK_GET_CONVERSATION_REPLIES
    • Retrieve replies to a specific thread in a channel

Connect a Slack app

To use the Slack tools, you to create a Slack App and obtain a Bot User OAuth Access Token. You can create a Slack App and get the token from the Slack API website. Follow the instructions in the developer documentation to set up your app and get the token.
For detailed setup instructions on configuring Slack credentials, see the Slack Credentials page.
Treat API keys as sensitive information and never commit them to public repositories.

Post a Slack message and read thread replies

Post a Block Kit message

SLACK_POST_BLOCKS_MESSAGE accepts a blocks array (up to 50 block objects, each with a type property), a fallback text shown in notifications and clients that do not support Block Kit, a channel, and an optional thread_ts to reply in a thread.