Batch structured AI calls via OpenRouter, Data Tables, and webhooks
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Model Selector and OpenRouter Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Check Auth (Execute Sub-workflow): calls another n8n workflow
- Get team member (Data table): get
- Valid? (If): checks a condition and branches into true / false
- Found? (If): checks a condition and branches into true / false
- Error (Respond to Webhook): sends the response back to the webhook caller
- Insert log (Data table): uses Data table
- Stop and Error: stops the run with an error
- Prepare Calls (Edit Fields (Set)): sets 1 field: body
- Stop and Error: stops the run with an error
- Success (Edit Fields (Set)): sets 1 field: status
…plus 5 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 (16)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Stop and Error
n8n-nodes-base.stopAndError - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Model Selector
@n8n/n8n-nodes-langchain.modelSelector - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate - No Operation, do nothing
n8n-nodes-base.noOp - Limit
n8n-nodes-base.limit
From the author
Quick overview Give an AI coding agent one authenticated webhook for structured LLM batches. The agent prepares prompts and JSON schemas in a script; n8n processes the first 50 calls in parallel, returns ordered results, and records who used the service. How…