Creating a Trigger
To create a trigger, click the “Add Trigger” button in the bottom left corner of the Workflows Builder and select the type of trigger you want to create.Trigger Types
Manual / API Triggers
Manual triggers allow you to run workflows on-demand through:- The Leap Workflows UI dashboard
- Direct API calls using the Run Workflow endpoint
- Testing and development
- One-off workflow executions
- Integration into your own applications
Schedule Triggers
Schedule triggers let you run workflows automatically at specified intervals using cron expressions. For example:- Every hour:
0 * * * *
- Daily at midnight:
0 0 * * *
- Every Monday at 9am:
0 9 * * 1
- Regular batch processing
- Periodic data updates
- Automated reporting
- Scheduled maintenance tasks
Event-Based Triggers
Event triggers automatically run workflows in response to external events from integrated platforms:Supported Events
- Slack
- New message in channel
- GitHub
- Pull request comments
- Real-time processing
- Automated responses
- Integration with external services
- Building interactive applications
Triggers won’t be activated until you publish your workflow. Any changes you
make to triggers will require republishing the workflow to take effect.