Templates / Batch structured AI calls via OpenRouter, Data Tables, and webhooks

Batch structured AI calls via OpenRouter, Data Tables, and webhooks

Ready for 3.0

by Guillaume Duvernay ✓ · 17 views · created 2026-09-30 · Engineering, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Check Auth (Execute Sub-workflow): calls another n8n workflow
  2. Get team member (Data table): get
  3. Valid? (If): checks a condition and branches into true / false
  4. Found? (If): checks a condition and branches into true / false
  5. Error (Respond to Webhook): sends the response back to the webhook caller
  6. Insert log (Data table): uses Data table
  7. Stop and Error: stops the run with an error
  8. Prepare Calls (Edit Fields (Set)): sets 1 field: body
  9. Stop and Error: stops the run with an error
  10. Success (Edit Fields (Set)): sets 1 field: status

…plus 5 more steps. See the full node list below.

Services it uses

Model SelectorOpenRouter Chat Model

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)

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…

Excerpt from Guillaume Duvernay's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.