Understanding Flow Runs
Every time a workflow executes, it creates a flow run:Run Status
Running
Flow is currently executing steps.
Succeeded
All steps completed successfully.
Failed
A step failed, execution stopped.
Viewing Flow Runs
Filter Runs
Filter by:
- Status: Failed, Succeeded, Running
- Flow: Specific workflow
- Date Range: Time period
Analyzing Step Execution
Step Output Structure
Each step in a run has detailed output:- View Input
- View Output
- View Errors
- View Duration
See exactly what data was passed to the step:
Input values show variable substitutions after evaluation.
Viewing Execution Logs
Detailed logs are available for each run:Log Levels
Logs include:- Info: General execution information
- Debug: Detailed variable values
- Warning: Non-critical issues
- Error: Failures and exceptions
Logs are stored for the retention period configured in your plan (default: 14 days).
Common Issues and Solutions
Step Shows No Output
Step Shows No Output
Symptoms:
- Step executed but output is empty or null
- Subsequent steps can’t access data
- Step succeeded but returned no data
- API returned empty response
- Data filtering removed all items
- Check step configuration
- Verify API endpoint is correct
- Review filter conditions
- Add default values:
{{ step.data ?? {} }}
Variable Reference Errors
Variable Reference Errors
Symptoms:
- Error: “Cannot read property ‘x’ of undefined”
- Step fails with “Invalid reference”
- Referenced step hasn’t executed yet
- Property path is incorrect
- Previous step failed (with continueOnFailure)
Timeout Errors
Timeout Errors
Symptoms:
- Step fails with timeout error
- Long-running operations don’t complete
- External API is slow
- Large data processing
- Network issues
- Enable retry on failure
- Optimize data queries
- Break into smaller chunks
- Use webhook responses for async operations
Authentication Failures
Authentication Failures
Symptoms:
- 401 or 403 errors
- “Invalid credentials” messages
- Connection expired or revoked
- Insufficient permissions
- API key incorrect
- Refresh connection authentication
- Verify API permissions
- Check connection configuration
- Test connection separately
Data Type Mismatches
Data Type Mismatches
Symptoms:
- Type error: “Expected string, got object”
- JSON parsing errors
- Passing object where string expected
- String where array expected
- Missing JSON.stringify/parse
Loop Doesn't Execute
Loop Doesn't Execute
Symptoms:
- Loop step shows as succeeded but no iterations
- Loop output is empty
- Items array is empty
- Items reference is incorrect
- Loop is skipped
Step-by-Step Debugging
Review Step Input
Check what data was sent to the step:
- Are variable references correct?
- Is data in expected format?
- Are required fields present?
Check Error Message
Read the error message carefully:This tells you:
- Type of error (404 = Not Found)
- What failed (Route not found)
Verify Previous Steps
Check steps before the failed one:
- Did they execute successfully?
- Is their output what you expected?
- Is data being passed correctly?
Test in Isolation
Test the failed step independently:
- Go to flow builder
- Configure step with sample data
- Test step alone
- Verify it works
Retry Strategies
- Retry on Latest Version
- Retry from Failed Step
Re-run the entire flow with the latest published version:Use when:
- You fixed the issue in the flow
- Flow structure changed
- Need complete re-execution
- Starts from trigger
- Uses latest flow version
- Creates new run with same input
Testing Best Practices
Test with Real Data
Test with Real Data
Use realistic test data that matches production:
Test Edge Cases
Test Edge Cases
Test with:
- Empty arrays:
[] - Null values:
null - Missing fields
- Very large datasets
- Special characters in strings
Test Error Scenarios
Test Error Scenarios
Deliberately cause errors to verify handling:
- Invalid API keys
- Wrong URLs
- Malformed data
- Network timeouts
Monitor Production Runs
Monitor Production Runs
Regularly check production runs:
- Review failure rate
- Identify patterns
- Set up error notifications
- Track performance metrics
Performance Debugging
Identify Slow Steps
Check step duration in run details:Optimization Tips
- Reduce API Calls: Batch requests when possible
- Filter Early: Remove unnecessary data before loops
- Parallel Processing: Use multiple flows for independent tasks
- Optimize Loops: Process only what’s needed
- Cache Results: Store frequently accessed data
Debugging Tools
Console Logging in Code Actions
Console logs appear in the execution logs for the run.
Add Debug Steps
Insert temporary code actions to inspect data:Run Environments
- Testing Environment
- Production Environment
Characteristics:
- Triggered manually
- Uses sample data
- Doesn’t affect production
- Free (doesn’t count toward limits)
- Developing new flows
- Testing changes
- Debugging issues
- Training and demos
Getting Help
If you’re stuck:- Check Documentation: Search for your error message
- Community Forum: Ask the community
- Support: Contact support with:
- Flow ID
- Run ID
- Error message
- Steps to reproduce
Next Steps
Error Handling
Configure proper error handling
Testing
Best practices for testing
Monitoring
Monitor workflow health
Performance
Optimize workflow performance