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 →
{
"name": "Chat Agent - Lume's Everywhere",
"nodes": [
{
"parameters": {
"path": "chat-webhook",
"httpMethod": "POST",
"responseMode": "responseNode",
"options": {}
},
"id": "e7b3c1a4-5d8f-4a2b-9c6e-1f3d8b7a0c2e",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"position": [
-400,
300
],
"typeVersion": 1
},
{
"parameters": {
"model": {
"__rl": true,
"value": "deepseek-v4-pro",
"mode": "list",
"cachedResultName": "DEEPSEEK-V4-PRO"
},
"options": {}
},
"id": "a9c8e6f4-2d1b-4e7a-8c3f-5b0d9a1e6c4f",
"name": "DeepSeek Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
16,
600
],
"typeVersion": 1.2,
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.message || 'Halo' }}",
"hasOutputParser": true,
"options": {
"systemMessage": "Kamu adalah asisten ramah untuk Lume's Everywhere \u2014 aplikasi POS kuliner. Jawab pertanyaan casual, bantu brainstorming ide bisnis, resep, atau sekedar ngobrol santai. Jawab dalam Bahasa Indonesia yang santai dan hangat. Maks 500 karakter. Jika ditanya teknis tentang sistem, arahkan ke CTO Agent atau Business Assistant.",
"maxIterations": 2
}
},
"id": "f4e3d2c1-0b9a-4e7f-8d6c-5b4a3e2f1d0c",
"name": "Chat Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
176,
300
],
"typeVersion": 3.1,
"alwaysOutputData": false
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify({ reply: $json.output || $json.message || 'Tidak ada jawaban' }) }}"
},
"id": "b2a1c3d5-e7f9-4a6b-8c0d-2e4f6a8b0c1e",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
496,
300
],
"typeVersion": 1
}
],
"connections": {
"Webhook Trigger": {
"main": [
[
{
"node": "Chat Agent",
"type": "main",
"index": 0
}
]
]
},
"DeepSeek Chat Model": {
"ai_languageModel": [
[
{
"node": "Chat Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Chat Agent": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1",
"binaryMode": "separate",
"availableInMCP": false
},
"versionId": "v1-chat-agent",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "CHAT-AGENT-LUMES",
"tags": [
{
"name": "chat",
"color": "#8B5CF6"
},
{
"name": "production",
"color": "#00B341"
}
]
}
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.
openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Chat Agent - Lume's Everywhere. Uses lmChatOpenAi, agent. Webhook trigger; 4 nodes.
Source: https://github.com/hamdallah24/lumespos/blob/fd1e2ad4bcfd505dc70c11528d1cc310bd65401c/n8n-workflows/7-Chat-Agent.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.
jarvis. Uses agent, lmChatOpenAi, outputParserStructured, toolWorkflow. Webhook trigger; 13 nodes.
This template is ideal for: Businesses that want to provide 24/7 automated voice-based customer support Service providers needing to schedule appointments via voice interaction Teams looking to handle
Description: This n8n workflow automates a Discord bot to fetch messages from a specified channel and send AI-generated responses in threads. It ensures smooth message processing and interaction, maki
AI chatbot for appointment scheduling. Uses memoryBufferWindow, lmChatOpenAi, toolWorkflow, chatTrigger. Webhook trigger; 12 nodes.
💥 Build a Customer Support AI Voice Agent with GPT-5 and ElevenLabs _ VIDE. Uses agent, toolThink, lmChatOpenAi, googleSheetsTool. Webhook trigger; 12 nodes.