# Generate consensus-based answers with Claude and OpenAI: n8n workflow

> Started by someone opening a chat with it, and works across Gmail, Slack, Telegram and WhatsApp.

Source: https://millionrounds.com/workflow/generate-consensus-based-answers-with-claude-and-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# Generate consensus-based answers with Claude and OpenAI

Started by someone opening a chat with it, and works across Gmail, Slack, Telegram and WhatsApp. It hands the judgement calls to Claude, Gemini and three others. 41 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude, Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-consensus-based-answers-with-claude-and-openai)

**41 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 1 Model 22 Logic 14 Service 4

The steps in the order they run, from what starts it.

- 1 **When chat message received** Chat trigger *Starts it*
- 2 **gemini1** Lm Chat Open Router *Model*
- 3 **claude3** Lm Chat Open Router *Model*
- 4 **openAI2** Lm Chat Open Router *Model*
- 5 **groq1** Lm Chat Open Router *Model*
- 6 **claude4** Lm Chat Open Router *Model*
- 7 **claude** Lm Chat Open Router *Model*
- 8 **openAI** Lm Chat Open Router *Model*
- 9 **groq** Lm Chat Open Router *Model*
- 10 **gemini2** Lm Chat Open Router *Model*
- 11 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 12 **xAI Grok Chat Model** Lm Chat XAi Grok *Model*
- 13 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 14 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 15 **Send a message1** Gmail *Service*
- 16 **Send a message** Slack *Service*
- 17 **Send message** Whats App *Service*
- 18 **Send a text message** Telegram *Service*
- 19 **Basic LLM Chain** Chain Llm *Model*
- 20 **Basic LLM Chain1** Chain Llm *Model*
- 21 **Basic LLM Chain2** Chain Llm *Model*
- 22 **Basic LLM Chain3** Chain Llm *Model*
- 23 **Basic LLM Chain8** Chain Llm *Model*
- 24 **evaluate claude** Chain Llm *Model*
- 25 **evaluate gpt** Chain Llm *Model*
- 26 **evaluate grok** Chain Llm *Model*
- 27 **evaluate gemini** Chain Llm *Model*
- 28 **response a** Set *Logic*
- 29 **response b** Set *Logic*
- 30 **response c** Set *Logic*
- 31 **response d** Set *Logic*
- 32 **evaluate_a** Set *Logic*
- 33 **evaluate_b** Set *Logic*
- 34 **evaluate_c** Set *Logic*
- 35 **evaluate_d** Set *Logic*
- 36 **Merge3** Merge *Logic*
- 37 **Merge1** Merge *Logic*
- 38 **Merge** Merge *Logic*
- 39 **Merge5** Merge *Logic*
- 40 **Merge4** Merge *Logic*
- 41 **Code in JavaScript** Code *Logic*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 41
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Slack, Telegram, WhatsApp
- **Model:** Claude, Gemini, Grok, OpenAI, OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Slack, Telegram and WhatsApp accounts, and a key for Claude and Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Claude, Gemini and Grok. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 41 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 41 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-consensus-based-answers-with-claude-and-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**Attendance system with OpenAI and Google Sheets** 41 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/attendance-system-with-openai-and-google-sheets)
- [**Forex AI trading assistant for Telegram with Position Sizing** 40 steps · calls a model · Telegram](https://millionrounds.com/workflow/forex-ai-trading-assistant-for-telegram-with-position-sizing)
- [**Rerank PM priorities every 2 hours with OpenAI and Notion** 40 steps · calls a model · Notion, Slack](https://millionrounds.com/workflow/rerank-pm-priorities-every-2-hours-with-openai-and-notion)
- [**Automate YouTube Shorts creation from Telegram prompts** 39 steps · calls a model · Google Drive, Telegram](https://millionrounds.com/workflow/automate-youtube-shorts-creation-from-telegram-prompts)
- [**Smart kitchen & inventory assistant with OpenAI** 43 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/smart-kitchen-and-inventory-assistant-with-openai)
- [**AI Email Agent with Gmail and Telegram Approval** 38 steps · calls a model · Gmail, Redis](https://millionrounds.com/workflow/ai-email-agent-with-gmail-and-telegram-approval)
