This workflow follows the Agent → OpenAI Chat recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "wf-2001",
"name": "AI Support Chatbot",
"nodes": [
{
"id": "c3d4e5f6-0001-0001-0001-000000000001",
"name": "Chat Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
100,
300
],
"parameters": {
"httpMethod": "POST",
"path": "chat",
"responseMode": "lastNode"
}
},
{
"id": "c3d4e5f6-0002-0002-0002-000000000002",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1,
"position": [
400,
300
],
"parameters": {
"options": {
"systemMessage": "You are a helpful customer support agent for Acme Corp. Answer questions about our products, pricing, and policies. Be concise and friendly."
}
}
},
{
"id": "c3d4e5f6-0003-0003-0003-000000000003",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1,
"position": [
200,
500
],
"parameters": {
"model": "gpt-4o",
"options": {
"temperature": 0.3,
"maxTokens": 1024
}
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"id": "c3d4e5f6-0004-0004-0004-000000000004",
"name": "Window Buffer Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1,
"position": [
400,
500
],
"parameters": {
"sessionKey": "={{ $json.sessionId }}",
"contextWindowLength": 10
}
},
{
"id": "c3d4e5f6-0005-0005-0005-000000000005",
"name": "FAQ Lookup Tool",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"typeVersion": 1,
"position": [
600,
500
],
"parameters": {
"name": "faq_lookup",
"description": "Search the Acme Corp FAQ database. Input should be a search query string.",
"method": "GET",
"url": "https://api.acme.com/faq/search",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "q",
"value": "={query}"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"id": "c3d4e5f6-0006-0006-0006-000000000006",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
700,
300
],
"parameters": {
"respondWith": "json",
"responseBody": "={{ { \"reply\": $json.output, \"sessionId\": $json.sessionId } }}"
}
}
],
"connections": {
"Chat Trigger": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"FAQ Lookup Tool": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"tags": [
{
"id": "tag-ai",
"name": "ai"
},
{
"id": "tag-support",
"name": "support"
}
],
"versionId": "v-2001-7"
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpHeaderAuthopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Support Chatbot. Uses agent, lmChatOpenAi, memoryBufferWindow, toolHttpRequest. Webhook trigger; 6 nodes.
Source: https://github.com/just-claw-it/n8n-to-claw/blob/main/test-fixtures/ai-support-chatbot.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Lead capture agent Hubspot. Uses agent, toolHttpRequest, lmChatOpenAi, memoryBufferWindow. Webhook trigger; 6 nodes.
L&D_AgentsAI_ATIVO. Uses httpRequest, agent, googleCalendarTool, toolSerpApi. Webhook trigger; 93 nodes.
🧠 Gwen – The AI Voice Marketing Agent Gwen is your intelligent voice-powered marketing assistant built in n8n. She combines the power of OpenAI, ElevenLabs, and automation workflows to handle content
Whatsapp Lead Agent. Uses httpRequest, hunter, @tavily/n8n-nodes-tavily, @mendable/n8n-nodes-firecrawl. Webhook trigger; 35 nodes.
Respondtowebhook Stickynote. Uses lmChatOpenAi, respondToWebhook, toolWorkflow, chatTrigger. Webhook trigger; 28 nodes.