
Sync
Trigger a Segment Reverse ETL sync
type: "io.kestra.plugin.segment.reverseetl.Sync"Examples
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
modelId*Requiredstring
Reverse ETL model ID
The Segment Reverse ETL model ID to execute
sourceId*Requiredstring
Warehouse source ID
The Segment warehouse source ID backing the Reverse ETL sync
subscriptionId*Requiredstring
Subscription ID
The Segment Reverse ETL subscription (mapping) ID
token*Requiredstring
Segment API token
errorOnFailingbooleanstring
falseFail on sync error
Whether the task should fail if the Reverse ETL sync finishes with a failure status
maxDurationstring
PT1HdurationMaximum wait duration
Maximum total time to wait for the Reverse ETL sync to complete
pollIntervalstring
PT5SdurationPolling interval
How often to poll Segment for sync status
uristring
https://api.segmentapis.comSegment API URL
waitbooleanstring
falseWait for completion
Whether to wait for the Reverse ETL sync to complete before finishing the task
Outputs
created
Create sync response
io.kestra.plugin.segment.reverseetl.models.ReverseEtlSyncResponse-ReverseETLManualSync
date-timestatus
Final sync status
Returned only when wait=true
io.kestra.plugin.segment.reverseetl.models.ReverseEtlSyncStatus
io.kestra.plugin.segment.reverseetl.models.ReverseEtlSyncStatus-ExtractPhase
io.kestra.plugin.segment.reverseetl.models.ReverseEtlSyncStatus-LoadPhase
syncIdstring
Reverse ETL sync ID