Skip to main content

What Workflows Do

Workflows execute automated steps when specific events occur. Instead of writing webhook handlers, you define conditions and actions through configuration.

Structure

ComponentDescription
TriggerEvent that starts the workflow
ConditionsRules that determine if workflow runs
StepsActions to execute

Supported Triggers

  • integrated_account:active - Account connected and ready

Use Cases

Auto-Start Sync on Connection

When a customer connects their ShipHero account, automatically start syncing orders:
  1. Trigger: integrated_account:active
  2. Condition: integration.name = 'shiphero'
  3. Action: Run sync job

Scheduled Recurring Sync

Run a sync job every 6 hours for all connected accounts.

How It Works

1

Event Emitted

Event is emitted (e.g., account becomes active)
2

Check Workflows

Handled checks workflows for that trigger
3

Evaluate Conditions

Workflows with matching conditions execute
4

Run Steps

Steps run in order