Skip to content
ZeeGrowth logozeegrowth
AI agentsFree

AI Customer Support Agent — Free n8n Workflow Template

This workflow powers a customer-facing chat widget on your website. When a visitor asks a question, the AI agent searches your knowledge base (FAQ docs, help articles, product info), generates a helpful answer, and responds in real time. Complex questions get escalated to your team on Slack.

Free

Instant download · No signup · MIT license

Download JSON

Workflow nodes

WebhookAI AgentOpenAI Chat ModelVector Store ToolHTTP Request (escalation)SlackGoogle SheetsSetSticky Note

Apps used

Setup guide

Requirements

  • An n8n instance (Cloud or self-hosted, v1.x+)
  • OpenAI API key
  • Your knowledge base documents (PDF, Markdown or text)
  • A chat widget on your website (e.g. n8n's chat widget or any webhook-compatible chat)

Credentials

AppTypeWhere to get it
OpenAIAPI keyplatform.openai.com → API keys
  1. 1

    Import the workflow

    Download and import the JSON into n8n.

  2. 2

    Upload your knowledge base

    Run the included sub-workflow to index your FAQ, help docs and product pages into the vector store.

  3. 3

    Connect OpenAI

    Add your API key to the OpenAI Chat Model node.

  4. 4

    Set up the chat widget

    Add n8n's chat widget embed code to your website, pointing to this workflow's Webhook URL.

  5. 5

    Configure escalation rules

    Set up the IF node to escalate when the AI isn't confident (low similarity score) or when the user requests human help.

  6. 6

    Test conversations

    Ask several test questions and verify answers are accurate before going live.

Frequently asked questions

What knowledge formats does it support?+

Plain text, Markdown, PDF and HTML. Upload your docs to n8n's built-in vector store or connect Pinecone or Supabase.

Can it handle multiple languages?+

Yes. OpenAI's models support dozens of languages. The agent responds in the same language the customer uses.

What happens when the AI doesn't know the answer?+

It tells the customer it's connecting them with a human and sends the conversation to your Slack channel or email.

Is conversation history maintained?+

Yes. The workflow stores conversation context in memory for the duration of each session.

Related templates

Want us to set it up for you?

We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.

Get setup help

Free n8n automations that grow your business.