Tutorials · 8/20/2025 · 5 min

Build a Slack Bot with n8n in 15 Minutes

By WorkflowHubs Editorial
Build a Slack Bot with n8n in 15 Minutes

Prerequisites

  • Slack workspace + Bot token with chat:write and channels:history
  • n8n account/self-hosted instance

Steps

  1. Create Slack App, enable necessary scopes, install to workspace.
  2. In n8n, configure Slack credentials with the Bot token.
  3. Add a Slack Trigger (events) or Poll node for channel messages.
  4. Filter messages and route with Switch/If nodes.
  5. 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.

Sources