Skip to main content
description: “Build complex agent behaviors with workflows”

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

  1. Go to Dashboard → Workflows
  2. Click New Workflow
  3. Add triggers and steps
  4. Connect them in the visual builder
  5. Save and activate

Trigger Types

TriggerDescription
MessageUser sends a message
ScheduleCron-based scheduling
WebhookHTTP request trigger
EventAgent lifecycle events

Step Types

Call an AI model with custom prompt.
Make API calls to external services.
Send a message to a platform.
Branch based on conditions.

Example: Customer Support Flow

Variables

Access data throughout your workflow:

Scheduling

Run workflows on a schedule:

Best Practices

  1. Keep it simple - Break complex flows into sub-workflows
  2. Add error handling - Use try/catch steps
  3. Test thoroughly - Use the test button before activating
  4. Monitor logs - Check workflow execution logs