This workflow follows the Chainllm → HTTP Request 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": "Nexus Omnichannel Router V5.1 (Refined) - Audit Mode",
"active": true,
"settings": {},
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "nexus-router",
"responseMode": "lastNode",
"options": {}
},
"id": "webhook-trigger",
"name": "User Input (Dash)",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-150,
400
]
},
{
"parameters": {
"path": "nexus-telegram",
"options": {}
},
"id": "telegram-trigger",
"name": "Telegram Input",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-150,
550
]
},
{
"parameters": {
"path": "nexus-discord",
"options": {}
},
"id": "discord-trigger",
"name": "Discord Input",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-150,
700
]
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.body.prompt || $json.body.message.text || $json.body.content }}",
"options": {
"systemMessage": "You are the Nexus Brain Router. Categorize the user request. Respond with ONLY ONE WORD from this list: diagnostic, fix, swarm, image, video, homework. No punctuation or sentences."
}
},
"id": "llm-chain",
"name": "Router Brain",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.4,
"position": [
150,
400
]
},
{
"parameters": {
"model": "qwen3:8b",
"options": {}
},
"id": "ollama-model",
"name": "Ollama Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"typeVersion": 1,
"position": [
100,
600
]
},
{
"parameters": {
"mode": "rules",
"rules": {
"values": [
{
"conditions": {
"conditions": [
{
"leftValue": "={{ $json.text }}",
"rightValue": "diagnostic",
"operator": {
"type": "string",
"operation": "contains"
}
}
]
},
"renameOutput": true,
"outputKey": "diagnostic"
},
{
"conditions": {
"conditions": [
{
"leftValue": "={{ $json.text }}",
"rightValue": "fix",
"operator": {
"type": "string",
"operation": "contains"
}
}
]
},
"renameOutput": true,
"outputKey": "fix"
},
{
"conditions": {
"conditions": [
{
"leftValue": "={{ $json.text }}",
"rightValue": "swarm",
"operator": {
"type": "string",
"operation": "contains"
}
}
]
},
"renameOutput": true,
"outputKey": "swarm"
},
{
"conditions": {
"conditions": [
{
"leftValue": "={{ $json.text }}",
"rightValue": "image",
"operator": {
"type": "string",
"operation": "contains"
}
}
]
},
"renameOutput": true,
"outputKey": "image"
},
{
"conditions": {
"conditions": [
{
"leftValue": "={{ $json.text }}",
"rightValue": "video",
"operator": {
"type": "string",
"operation": "contains"
}
}
]
},
"renameOutput": true,
"outputKey": "video"
},
{
"conditions": {
"conditions": [
{
"leftValue": "={{ $json.text }}",
"rightValue": "homework",
"operator": {
"type": "string",
"operation": "contains"
}
}
]
},
"renameOutput": true,
"outputKey": "homework"
}
]
}
},
"id": "route-switch",
"name": "Route Switch",
"type": "n8n-nodes-base.switch",
"typeVersion": 3,
"position": [
400,
400
]
},
{
"parameters": {
"method": "POST",
"url": "http://nexus-console:8080/tickets",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "source",
"value": "n8n-router"
},
{
"name": "severity",
"value": "info"
},
{
"name": "description",
"value": "=Audit Log: {{ $node[\"Router Brain\"].json.text }} | Request: {{ $node[\"User Input (Dash)\"].json.body.prompt || $node[\"Telegram Input\"].json.body.message.text || $node[\"Discord Input\"].json.body.content }}"
}
]
},
"options": {}
},
"id": "create-ticket",
"name": "Dashboard Ticket",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
650,
400
],
"onError": "continueErrorOutput"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": false,
"leftValue": "",
"typeValidation": "loose"
},
"conditions": [
{
"leftValue": "={{ $env.TELEGRAM_TOKEN }}",
"operator": {
"type": "string",
"operation": "exists"
}
}
]
}
},
"id": "check-tg-setup",
"name": "TG Setup?",
"type": "n8n-nodes-base.filter",
"typeVersion": 2,
"position": [
850,
550
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.telegram.org/bot{{$env.TELEGRAM_TOKEN}}/sendMessage",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "={{$env.TELEGRAM_CHAT_ID}}"
},
{
"name": "text",
"value": "=\ud83d\udea8 FAILOVER ALERT: Dashboard/Backend Unreachable!\nRequest: {{ $node[\"Router Brain\"].json.text }}"
}
]
}
},
"id": "tg-alert",
"name": "Telegram Alert",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1050,
500
]
},
{
"parameters": {
"method": "POST",
"url": "http://nexus-console:8080/ask_adk_swarm",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "task",
"value": "={{ $node[\"User Input (Dash)\"].json.body.prompt || $node[\"Telegram Input\"].json.body.message.text || $node[\"Discord Input\"].json.body.content }}"
}
]
}
},
"id": "swarm-node",
"name": "Ask ADK Swarm",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
950,
350
]
}
],
"connections": {
"User Input (Dash)": {
"main": [
[
{
"node": "Router Brain",
"type": "main",
"index": 0
}
]
]
},
"Telegram Input": {
"main": [
[
{
"node": "Router Brain",
"type": "main",
"index": 0
}
]
]
},
"Discord Input": {
"main": [
[
{
"node": "Router Brain",
"type": "main",
"index": 0
}
]
]
},
"Router Brain": {
"main": [
[
{
"node": "Route Switch",
"type": "main",
"index": 0
}
]
]
},
"Ollama Model": {
"ai_languageModel": [
[
{
"node": "Router Brain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Route Switch": {
"main": [
[
{
"node": "create-ticket",
"type": "main",
"index": 0
}
],
[
{
"node": "create-ticket",
"type": "main",
"index": 0
}
],
[
{
"node": "create-ticket",
"type": "main",
"index": 0
}
],
[
{
"node": "create-ticket",
"type": "main",
"index": 0
}
],
[
{
"node": "create-ticket",
"type": "main",
"index": 0
}
],
[
{
"node": "create-ticket",
"type": "main",
"index": 0
}
]
]
},
"create-ticket": {
"main": [
[
{
"node": "swarm-node",
"type": "main",
"index": 0
}
],
[
{
"node": "check-tg-setup",
"type": "main",
"index": 0
}
]
]
},
"check-tg-setup": {
"main": [
[
{
"node": "tg-alert",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Nexus Omnichannel Router V5.1 (Refined) - Audit Mode. Uses chainLlm, lmChatOllama, httpRequest. Webhook trigger; 10 nodes.
Source: https://github.com/Acehfhd/nexus-command/blob/018f06931a41aa47ab71657ea57d86508cede02d/workflows/nexus_router.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.
Receive WhatsApp messages via Whapi, generate AI replies with a local Ollama model, log conversations in Google Sheets, and auto-capture leads — all without touching a cloud LLM.
04-SMS-Capture. Uses lmChatOllama, chainLlm, httpRequest. Webhook trigger; 5 nodes.
Episode 11: AI shorts factory app. Uses httpRequest, googleSheets, lmChatOpenAi, lmChatOllama. Event-driven trigger; 96 nodes.
ANIS_HUB 1. Uses gmail, googleDrive, googleSheets, httpRequest. Webhook trigger; 89 nodes.
CLINICAINTEGRAL_secretary. Uses postgres, mcpClientTool, googleDriveTool, toolWorkflow. Webhook trigger; 89 nodes.