Overview
Each workflow block can be configured with:- Config Fields: Static values that remain constant across executions
- Runtime Inputs: Dynamic values provided by users at each execution
- Instructions: Natural language descriptions of block logic
Config fields are stored permanently in the database 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
- 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:| Type | Description | Example |
|---|---|---|
string | Text values | Email addresses, IDs, names |
number | Numeric values | Thresholds, counts, limits |
boolean | True/false flags | Enable/disable options |
list | Arrays of values | Subreddits, recipients, URLs |
json | Complex nested objects | Complex configurations |
datetime | Date/time values | Schedules, deadlines |
file | File references | Templates, reference documents |
Example: Config Fields
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
- 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
Be Specific
Be Specific
Instead of “Process data”, write “Filter posts with 50+ upvotes from the last 24 hours”.
Include Context
Include Context
Mention relevant details: “Send email to [email protected] with daily summary”.
State What, Not How
State What, Not How
Focus on the goal, not implementation: “Generate 5 quotes” not “Call LLM API with prompt”.
Keep It Concise
Keep It Concise
Instructions should be 2-3 lines max. Use config fields for detailed settings.
Example: Instructions
Start Block:Configuration Best Practices
Config Fields vs Runtime Inputs
- Use Config Fields For
- Use Runtime Inputs For
- 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):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 thejson field type:
Conditional Configuration
Some blocks support conditional logic based on config fields:Troubleshooting
Config field not being used
Config field not being used
- 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)
Runtime input not prompting
Runtime input not prompting
- Verify the Start block has the config field
- Check that
valueisnull(not a default value) - Ensure the workflow is in “verified” state
Instructions unclear
Instructions unclear
- Be more specific about what the block should do
- Include relevant context and constraints
- Reference config fields by name when relevant
Related Features
- Code Generation - How config fields are used in generated code
- Graph Mode - Visual configuration in the graph editor
- Human-in-the-Loop - Configuring review blocks
Configuration is a key part of workflow creation. Take time to set up config fields and runtime inputs correctly for the best workflow experience.