n8n
+
Slack
How to Connect n8n with Slack — and What You Can Automate
n8n's Slack integration lets you send real-time alerts, build AI-powered chatbots, post automated summaries, and wire your entire workflow into your team's Slack workspace — no code required.
What this integration enables
Five things you can automate with n8n + Slack
Real-time lead alerts
Get an instant Slack message whenever a new lead fills in a form, books a call, or reaches a score threshold in your CRM.
AI agent responses in Slack
Route user messages to an n8n AI Agent (powered by OpenAI) and post the response back to the same Slack thread automatically.
Automated daily summaries
Schedule a workflow that pulls metrics from Google Sheets, HubSpot or Airtable and posts a formatted daily digest to #team-metrics.
Error & monitoring alerts
Catch workflow failures or API errors in n8n and immediately ping the right Slack channel with error details and context.
Slack-triggered workflows
Use Slack slash commands or message events as triggers to kick off backend automations — approvals, data lookups, or report generation.
Task & ticket notifications
Post to Slack when new Notion tasks, GitHub issues, or support tickets are created, updated, or escalated.
Step-by-step setup
Setting Up n8n + Slack
1
Connect your Slack credentials
In n8n, navigate to Settings → Credentials → New and search for Slack. Select OAuth2 authentication. You'll be redirected to Slack to authorize n8n — choose your workspace and grant the required permissions (channels:write, chat:write, users:read). Once authorized, the credential is saved and reusable across all your workflows.
2
Configure your trigger node
Add a trigger to define when your workflow runs. Common triggers include: Webhook (for form submissions), Schedule (for recurring digests), Slack Trigger (for message events or slash commands), or any other app node like HubSpot or Gmail. Connect your trigger credentials if required.
3
Add and configure the Slack node
Add a Slack node after your trigger. Set the resource to Message and the operation to Send. Select your saved credential, choose a channel (or use a dynamic expression like
{{ $json.channel }}), and compose your message using n8n's expression editor to embed dynamic data.Message text example:
🔔 New lead: {{ $json.name }} ({{ $json.email }})
Score: {{ $json.lead_score }} — Source: {{ $json.source }}
🔔 New lead: {{ $json.name }} ({{ $json.email }})
Score: {{ $json.lead_score }} — Source: {{ $json.source }}
4
Test and activate your workflow
Click Test workflow in n8n to execute a live run. Verify the message appears in your Slack channel with the correct data. Check formatting, fix any expression errors, then toggle the workflow to Active. n8n will now run it automatically based on your trigger.
What we build with this integration
Real workflows Xelionlabs has delivered
Workflow 01
AI Sales Lead Alert System
Inbound leads from Typeform trigger an n8n workflow that enriches the lead with Clearbit, scores them via GPT-4o, and posts a rich Slack message to #sales with the score, company info, and a one-click HubSpot link.
Workflow 02
GPT-Powered Slack Support Bot
Customer messages in a Slack support channel trigger n8n via Slack's Events API. An AI Agent with memory (Pinecone vector store) generates contextual responses and posts them back as thread replies — handling 80% of queries autonomously.
Workflow 03
Daily Operations Digest
Every morning at 8 AM, n8n pulls KPIs from Google Sheets, Stripe and HubSpot, asks GPT to write a plain-English summary, and posts the formatted digest to #leadership — replacing a 30-minute manual reporting task.
FAQ
n8n + Slack — Common Questions
Can n8n send messages to Slack?
Yes. n8n has a native Slack node that can send messages, post to channels, create threads, upload files, and interact with users — all without writing code. You simply connect your Slack credential and configure the message in a visual interface.
How do I connect n8n to Slack?
Go to n8n Credentials, add a new Slack credential, and authorize it via OAuth2. Your Slack workspace will then be available in any Slack node in your workflows. The process takes under 5 minutes for a basic setup.
Can I build a Slack AI chatbot with n8n?
Yes. You can use n8n's AI Agent node (powered by OpenAI GPT-4o or other LLMs) and connect it to Slack's Event API to create a fully conversational AI bot in any Slack channel. The bot can have memory, use tools, and access external data sources.
Does n8n Slack integration require a developer?
Basic notification workflows require no coding at all — just drag, drop, and connect. Advanced setups like an AI chatbot with persistent memory, tool-calling, and custom Slack app configuration benefit from expert guidance, which is exactly what Xelionlabs specializes in.
Custom Builds
Want a custom n8n + Slack workflow built for you?
Tell us your use case and we'll scope, build and deploy a production-ready automation — typically within a week.
Get in Touch →Related integrations