Templates / Process multiple prompts in parallel with Azure OpenAI Batch API

Process multiple prompts in parallel with Azure OpenAI Batch API

Ready for 3.0

by Greg Evseev ✓ · 751 views · created 2025-04-13 · Engineering, Multimodal AI

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 38 nodes and runs when another workflow calls it (plus 1 other trigger). It uses only n8n's built-in nodes.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Setup defaults (Edit Fields (Set)): sets or maps fields
  2. One query example (Edit Fields (Set)): sets or maps fields
  3. Truncate Chat Memory (Chat Memory Manager): uses Chat Memory Manager, with memory: Simple Memory
  4. Set defaults if not set already (Code): runs custom JavaScript code
  5. Append custom_id for single query example (Edit Fields (Set)): sets or maps fields
  6. Fill Chat Memory with example data (Chat Memory Manager): uses Chat Memory Manager, with memory: Simple Memory
  7. JSON requests to JSONL (Code): runs custom JavaScript code
  8. Build batch 'request' object for single query (Code): runs custom JavaScript code
  9. Load Chat Memory Data (Chat Memory Manager): uses Chat Memory Manager, with memory: Simple Memory
  10. Remove original requests (Edit Fields (Set)): sets or maps fields

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

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

Process Multiple Prompts in Parallel with Azure OpenAI Batch API Who is this for? This workflow is designed for developers and data scientists who want to efficiently send multiple prompts to the Azure OpenAI Batch API and retrieve responses in a single batch…

Excerpt from Greg Evseev'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.