Delivery Channels5 min

SlackBotToken

Send messages with Block Kit formatting to Slack channels via a bot token.

Send messages with Block Kit formatting to Slack channels via a bot token.

Quick Setup

  1. Go to api.slack.com/apps and click Create New App > From Scratch
  2. Under OAuth & Permissions, add the chat:write bot token scope
  3. Click Install to Workspace and authorize
  4. Copy the Bot User OAuth Token (starts with xoxb-...)
  5. Invite the bot to your target channel: /invite @YourBotName

Configuration Notes

  • The bot must be invited to the target channel before it can post.
  • In n8n's Slack node v2.2, use messageType: "block" with blocksUi for Block Kit formatting. Using messageType: "text" with blocks in otherOptions does not render blocks.
  • blocksUi expects a JSON string wrapped as {"blocks": [...]}.
  • Set includeLinkToWorkflow: false in otherOptions to suppress the n8n branding footer.