Execute Flows across multiple inputs simultaneously using batch processing. Useful for bulk operations, testing, and data processing tasks.
When to use batch processing
- Bulk operations: Process hundreds or thousands of items
- Testing: Run Flows against a dataset to verify behavior
- Data migration: Transform or enrich existing data
- Evaluation: Compare Flow performance across many inputs
Running a batch
- Open the Flow
- Click Run
- Select Batch tab
- Choose input source:
- Select Record collection
- Paste JSON array
- Map columns to Flow input variables
- Click Start Batch
CSV files should have a header row with column names matching your Flow variables:
Each row becomes one Flow execution.
Provide an array of objects:
Run the Flow against a Record collection:
- Select Record collection as input source
- Choose the Record type
- Optionally filter Records
- Map Record fields to Flow variables
- Click Start Batch
The Flow executes once per Record.
Monitoring batch progress
After starting a batch:
- Go to Logs → Batch Jobs
- Find your batch execution
- See:
- Completed count
- Failed count
- Progress percentage
- Estimated completion time
Batches run in the background—you can close the browser.
Batch results
After completion, download results:
- Go to the batch job page
- Click Download Results
- Choose format:
- JSON (full execution details)
CSV includes all input columns plus an output column with the Flow result.
Handling failures
If some items fail:
- Download the failed items CSV
- Review error messages
- Fix issues (update Flow or data)
- Re-run the batch with only failed items
See Handling batch failures for detailed troubleshooting.
Batch limits
Batch size and concurrency limits depend on your plan tier. For large batches, split into smaller batches to make monitoring and error recovery easier.
Cost considerations
Batch processing can consume significant AI credits:
- Each item counts as one Flow execution
- 1,000 items = 1,000 executions
- Monitor usage to avoid surprise bills
Use smaller models (e.g., GPT-4o-mini) for batch operations when possible.
Scheduling batches
Automate batch processing with schedules:
- Go to Schedules
- Create a schedule
- Select your Flow
- Configure to run against a Record collection
- Set frequency (daily, weekly, etc.)
See Automating batch processing for details.
Best practices
- Test with small batches first: Run 10-100 items before scaling to thousands
- Monitor costs: Check usage estimates before starting large batches
- Handle failures gracefully: Design Flows to fail gracefully on bad input
- Use appropriate concurrency: Higher concurrency is faster but can hit rate limits
- Save results: Download and archive batch results for auditing
Next steps
- Handling batch failures to troubleshoot errors
- Automating batch processing with schedules
- Running an evaluation for model/prompt testing
- What are records? to understand Record-based batches