Automation library · AI assistants

Build AI agents with OpenRouter

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenRouter. 26 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenRouter

26 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 2Model 20Logic 4

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

  1. 1OpenRouter Chat ModelLm Chat Open RouterModel
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3OpenRouter Chat Model1Lm Chat Open RouterModel
  4. 4OpenRouter Chat Model4Lm Chat Open RouterModel
  5. 5OpenRouter Chat Model5Lm Chat Open RouterModel
  6. 6Structured Output Parser1Output Parser StructuredModel
  7. 7start-thinkingWebhookStarts it
  8. 8OpenRouter Chat Model2Lm Chat Open RouterModel
  9. 9Structured Output Parser2Output Parser StructuredModel
  10. 10OpenRouter Chat Model3Lm Chat Open RouterModel
  11. 11OpenRouter Chat Model6Lm Chat Open RouterModel
  12. 12OpenRouter Chat Model7Lm Chat Open RouterModel
  13. 13Structured Output Parser3Output Parser StructuredModel
  14. 14get-weatherWebhookStarts it
  15. 15ActAgentModel
  16. 16Task Output ParserOutput Parser AutofixingModel
  17. 17ThinkAgentModel
  18. 18Thinking output parserOutput Parser AutofixingModel
  19. 19ConfigCodeLogic
  20. 20Act1AgentModel
  21. 21Task Output Parser1Output Parser AutofixingModel
  22. 22Think1AgentModel
  23. 23Thinking output parser1Output Parser AutofixingModel
  24. 24Config1CodeLogic
  25. 25No Operation, do nothingNo OpLogic
  26. 26CodeCodeLogic

How it's built

Starts on
Another system calling it
Steps
26
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
OpenRouter

Questions

What does it need to run?

An n8n account, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 26 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 26 steps before you point it at anything that matters.