Schedulers & Triggers
Control when and how workflows start execution.Available Nodes
| Node | Type | Purpose |
|---|---|---|
| Workflow Trigger | Trigger | Manual workflow start |
| Cron Scheduler | Trigger | Run on cron schedule |
| Timer | Action | Delay execution |
| Python Executor | Action | Run Python code |
Workflow Trigger
Manually start a workflow with the Run button.Use Cases
- Testing workflows during development
- On-demand execution
- Entry point for manual processes
Output
Every workflow needs at least one trigger node to start execution.
Cron Scheduler
Run workflows on a schedule using cron expressions.Parameters
Cron expression defining the schedule
Timezone for schedule execution
Cron Expression Format
Common Expressions
| Expression | Description |
|---|---|
* * * * * | Every minute |
*/5 * * * * | Every 5 minutes |
0 * * * * | Every hour |
0 0 * * * | Daily at midnight |
0 9 * * 1-5 | Weekdays at 9am |
0 0 1 * * | First day of month |
0 12 * * 0 | Sundays at noon |
Output
Example: Daily Report
Timer
Add a delay between nodes.Parameters
Delay duration
Time unit: seconds, minutes, hours
Use Cases
- Rate limiting API calls
- Waiting for external processes
- Scheduling sequential actions
Example: Rate-Limited API Calls
Output
Python Executor
Run custom Python code within workflows.Parameters
Python code to execute
Available Variables
| Variable | Description |
|---|---|
input_data | Data from connected input node |
output | Dictionary to set as node output |
Example: Data Processing
Example: Conditional Logic
Example: API Response Formatting
Available Libraries
The Python executor includes common libraries:json- JSON parsingdatetime- Date/time handlingre- Regular expressionsmath- Mathematical functions
Combining Schedulers
Schedule with Delay
Multiple Schedules
Deploy workflows with different schedules:Workflow States
After deployment, trigger nodes show their state:| State | Color | Description |
|---|---|---|
| Idle | Default | Waiting for next trigger |
| Waiting | Cyan | Actively waiting for event |
| Running | Purple | Workflow executing |
Tips
Troubleshooting
Cron not triggering
Cron not triggering
- Verify workflow is deployed (not just saved)
- Check cron expression syntax
- Ensure timezone is correct
- Check server logs for errors
Python code fails
Python code fails
- Check for syntax errors
- Verify
input_datahas expected fields - Use
try/exceptfor error handling - Print debug info with
print()(shows in logs)
Timer not working
Timer not working
- Ensure delay value is positive
- Check unit (seconds vs minutes)
- Verify node is connected properly