Trigger a Segment Reverse ETL sync

yaml
type: "io.kestra.plugin.segment.reverseetl.Sync"
yaml
id: run_segment_sync
namespace: company.team

tasks:
  - id: segment_reverse_etl
    type: io.kestra.plugin.segment.reverseetl.Sync
    token: "{{ secret('SEGMENT_TOKEN') }}"
    sourceId: warehouse_id
    modelId: model_id
    subscriptionId: subscription_id
    wait: true
Properties

Reverse ETL model ID

The Segment Reverse ETL model ID to execute

Warehouse source ID

The Segment warehouse source ID backing the Reverse ETL sync

Subscription ID

The Segment Reverse ETL subscription (mapping) ID

Segment API token

Defaultfalse

Fail on sync error

Whether the task should fail if the Reverse ETL sync finishes with a failure status

DefaultPT1H
Formatduration

Maximum wait duration

Maximum total time to wait for the Reverse ETL sync to complete

DefaultPT5S
Formatduration

Polling interval

How often to poll Segment for sync status

Defaulthttps://api.segmentapis.com

Segment API URL

Defaultfalse

Wait for completion

Whether to wait for the Reverse ETL sync to complete before finishing the task

Create sync response

Definitions
startedAtstring
Formatdate-time
syncIdstring

Final sync status

Returned only when wait=true

Definitions
durationstring
errorstring
errorCodestring
extractPhase
addedCountstring
deletedCountstring
extractCountstring
updatedCountstring
finishedAtstring
loadPhase
deliverFailureCountstring
deliverSuccessCountstring
modelIdstring
sourceIdstring
startedAtstring
syncIdstring
syncStatusstring

Reverse ETL sync ID