Creating and editing Flows
Build AI workflows by creating Flows and adding steps that execute in sequence.
Create a Flow
In the sidebar, click Flows
Click Create Flow
In the Create New Flow panel, choose one of three options:
Start from scratch — Begin with an empty canvas
Use an example — Pick a template (e.g., summarization, extraction)
Import flow — Upload a JSON file exported from another Flow
You are taken to the Flow editor. Enter or edit the Flow name at the top and optionally add a description
The editor shows an empty canvas (or template steps if you chose an example). Add steps to build your workflow
Flows can also be created from a Product when adding a Capability—the editor is the same.
Add steps
Click Add Step
Select a step type (e.g., Prompt)
Configure the step:
Name: Descriptive label like "Generate summary"
Output variable: The variable name other steps will use to reference this step's output (e.g.,
summary_result)Model: Select an AI model (GPT-4o, Claude, etc.)
Prompt: Write your prompt, using
{{input}}to reference Flow input
The step appears on the canvas. Add more steps to build your workflow
Connect steps
Steps execute in the order shown in the left sidebar (top to bottom). Reference earlier steps using the output variable you set for each step, for example {{fetch_result}} or {{summary}}. System and record variables (e.g., {{_record.metadata.field}}) are also available—see Flow variables and templates for details.
The Flow editor shows connections automatically based on variable references.
Reorder steps
Drag steps in the left sidebar step list to reorder them. The execution sequence follows the order in the sidebar (top to bottom).
Edit a step
Click the step on the canvas (or in the left sidebar) to select it
Update its configuration in the step card/panel
Click Save in the top toolbar to save the Flow
Delete a step
Click the step on the canvas or in the left sidebar to select it
Click the trash icon on the step or press Delete (or Backspace)
Confirm deletion if prompted
Deleting a step breaks any later steps that reference it. Update variable references after deleting steps.
Test your Flow
Click Run (play icon) in the top toolbar
In the Run Flow sheet, ensure Test is selected (or choose Chat, Batch, Eval, or History as needed)
Enter test input (e.g., variables or messages) in the sheet
Run the Flow from the sheet. Results and step-by-step execution appear in the sheet—input, output, and execution time per step. Click a step to see full details
Save and publish
Save your work with Save (or Create for a new Flow) in the top toolbar. If you have unsaved changes, save before publishing.
To make the Flow the live version for Products:
Optionally click Save to save the draft
Open the Save dropdown (chevron next to Save)
Click Publish (or Save & Publish if you have unsaved changes). The Flow is promoted as the live version
Use View versions in the same dropdown to see history or roll back.
Published versions are immutable—further edits create a new draft. See Flow versioning and publishing for details.
Error handling and variables
Variables: When you run the Flow (Run Flow sheet), you can supply values for template variables (e.g., for Test mode). See Flow variables and templates for how to use variables in prompts and steps.
Error handling: Each step can be configured to continue on error, stop on error, or use fallbacks (e.g., retry or alternate model) via the step's configuration. Configure error handling per step in the step card or error-handling modal.
Next steps
Flow step types overview for all available step types
Using prompt steps for AI model configuration
Flow variables and templates for data passing
Debugging flows to troubleshoot issues