Send messages with Block Kit formatting to Slack channels via a bot token.
Quick Setup
- Go to api.slack.com/apps and click Create New App > From Scratch
- Under OAuth & Permissions, add the
chat:writebot token scope - Click Install to Workspace and authorize
- Copy the Bot User OAuth Token (starts with
xoxb-...) - 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"withblocksUifor Block Kit formatting. UsingmessageType: "text"with blocks inotherOptionsdoes not render blocks. blocksUiexpects a JSON string wrapped as{"blocks": [...]}.- Set
includeLinkToWorkflow: falseinotherOptionsto suppress the n8n branding footer.