Connecting Your AI Chatbot to n8n
n8n is an open-source, self-hostable automation tool — the closest equivalent to Make.com but without per-operation billing once it’s running on your own server. It’s the better fit if you expect high message volume, want full data control, or are already comfortable with light server administration.
What You’ll Need
- An n8n instance (self-hosted via Docker/VPS, or n8n Cloud if you don’t want to manage a server)
- Your chatbot platform’s webhook/HTTP action capability
- Credentials for your destination app (CRM, spreadsheet, email tool)
Step-by-Step Setup
- Stand up n8n: the fastest path is n8n Cloud (hosted for you); for a fully self-hosted setup, deploy the official Docker image on a small VPS.
- Create a new Workflow and add a Webhook node as the trigger. Set it to “POST” and copy the generated URL.
- In your chatbot platform, add an HTTP request/webhook action on your flow’s completion node and paste in the n8n webhook URL.
- Send a test message through the bot, then click “Listen for test event” in n8n to capture the incoming data structure.
- Add processing nodes as needed — a “Set” node to reshape fields, an “IF” node to branch by intent, and an app-specific node (HubSpot, Google Sheets, Brevo) to send the data onward.
- Activate the workflow (the toggle in the top right) so it runs continuously, not just during testing.
- Test end-to-end with a real conversation and confirm data lands correctly downstream.
Common Workflow Examples
- Lead capture → CRM: Webhook → Set node (clean fields) → HubSpot “Create Contact” node.
- Order status → WooCommerce: Webhook receives order number → HTTP Request node calls the WooCommerce REST API → response is formatted and returned to the chatbot.
- Multi-channel logging: Webhook → Google Sheets node (append row) → Slack node (notify team) — all from a single incoming chatbot event.
Self-Hosting Considerations
- You are responsible for uptime, backups, and security updates on a self-hosted instance — factor this into your total cost comparison.
- n8n Cloud removes the server-management burden while keeping n8n’s lower per-execution cost compared to Make at high volume.
- Use n8n’s built-in credential storage (never hard-code API keys into HTTP Request nodes).
Troubleshooting
- Webhook times out: ensure your chatbot platform isn’t waiting on a synchronous response n8n doesn’t return quickly enough — use n8n’s “Respond to Webhook” node explicitly if the bot expects a reply.
- Workflow not triggering: confirm the workflow is “Active”, not just saved.
Not sure whether Make or n8n fits your situation? Read our side-by-side comparison.
Two ways to get your chatbot live
Follow the guide yourself, or skip the setup entirely and have it done for you.