Automation library · Integrations

Synthesize and compare multiple LLM responses with OpenRouter

Started by someone opening a chat with it, and works across Email. 20 steps: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Logic 15Service 4

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

  1. 1When chat message receivedChat triggerStarts it
  2. 2Initialize VariablesSetLogic
  3. 3Split by ModelSplit OutLogic
  4. 4Stage 1: Query Model AnswersHttp RequestService
  5. 5Stage 1: Extract ResponsesSetLogic
  6. 6Stage 1: Aggregate ResponsesAggregateLogic
  7. 7Stage 2: Create Anonymized ResponsesSetLogic
  8. 8Stage 2: Build Ranking PromptSetLogic
  9. 9Stage 2: Re-Add councilModelsSetLogic
  10. 10Stage 2: rankingPrompt per LLMSplit OutLogic
  11. 11Stage 2: Query Model Answer RankingsHttp RequestService
  12. 12Stage 2: Extract RankingsSetLogic
  13. 13Stage 2: AggregateAggregateLogic
  14. 14Stage 3: Calculate Aggregate RankingsCodeLogic
  15. 15Stage 3: Build ChairmanPrompt Part 1SetLogic
  16. 16Stage 3: Build Chairman Prompt Part 2SetLogic
  17. 17Stage 3: Chairman SynthesisHttp RequestService
  18. 18Stage 4: Format Output Part 1SetLogic
  19. 19Stage 4: Format Output Part 2SetLogic
  20. 20Stage 4: Send Result per EmailEmail SendService

How it's built

Starts on
Someone opening a chat with it
Steps
20
Size
Medium: a working afternoon
Connects to
Email
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Email account. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

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 20 steps before you point it at anything that matters.