Workflow Basics
Automate actions with the visual workflow editor.
Workflows let you automate actions when events occur in your forms. Send emails, update values, generate PDFs, call extension actions, and more - all without writing code.
What Are Workflows?
A workflow is an automated process that runs when triggered by an event. Workflows are visual — you build them by connecting triggers and steps on a canvas.
Workflow Structure
Trigger → Step → Step → Step → (End)
↘ Step → (End)
Each workflow has:
- One or more Triggers - Events that start the workflow
- Multiple Steps - Actions to perform
- Connections - Links between steps
Creating a Workflow
Open the Workflow Editor
- Go to your form in the builder
- Click the Workflows tab
- Click Add Workflow
- The visual editor opens
Add a Trigger
- Click Add Trigger on the canvas
- Select a trigger type (e.g., “Form Submitted”)
- Configure trigger options
- The trigger node appears
Add Steps
- Click the + button on a trigger or step
- Select a step type
- Configure the step
- Connect to more steps as needed
Save and Publish
Workflows are part of the form version:
- Click Save to save your draft
- Publish the form version to activate workflows
Workflow Canvas
Navigation
- Pan: Click and drag the canvas
- Zoom: Scroll or use zoom controls
- Select: Click nodes to select
- Multi-select: Shift+click or drag box
Nodes
Nodes represent triggers and steps:
- Trigger nodes: Blue, starting points
- Step nodes: Gray, actions to perform
- Connections: Lines between nodes
Editing Nodes
Click a node to:
- View/edit configuration
- See input/output information
- Delete the node
Connections
Creating Connections
- Hover over a node’s output port
- Drag to another node’s input
- Release to create connection
Connection Types
| Path | Meaning |
|---|---|
next | Default path to next step |
true | Condition evaluated true |
false | Condition evaluated false |
error | Step encountered an error |
loop | For-each iteration |
Multiple Connections
A step can connect to multiple downstream steps:
- All connected steps execute
- Use conditions to branch
Execution Flow
Execution Timing
Workflow steps run shortly after the trigger fires:
- Trigger fires
- Each step executes in order
- Entry is updated with results
- Process completes
Email delivery may continue asynchronously after the workflow records the email action.
Execution Context
During execution, workflows can access:
- Current entry data
- Form field definitions
- Previous step outputs
- Data tables
Workflow Runs
Every workflow execution creates a run record:
Viewing Runs
- Go to entry detail
- Click Workflow Runs tab
- See all runs for this entry
Run Information
Each run shows:
- Start and end time
- Duration
- Status (completed/failed)
- Step-by-step execution log
Debugging
Click into a run to see:
- Which steps executed
- Inputs and outputs for each step
- Error messages if failed
- Connection paths taken
Example Workflows
Simple Notification
Trigger: Form Submitted
↓
Step: Send Email to [email protected]
Conditional Routing
Trigger: Form Submitted
↓
Condition: category = "sales"
├─ True: Send to [email protected]
└─ False: Send to [email protected]
Multi-Step Process
Trigger: Form Submitted
↓
Step: Calculate total price
↓
Step: Update "total" field
↓
Step: Send confirmation email
↓
Condition: total > 1000
└─ True: Send to manager for approval
Best Practices
Keep Workflows Focused
- One workflow per logical process
- Break complex processes into multiple workflows
- Use descriptive workflow names
Test Before Publishing
- Use preview mode to test
- Check workflow runs for errors
- Test edge cases
Error Handling
- Plan for failures
- Use error paths where needed
- Log important data for debugging
- Extension actions can use an
errorpath for non-success responses
Performance
- Minimize external API calls
- Cache where possible
- Consider step execution time
- Keep workflows focused on work the respondent or admin needs immediately