Use this skill when the user wants to convert a Prefect task that syncs Fivetran — FivetranConnector block, trigger_sync_and_wait_for_completion, or FivetranSyncResult — into an equivalent Orchestra pipeline task. Triggers: any mention of migrating or rewriting Prefect Fivetran tasks to Orchestra; any Prefect flow code importing from prefect_fivetran.
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Converts Prefect Fivetran sync tasks into Orchestra pipeline YAML. A Prefect FivetranConnector block plus trigger_sync_and_wait_for_completion() maps directly to a single Orchestra task with integration: FIVETRAN and integration_job: FIVETRAN_SYNC_ALL. Orchestra always waits for sync completion — no additional configuration is required.
| Prefect construct | Orchestra field | Notes |
|---|---|---|
FivetranConnector.load("...") | connection: | Stores API key + secret; create in Connectors → Fivetran |
connector_id (slug) | parameters.connector_id | Short slug (e.g. bronzing_regularly), not a UUID |
trigger_sync_and_wait_for_completion() | (always waits) | No extra config needed; Orchestra polls until done |
FivetranSyncResult return value | (discard) | No downstream pass-through needed; use alerts for status |
version: v1
name: fivetran-flow
pipeline:
stage-001:
tasks:
task-001:
integration: FIVETRAN
integration_job: FIVETRAN_SYNC_ALL
name: sync_salesforce
connection: fivetran_prod_12345
parameters:
connector_id: bronzing_regularly
depends_on: []
condition: null
tags: []FivetranConnector.load("...") block name — this becomes connection:connector_id slug in the Prefect block or Fivetran UI (Connectors page URL)integration: FIVETRAN and integration_job: FIVETRAN_SYNC_ALLparameters.connector_id to the slugstage-001 (or a new stage) with depends_on: [task-001]alerts: block if the Prefect flow had on_failure/on_completion hooks (see prefect-alerts-to-orchestra)from prefect import flow
from prefect_fivetran import FivetranConnector
from prefect_fivetran.fivetran import trigger_sync_and_wait_for_completion
@flow
def fivetran_flow():
connector = FivetranConnector.load("fivetran-prod")
result = trigger_sync_and_wait_for_completion(fivetran_connector=connector)version: v1
name: fivetran-flow
pipeline:
stage-001:
tasks:
task-001:
integration: FIVETRAN
integration_job: FIVETRAN_SYNC_ALL
name: sync_salesforce
connection: fivetran_prod_12345
parameters:
connector_id: bronzing_regularly
depends_on: []
condition: null
tags: []connector_id is a slug (e.g. bronzing_regularly), not a UUID — find it on the Fivetran Connectors page in the URL or connector detailsapi_key and api_secret go on the Orchestra Fivetran connection object, never in the pipeline YAMLintegration: DBT_CORE, integration_job: DBT_CORE_EXECUTE) with depends_on: [task-001]FivetranSyncResult — if downstream tasks consumed sync metadata, remove that dependency or use Orchestra pipeline outputsSee prefect-alerts-to-orchestra for all notification patterns.
orchestra-hq/orchestra-skills
8f6c1bc
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.