This workflow corresponds to n8n.io template #6396 — we link there as the canonical source.
This workflow follows the Agent → OpenRouter 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": "TBvLMoXcyfXr0I3D",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "aiexcelformularbot copy",
"tags": [],
"nodes": [
{
"id": "efe0798f-0ae5-4815-bbad-dd86c7eddf04",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-500,
40
],
"parameters": {},
"typeVersion": 2
},
{
"id": "7176b4d2-1dbc-46d2-b6ef-4827b712cb8d",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
740,
20
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "c33ae905-20e8-4697-83f9-af47335e413a",
"name": "OpenRouter Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
-60,
-160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1cd47f62-bf48-4335-9d4c-df66eb30450b",
"name": "Detect Intent",
"type": "n8n-nodes-base.set",
"position": [
-280,
40
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4c5aecf2-2058-4efc-b551-4ec360994615",
"name": "Intent Switch",
"type": "n8n-nodes-base.switch",
"position": [
-60,
40
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "9151553c-5fa6-4667-8e04-47b8c80779bb",
"name": "Generate Formula",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
160,
-100
],
"parameters": {},
"typeVersion": 2
},
{
"id": "2b905f82-a78b-4c57-a905-dcb4e16391e9",
"name": "Explain Formula",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
160,
120
],
"parameters": {},
"typeVersion": 2
},
{
"id": "3d66f914-aa61-4a2a-abae-bfedb88ae685",
"name": "OpenRouter Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
-20,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5d63edd7-24c0-4603-8d6c-3fa7764633f9",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
540,
20
],
"parameters": {},
"typeVersion": 2
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "3c65c7f3-aeee-43ad-8bb6-de3b6b7199f5",
"connections": {
"Code": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Detect Intent",
"type": "main",
"index": 0
}
]
]
},
"Detect Intent": {
"main": [
[
{
"node": "Intent Switch",
"type": "main",
"index": 0
}
]
]
},
"Intent Switch": {
"main": [
[
{
"node": "Generate Formula",
"type": "main",
"index": 0
}
],
[
{
"node": "Explain Formula",
"type": "main",
"index": 0
}
]
]
},
"Explain Formula": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Generate Formula": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"OpenRouter Chat Model": {
"ai_languageModel": [
[
{
"node": "Generate Formula",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenRouter Chat Model1": {
"ai_languageModel": [
[
{
"node": "Explain Formula",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Description
Source: https://n8n.io/workflows/6396/ — 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.
🧪 LABR - nuevo asistente (REPARADO). Uses httpRequest, postgres, postgresTool, toolCalculator. Webhook trigger; 63 nodes.
leads. Uses supabase, gmail, formTrigger, httpRequest. Webhook trigger; 62 nodes.
Brokeria-v20. Uses n8n-nodes-waha, httpRequest, redis, googleGemini. Webhook trigger; 56 nodes.
Brokeria-v15. Uses n8n-nodes-waha, httpRequest, postgres, redis. Webhook trigger; 55 nodes.
Transform your WhatsApp group conversations into actionable business intelligence through automated AI analysis and daily reporting. This workflow eliminates manual conversation monitoring by capturin