Skip to content

Properties

configobject
required·

Workflow execution configuration.

run_ifstring

JSONata condition evaluated before executing workflow steps.

Example: integration.name = 'calcom'
stepsobject[]
5 properties
actionstring

Action executed by the step. run_sync_job is the only action.

Example: run_sync_job
Possible values:
run_sync_job
configstring | Record<string, any>

A JSONata expression that returns the step's payload, or an object whose values may use {{placeholders}}. For run_sync_job it must give a sync_job_id.

Example: ( $sync_job_id := $mapValues(integration.name,{ "calcom": "51b79ace-a7b4-4077-93ba-8048a06ece2b" }); { "sync_job_id": $sync_job_id, "integrated_account_id": integrated_account_id, "webhook_id": "9fda519d-148f-4cc5-bbac-4e373b16e5d4" } )
cron_expressionstring

Optional cron expression for scheduled execution, in UTC. When set, the step creates a sync job cron trigger instead of starting a run, so the trigger's check applies: the step fails if the expression doesn't parse or its next two runs are less than 5 minutes apart.

Example: 0 */6 * * *
run_ifstring

JSONata condition; the step is skipped when it is falsy.

typestring

Step execution type.

Example: run
Possible values:
run
created_atstring · date-time

When the workflow was created.

environment_idstring · uuid

The environment the workflow belongs to.

Example: 05daecaf-4365-42e8-8370-8127de5dd717
idstring · uuid

The ID of the workflow.

Example: 4a4de828-f4db-4c9e-adfd-434e0864c3c7
trigger_namestring

The event that runs the workflow. integrated_account:active runs when an integrated account becomes active (for example right after it is connected); unified_webhook:batch runs when a batch of unified webhook events arrives.

Example: integrated_account:active
Possible values:
integrated_account:activeunified_webhook:batch
updated_atstring · date-time

When the workflow was last updated.