SyncSourceBody

Body for Sync Source to Workflow. Maps workflow inputs to source fields and (by default) backfills existing rows.

Properties

workflow_idstring <uuid>required

UUID of the destination workflow.

field_mappingobjectrequired

Map of workflow input reference → source field, e.g. `{ "input.email": "email", "input.first_name": "firstname" }`. Keys are `input.<field>` references from the workflow's inputs; values are source field names. Keys are CASE-SENSITIVE and must be the exact lowercase snake_case form returned by List Inputs (the input's `reference` without the `{{ }}` braces) — e.g. `input.first_name`, not `Input.First_Name` or `input.firstName`. Surrounding `{{ }}` is tolerated; case/spelling variants are not, and return 400 `unknown input`.

push_existingboolean

Whether to backfill the workflow with the source's current rows. Defaults to true.

runstring

Controls whether backfilled rows execute the workflow: `all` (default) runs every row, `first_10` runs the first 10 and loads the rest, `none` loads rows without running.

"none""first_10""all"

Example

SyncSourceBody example
{
  "workflow_id": "00000000-0000-0000-0000-000000000000",
  "field_mapping": {},
  "push_existing": false,
  "run": "none"
}