How workflows work
- You create a workflow in the dashboard with a name, description, and detailed content.
- The agent sees available workflows as “skills” it can activate.
- When a user’s request matches a workflow, the agent uses the
generate_workflowtool to follow the defined steps.
Creating a workflow
1
Navigate to Workflows
Go to Workflows in the dashboard sidebar.
2
Create a new workflow
Click New Workflow and fill in:
- Name — a short label the agent uses to identify the workflow (max 64 characters)
- Description — when the agent should activate this workflow (max 1024 characters)
- Content — the full step-by-step instructions (max 50K characters)
3
Test it
Open the chat widget and ask a question that should trigger the workflow. The agent will follow the defined steps.
Example workflows
Refund request
Refund request
Guide the agent through collecting order details, verifying eligibility, and processing the refund via a custom action.
Onboarding
Onboarding
Walk new users through account setup, feature discovery, and initial configuration step by step.
Troubleshooting
Troubleshooting
Define a diagnostic flow: collect symptoms, check known issues, escalate if unresolved.