Trigger a Sync and Poll to Completion
A 2-step recipe with Airbyte. We can help you get access.
Recipe · 2 steps
Trigger a Sync and Poll to Completion
with Airbyte
Trigger a sync job and poll the job until it reaches a terminal status.
- Kick off a new job of the requested type for the connection. The returned jobId is polled by the following step.
- Read the job status. While the job is still pending or running, loop back and read it again; once it reaches a terminal state, finish the workflow.
What you'll need to have ready
- connectionId: The UUID of the connection to sync.
- jobType: The job type to trigger (sync, reset, refresh, or clear). Defaults to sync.
For your developer
Arazzo workflow airbyte:trigger-sync-and-poll, 2 operations: createJob → getJob. Specs on APIs.io.