Workflows
Workflows let you define complex, multi-step agent behaviors using a visual builder.Overview
Workflows are composed of:- Triggers - What starts the workflow
- Steps - Individual actions
- Conditions - Branching logic
- Actions - API calls, messages, etc.
Creating a Workflow
- Go to Dashboard → Workflows
- Click New Workflow
- Add triggers and steps
- Connect them in the visual builder
- Save and activate
Trigger Types
| Trigger | Description |
|---|---|
| Message | User sends a message |
| Schedule | Cron-based scheduling |
| Webhook | HTTP request trigger |
| Event | Agent lifecycle events |
Step Types
AI Step
AI Step
Call an AI model with custom prompt.
HTTP Request
HTTP Request
Make API calls to external services.
Send Message
Send Message
Send a message to a platform.
Condition
Condition
Branch based on conditions.
Example: Customer Support Flow
Variables
Access data throughout your workflow:Scheduling
Run workflows on a schedule:Best Practices
- Keep it simple - Break complex flows into sub-workflows
- Add error handling - Use try/catch steps
- Test thoroughly - Use the test button before activating
- Monitor logs - Check workflow execution logs