Multi-LLM customer support chatbot for WordPress & webhook integrations
Needs changesWhat this workflow does
This AI workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Google Gemini Chat Model, Anthropic Chat Model and OpenRouter Chat Model and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Convert Chat Text (Edit Fields (Set)): sets 1 field: chatInput
- Forerunner™ AI Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 1 tool (Think); memory: Simple Memory
- End Conversation? (If): checks a condition and branches into true / false
- Yes - End (Edit Fields (Set)): sets 2 fields: reply, endOfConversation
- No - Continue (Edit Fields (Set)): sets or maps fields
- Send Chat to Client (Respond to Webhook): sends the response back to the webhook caller
- OpenAI Chat Model: uses OpenAI Chat Model
- Google Gemini Chat Model: uses Google Gemini Chat Model
- Anthropic Chat Model: uses Anthropic Chat Model
- xAI Grok Chat Model: uses xAI Grok Chat Model
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Forerunner™ AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Forerunner™ AI Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - xAI Grok Chat Model
@n8n/n8n-nodes-langchain.lmChatXAiGrok
From the author
AI Chat Bot workflow for WordPress & Webhook Live Chats This workflow powers a versatile AI chatbot that can be integrated into any live chat interface, such as our free Forerunner™ AI Chat Bot for WordPress. It's designed to automate customer support and…