Overview
n8n suits teams that want full control over what happens to a conversation. Each chat that ends starts your workflow with everything from it — the visitor's name, email and phone, the topic, an AI summary, the page, the full transcript and the questions the agent couldn't answer.
Run n8n on your own server or in n8n Cloud. Branch on any field, call your internal APIs, score the lead with your own rules and write the result to your database — the chat lands in a workflow you own from the first step.
What you can do
These are the jobs the integration is built for.
Score leads with your own rules
Check the topic and summary against your rules, then send only qualified leads to sales, with a priority already set.

Store chats in your own database
Write each finished chat to your own tables — topic, duration, source page, transcript — and keep the history where your other data lives.

Escalate urgent chats
Branch on the topic: a chat about an outage or a claim goes straight to whoever is on call, with the summary and a link to the chat.

Set up
The connection starts in your AI Chatbot widget, which gives you a key, and finishes in n8n. Chat data goes out when a conversation ends.
- Open your AI Chatbot widget, go to Integrations, choose n8n and connect it.
- Copy the key it shows — you can come back to Integrations for it later.
- In n8n, pick a template or create a workflow with the Elfsight AI Chatbot trigger, paste the key when you connect your account, then activate the workflow.
Connected apps and their status are listed in Integrations in your widget, where you can disconnect access at any time.
Requirements
- An AI Chatbot widget published on your site.
- n8n Cloud, or a self-hosted n8n reachable from the internet over HTTPS on its own domain.
What gets sent
What the integration passes on.
Name, email and phone, if the visitor left them
The visitor's consent, if you ask for it: the text and when it was given
Chat topic and an AI summary of the conversation
The page the chat started on
When the chat started and how long it lasted
The full transcript: who said what and when, with files the visitor attached
Questions the agent couldn't answer in this chat
Links to the chat and to unanswered questions in your dashboard
If nothing arrives
- Check that n8n is reachable. A self-hosted n8n needs an HTTPS address on a public domain; one that only works inside your network can't receive chats.
- One workflow per key. A key starts one workflow. For a second workflow, connect n8n again in your widget and use the new key.
- Wait for the chat to end. A chat is sent when it ends: the visitor ends it, or nobody writes for a while (10 minutes by default). Check also that the workflow is active and the n8n integration is on in your widget.
How businesses use it
The same connection, set up for different kinds of business.
- SaaS & softwareLeads are scored against the team's own rules, and urgent support chats reach whoever is on call.
- Online storesEvery chat lands in the store's own database next to orders, for reporting the team controls.