For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
  • Getting Started
    • What is Runtype?
    • Creating your account
    • Platform Keys vs. BYOK
    • Understanding the Runtype UI
    • Quickstart: Social Media Post Generator
    • Quickstart: From Agent to Chat Widget
  • Dashboard
    • What is the Dashboard?
    • Daily Executions
  • Playground
    • What is the Playground?
  • Products & Surfaces
    • What are Products?
    • What are Surfaces?
    • Creating a Product
    • Setting up a Chat Surface
    • Setting up an API Surface
    • Setting up an MCP Surface
    • Setting up an A2A Surface
    • Setting up a Slack Surface
    • MCP authentication
    • Authenticating with product API keys
    • Embedding the chat widget (script tag)
    • Embedding the chat widget (React)
    • Surface orchestration modes
    • Product views
    • Adding Capabilities to a product
    • Connecting external agents
    • How A2A works
    • Connecting to Cursor / VS Code
    • Connecting to Claude Desktop
    • Scoping API keys to capabilities
    • Auto-generated OpenAPI spec
    • Calling your API endpoints
    • Client tokens and domain restrictions
    • AI-powered theme generation
    • Widget theming and customization
    • Product versioning and status
  • Flows
    • What are Flows?
    • Creating and Editing Flows
    • Flow step types overview
    • Agent and Flow Templates
    • Using prompt steps
    • Using transform-data steps
    • Using conditional steps
    • Using fetch-url and api-call steps
    • Using record steps (upsert/retrieve)
    • Flow variables and templates
    • Flow versioning and publishing
    • Running flows in batch
    • Handling batch failures
    • Debugging flows
  • Agents
    • What are Agents?
    • Creating and configuring Agents
    • Agent tools
  • Records
    • What are Records?
    • Creating and managing records
    • Using records in flows
    • Filtering and searching records
  • Tools
    • What are Tools?
    • Built-in Tools
    • Creating custom tools
    • Creating external tools
    • Runtime tools
  • Evals
    • What are Evals?
    • Running an Eval
    • Interpreting eval results
  • Schedules
    • What are Schedules?
    • Automating batch processing
  • Logs
    • What are Logs?
    • Working with Logs
  • Integrations
    • Connecting AI model providers
    • Slack integration
    • Google Workspace integration
    • GitHub integration
    • Linear integration
    • Weaviate (vector search)
    • Firecrawl (web scraping)
    • Exa (web search)
  • Settings
    • What's in Settings?
    • Available AI models
    • What are Organizations?
    • Managing AI models
    • Managing API keys
    • Billing and plans
    • Usage data
    • Team members and permissions
    • Appearance and preferences
    • Integrations (PostHog, Weaviate, Daytona)
  • Troubleshooting & FAQ
    • FAQ
    • Rate Limits and Usage
    • Managing Runtype with Claude
    • Flow execution failures
    • Common errors and solutions
    • Authentication issues
Dashboard
LogoLogo
On this page
  • Use cases
  • Set up automated batch processing
  • Targeting Records
  • By Record Type
  • By Record IDs
  • By Record Filter
  • Marking Records as processed
  • Monitoring batch Schedules
  • Handling failures
  • Cost optimization
  • Next steps
Schedules

Automating batch processing

Was this page helpful?
Previous

What are Logs?

Next
Built with

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

  1. Click Schedules in the sidebar
  2. Click Create schedule
  3. 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)
  4. 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:

1{
2 "type": "customers",
3 "where": {
4 "op": "and",
5 "conditions": [
6 { "field": "processed", "op": "eq", "value": false }
7 ]
8 }
9}

Marking Records as processed

Update Records after processing to avoid reprocessing:

  1. In your Flow, add an Upsert Record step at the end
  2. Update the Record’s metadata to include a processed flag
  3. Use a Record Filter on your Schedule to skip already-processed Records on subsequent runs

Monitoring batch Schedules

  1. Go to Schedules
  2. Find your batch Schedule
  3. View Run History below the Schedules list
  4. See when it last ran, its status, and progress

Handling failures

If some Records fail during batch processing:

  1. Check execution logs for specific errors
  2. Failed Records remain unprocessed if you use a filter that skips processed Records
  3. The next scheduled run retries them
  4. 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