Tutorials · 8/20/2025 · 5 min
Build a Slack Bot with n8n in 15 Minutes
By WorkflowHubs Editorial
Prerequisites
- Slack workspace + Bot token with chat:write and channels:history
- n8n account/self-hosted instance
Steps
- Create Slack App, enable necessary scopes, install to workspace.
- In n8n, configure Slack credentials with the Bot token.
- Add a Slack Trigger (events) or Poll node for channel messages.
- Filter messages and route with Switch/If nodes.
- Reply using Slack > Post Message. Deploy the workflow.
Enhance with slash commands, OpenAI nodes, or persistence for conversation threads.
Security: store tokens as credentials; avoid hardcoding secrets.