Skip to main content
Rilo’s configuration system allows you to customize workflow behavior through three main mechanisms: config fields, runtime inputs, and instructions.

Overview

Each workflow block can be configured with:
  1. Config Fields: Static values that remain constant across executions
  2. Runtime Inputs: Dynamic values provided by users at each execution
  3. Instructions: Natural language descriptions of block logic
Config fields are stored permanently and used for every workflow execution. Runtime inputs are provided fresh each time a workflow runs.

Config Fields

Config fields are static configuration values that are set once and used for all workflow executions.

When to Use Config Fields

Use config fields for values that:
  • ✅ Don’t change between executions
  • ✅ Are set during workflow creation
  • ✅ Apply to all workflow runs
Examples:
  • Email addresses for notifications
  • API endpoints or service URLs
  • Threshold values (e.g., “minimum 50 upvotes”)
  • File references (templates, reference documents)
  • Tool-specific settings

Config Field Types

Rilo supports multiple field types:

Example: Config Fields

Complex objects should use the json field type.

Runtime Inputs

Runtime inputs are dynamic values that users provide each time a workflow executes.

When to Use Runtime Inputs

Use runtime inputs for values that:
  • ✅ Change between executions
  • ✅ Are provided by users at runtime
  • ✅ Vary per workflow run
Examples:
  • Search queries
  • File uploads
  • Date ranges
  • User selections

Runtime Input Configuration

Runtime inputs are configured in Start blocks:
Runtime inputs with value: null indicate that the user must provide a value at each execution. If a value is provided, it becomes the default.

Instructions

Instructions are natural language descriptions of what a block should do.

Purpose of Instructions

Instructions serve multiple purposes:
  • Documentation: Explain what the block does
  • Code Generation: Guide the AI agent in generating code
  • Verification: Help verify block configuration

Writing Good Instructions

Instead of “Process data”, write “Filter posts with 50+ upvotes from the last 24 hours”.
Mention relevant details: “Send email to admin@example.com with daily summary”.
Focus on the goal, not implementation: “Generate 5 quotes” not “Call LLM API with prompt”.
Instructions should be 2-3 lines max. Use config fields for detailed settings.

Example: Instructions

Start Block:
Code Block:
HITL Block:

Configuration Best Practices

Config Fields vs Runtime Inputs

  • Email addresses
  • API endpoints
  • Thresholds and limits
  • File templates
  • Tool settings
  • Default values

File Configuration

Files can be used in both config fields and runtime inputs: Config Field (Permanent):
Runtime Input (Per Execution):
Files uploaded as config fields are stored permanently. Files uploaded as runtime inputs are provided fresh each execution.

Configuration Workflow

1. Create Workflow

Describe your workflow in natural language:

2. AI Agent Creates Blocks

The agent automatically:
  • Creates blocks with appropriate types
  • Sets up config fields based on your description
  • Generates instructions for each block

3. Verify Configuration

Review and adjust:
  • Config fields: Add or modify static values
  • Runtime inputs: Configure what users provide
  • Instructions: Refine block descriptions

4. Execute

  • Config fields are used automatically
  • Runtime inputs prompt users for values
  • Instructions guide code generation

Advanced Configuration

JSON Config Fields

For complex configurations, use the json field type:

Conditional Configuration

Some blocks support conditional logic based on config fields:

Troubleshooting

  • Verify the field name matches what the code expects
  • Check that the field type is correct
  • Ensure the value is set (not null for required fields)
  • Verify the Start block has the config field
  • Check that value is null (not a default value)
  • Ensure the workflow is in “verified” state
  • Be more specific about what the block should do
  • Include relevant context and constraints
  • Reference config fields by name when relevant

Configuration is a key part of workflow creation. Take time to set up config fields and runtime inputs correctly for the best workflow experience.