Generate consensus-based answers using Claude, GPT, Grok and Gemini
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when a chat message arrives. Along the way it connects OpenRouter Chat Model, Anthropic Chat Model, xAI Grok Chat Model and OpenAI Chat Model and 5 more.
How it runs
Trigger: When a chat message arrives.
- Basic LLM Chain: sends a prompt to an LLM, with model: claude
- Basic LLM Chain: sends a prompt to an LLM, with model: openAI
- Basic LLM Chain: sends a prompt to an LLM, with model: groq
- Basic LLM Chain: sends a prompt to an LLM, with model: gemini
- response a (Edit Fields (Set)): sets 1 field: text_A
- response b (Edit Fields (Set)): sets 1 field: text_B
- response c (Edit Fields (Set)): sets 1 field: text_C
- response d (Edit Fields (Set)): sets 1 field: text_D
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
…plus 21 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (14)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Merge
n8n-nodes-base.merge - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - xAI Grok Chat Model
@n8n/n8n-nodes-langchain.lmChatXAiGrok - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Telegram
n8n-nodes-base.telegram
From the author
The original LLM Council concept was introduced by Andrej Karpathy and published as an open-source repository demonstrating multi-model consensus and ranking. This workflow is my adaptation of that original idea, reimplemented and structured as a…