Automate batch processing by scheduling Flows or Agents to run against Records on a recurring basis.
Use cases
- Nightly data enrichment: Process new Records added during the day
- Weekly reports: Summarize activity across all Records
- Periodic cleanup: Archive or update old Records
- Scheduled updates: Refresh cached data from external sources
Set up automated batch processing
- Click Schedules in the sidebar
- Click Create schedule
- Configure:
- Flow or Agent: Select your processing Flow or Agent
- Target: Choose Record Type, specific Record IDs, or a Record Filter
- Timing: Set a recurring schedule (for example, daily at 2 AM)
- Click Create
Targeting Records
By Record Type
Process every Record of a given type each time the Schedule runs. New Records added to that type are included automatically.
By Record IDs
Process a fixed set of Records by specifying their IDs.
By Record Filter
Process only Records matching filter conditions on metadata fields. Filters use a structured DSL with operators such as eq, contains, gt, withinLastDays, and others.
Example filter targeting unprocessed Records:
Marking Records as processed
Update Records after processing to avoid reprocessing:
- In your Flow, add an Upsert Record step at the end
- Update the Record’s metadata to include a processed flag
- Use a Record Filter on your Schedule to skip already-processed Records on subsequent runs
Monitoring batch Schedules
- Go to Schedules
- Find your batch Schedule
- View Run History below the Schedules list
- See when it last ran, its status, and progress
Handling failures
If some Records fail during batch processing:
- Check execution logs for specific errors
- Failed Records remain unprocessed if you use a filter that skips processed Records
- The next scheduled run retries them
- If failures persist, update your Flow to handle edge cases
Cost optimization
Batch processing can be expensive. Optimize costs by:
- Processing only necessary Records using Record Filters
- Running less frequently if daily is not required
- Using cheaper AI models for batch jobs
Next steps
- What are Schedules? for basic Schedule setup
- What are Records? to understand Record structure
- What are Logs? to troubleshoot scheduled runs