
Reverse ETL Sync
CertifiedTrigger a Segment Reverse ETL sync
Reverse ETL Sync
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.
type: io.kestra.plugin.twilio.segment.reverseetl.SyncExamples
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
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-twilio --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
modelId *string
Reverse ETL model ID
The Segment Reverse ETL model ID to execute
sourceId *string
Warehouse source ID
The Segment warehouse source ID backing the Reverse ETL sync
subscriptionId *string
Subscription ID
The Segment Reverse ETL subscription (mapping) ID
token *string
Segment API token
Bearer token for Segment Public API calls; must include Reverse ETL scopes for these tasks
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150errorOnFailing booleanstring
falseFail on sync error
Whether the task should fail if the Reverse ETL sync finishes with a failure status; defaults to false
maxDuration string
PT1HMaximum wait duration
Maximum total time to wait for completion when wait=true; defaults to 1h
pollInterval string
PT5SPolling interval
How often to poll Segment for sync status while waiting; defaults to 5s
uri string
https://api.segmentapis.comSegment API URL
Base URL for Segment API requests; defaults to https://api.segmentapis.com
wait booleanstring
falseWait for completion
Whether to wait for the Reverse ETL sync to complete before finishing the task; defaults to false
Outputs
created
Created sync payload
Creation response returned by Segment when the sync is triggered
io.kestra.plugin.twilio.segment.reverseetl.models.ReverseEtlSyncResponse-ReverseETLManualSync
date-timestatus
Final sync status
Returned only when wait=true
io.kestra.plugin.twilio.segment.reverseetl.models.ReverseEtlSyncStatus
io.kestra.plugin.twilio.segment.reverseetl.models.ReverseEtlSyncStatus-ExtractPhase
io.kestra.plugin.twilio.segment.reverseetl.models.ReverseEtlSyncStatus-LoadPhase
syncId string
Reverse ETL sync ID