Twilio Sync

Twilio Sync

Certified

Trigger a Segment Reverse ETL sync

Starts a manual Reverse ETL sync in Segment and optionally waits for completion with polling. Uses the Segment Public API with bearer token authentication.

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

tasks:
  - id: segment_reverse_etl
    type: io.kestra.plugin.twilio.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

Bearer token for Segment Public API calls; must include Reverse ETL scopes for these tasks

Defaultfalse

Fail on sync error

Whether the task should fail if the Reverse ETL sync finishes with a failure status; defaults to false

DefaultPT1H

Maximum wait duration

Maximum total time to wait for completion when wait=true; defaults to 1h

Reference (ref) of the pluginDefaults to apply to this task.

DefaultPT5S

Polling interval

How often to poll Segment for sync status while waiting; defaults to 5s

Defaulthttps://api.segmentapis.com

Segment API URL

Base URL for Segment API requests; defaults to https://api.segmentapis.com

Defaultfalse

Wait for completion

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

Created sync payload

Creation response returned by Segment when the sync is triggered

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