Configuring a Workflow in Code
Write workflows in the code editor using export default async function(ctx), configure execution tiers, and test with sample input.
Opening the code editor
The three panels
1. Configuration
Field
What it does
2. Code editor
3. Test panel
The ctx object
Property
What it contains
Writing a workflow
Example: Process incoming contacts
Example: Conditional logic
Testing
Choosing an execution tier
Tier
Behavior
Use when
Creating the workflow
Editing an existing workflow
What you've learned
Last updated
Was this helpful?

