Schedule Trigger
The Schedule Trigger block automatically starts your workflow based on a customizable schedule, enabling seamless automation for recurring tasks.
Automate with Precision: Set up workflows to run at specific intervals - from every minute to complex custom schedules using cron expressions.
Key Features
- Flexible Intervals: Choose from preset intervals (minutes, hours, days) or define custom schedules
- Cron Expression Support: Use powerful cron syntax for complex scheduling needs
- Timezone Aware: Configure schedules in your preferred timezone
- Reliable Execution: Workflows run consistently at scheduled times
- Visual Schedule Preview: See when your workflow will next execute
Configuration
| Parameter | Type | Required | Description |
|---|---|---|---|
| Schedule Type | Enum | Yes | Choose from preset intervals or custom cron |
| Interval | Number | Conditional | Minutes between runs (for minute-based schedules) |
| Time | String | Conditional | Specific time to run (for daily/weekly/monthly) |
| Day | String | Conditional | Day of week/month (for weekly/monthly schedules) |
| Timezone | String | No | Timezone for schedule calculation (default: UTC) |
| Cron Expression | String | Conditional | Custom cron expression for advanced schedules |
Setup Guide
Step 1: Add the Schedule Trigger Block
- Open your workflow in the editor
- Navigate to the Triggers section in the block palette
- Drag the Schedule Trigger block onto your canvas
- Position it as the starting point of your workflow
Step 2: Choose Your Schedule Type
Select from the following options:
- Every X Minutes: Run at regular intervals (e.g., every 15, 30, 60 minutes)
- Hourly: Run once every hour at a specific minute
- Daily: Run once per day at a specific time
- Weekly: Run once per week on a specific day and time
- Monthly: Run once per month on a specific date and time
- Custom Cron: Use cron expressions for complex schedules
Step 3: Configure Schedule Details
- Set the specific time, day, or interval based on your chosen schedule type
- Select your timezone to ensure accurate scheduling
- Review the schedule summary displayed on the node
Step 4: Publish and Activate
- Publish your workflow to activate the schedule
- The scheduler will begin running at the configured times
- Monitor execution logs to verify successful runs
Schedule Types Explained
Interval-Based Schedules
| Schedule | Configuration | Example |
|---|---|---|
| Every 15 minutes | Interval: 15 | Runs at :00, :15, :30, :45 |
| Every 30 minutes | Interval: 30 | Runs at :00, :30 |
| Every hour | Interval: 60 | Runs at the top of each hour |
Time-Based Schedules
| Schedule | Configuration | Example |
|---|---|---|
| Daily at 9 AM | Time: 09:00 | Every day at 9:00 AM |
| Weekly on Monday | Day: Monday, Time: 09:00 | Every Monday at 9:00 AM |
| Monthly on 1st | Day: 1, Time: 00:00 | First day of each month at midnight |
Cron Expressions
For advanced scheduling needs, use cron expressions:
| Expression | Description |
|---|---|
0 9 * * * | Every day at 9:00 AM |
0 9 * * 1 | Every Monday at 9:00 AM |
0 0 1 * * | First day of every month at midnight |
*/15 * * * * | Every 15 minutes |
0 9-17 * * 1-5 | Every hour from 9 AM to 5 PM, Monday to Friday |
Cron Format: minute hour day-of-month month day-of-week
- Use
*for "every" - Use
*/nfor "every n units" - Use
n-mfor ranges - Use
n,mfor specific values
Example Usage
Daily Report Generation
Schedule Trigger (Daily at 8 AM) → Query Database → Generate Report → Send EmailAutomatically generate and send daily reports to stakeholders each morning.
Hourly Data Sync
Schedule Trigger (Every Hour) → Fetch External API → Transform Data → Update DatabaseKeep your data synchronized with external sources on an hourly basis.
Weekly Cleanup Tasks
Schedule Trigger (Sunday at 2 AM) → Archive Old Records → Clean Temp Files → Send SummaryRun maintenance tasks during off-peak hours.
Monthly Billing
Schedule Trigger (1st of Month at 12:01 AM) → Calculate Charges → Generate Invoices → Process PaymentsAutomate monthly billing cycles.
Node Display
The Schedule Trigger block displays:
- Schedule Summary: Human-readable description (e.g., "Every 30 minutes")
- Next Run: When the workflow will next execute
- Timezone: The timezone being used for scheduling
- Status: Active, paused, or error state
- Last Run: Timestamp and status of the most recent execution
Error Handling
| Error Type | Cause | Solution |
|---|---|---|
| Invalid Cron Expression | Malformed cron syntax | Verify cron format using an online validator |
| Timezone Not Found | Invalid timezone specified | Use standard IANA timezone names (e.g., "America/New_York") |
| Missed Execution | Server downtime during scheduled time | Check system logs; workflow will run at next scheduled time |
| Schedule Conflict | Multiple triggers at the same time | Stagger schedules by a few minutes to avoid conflicts |
| Workflow Not Published | Schedule active but workflow unpublished | Publish your workflow to enable scheduled execution |
Best Practices
-
Choose Appropriate Intervals: Match your schedule to actual business needs - don't run every minute if hourly is sufficient
-
Consider Timezone: Always set the timezone explicitly to avoid confusion, especially for distributed teams
-
Use Descriptive Names: Label your scheduled workflows clearly (e.g., "Daily Sales Report - 8 AM EST")
-
Stagger Schedules: If you have multiple scheduled workflows, offset their times to distribute system load
-
Monitor Execution: Regularly check logs to ensure scheduled workflows are running as expected
-
Test Before Deploying: Use the Manual Trigger to test your workflow before activating the schedule
-
Plan for Failures: Add error handling and notifications in case the scheduled workflow fails
-
Document Your Schedules: Keep a record of all scheduled workflows and their purposes for team reference
Important: Scheduled workflows only run when published. Make sure to publish your workflow after configuring the schedule.
Pro Tip: For complex business schedules (like "every weekday except holidays"), combine the Schedule Trigger with a Condition block that checks against a holiday calendar.