Process line items, lists of attachments, and batch API responses cleanly without hitting rate limits or sending 10 separate emails. Follow this practical step-by-step blueprint to design, connect, and monitor the workflow reliably in production.
Clean batch-processing logic for multi-item orders, invoices, and summary digests.
Step-by-step
-
Use an Iterator to split arrays into items
When an order or API response contains an array of line items, iterate over each item to enrich or transform it.
Tip: Filter out empty or canceled items early.
-
Perform per-item lookups or calculations
Look up SKU costs, tax rates, or user IDs for each individual item.
Tip: Keep per-item steps lightweight.
-
Recombine with an Array or Text Aggregator
Bundle processed items back into one JSON array, HTML table, or CSV.
Tip: Always set the aggregator’s source module to the Iterator.
-
Send one consolidated output
Dispatch a single summary email, Slack digest, or batch API call instead of spamming per item.
Tip: Dramatically reduces API operations and noise.
Common questions
Can this workflow include human approval before final actions?
Yes. We recommend adding a human-in-the-loop review step whenever a workflow sends external client communications, updates financial records, or modifies sensitive data.
How do we prevent duplicate runs?
Use unique record IDs or idempotency keys and status flags so the same event is never processed twice.