# Fivetran (/integrations/fivetran)





{/* MANUAL-CONTENT-START:intro */}

Use [Fivetran](https://www.fivetran.com/) to manage connections and monitor data syncs.

* List, read, create, update, pause, resume, or delete connections; inspect connector setup fields; and generate Connect Card links for source owners.
* Start syncs, re-sync connections or selected tables, run setup tests, reload schemas, and change which schemas and tables are synced.
* Read sync history, per-stage data volumes, warnings, schema configuration, and connection states.
* Create or inspect groups and destinations, test destinations, and list, run, or cancel transformations.
* Read account details, users, service accounts, and supported connector types.

## Authentication [#authentication]

In Fivetran, open your user menu and choose **API Key → Generate API key**. Under the block's **Fivetran Account** field, choose **Add API key** and enter the key and secret. Sim validates them, stores them encrypted as a reusable credential, and populates the Connection, Group, and Destination pickers. The key acts with its owner's Fivetran permissions.

## Webhook lifecycle [#webhook-lifecycle]

Triggers take the API key and secret directly. When you deploy the workflow, Sim registers an account-level or group-level webhook and generates its signing secret. Sim verifies incoming deliveries against that secret. Remove the trigger and redeploy to delete its webhook.

Triggers cover sync start/end, connection success/failure/change, table re-sync, and transformation start/success/failure events.

{/* MANUAL-CONTENT-END */}

## Use the block [#usage-instructions]

List, create, update, pause, resume, and delete connections, trigger syncs and historical re-syncs, read sync history, warnings, and schema configs, enable or disable schemas and tables, run setup tests, generate Connect Card links, look up connector setup fields, create and inspect groups and destinations, run and cancel transformations, review users, and react to sync, connection, and transformation webhooks.

## Actions [#actions]

### Fivetran List Connections [#fivetran-list-connections]

List Fivetran connections with their sync state, schedule, and last success or failure, optionally filtered by group or schema name.

<ReferenceDetails>
  #### Input [#input]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `groupId` | string | No | Only return connections in this group |
  | `schema` | string | No | Only return the connection with this exact schema name |
  | `cursor` | string | No | Paging cursor from the nextCursor of a previous page |
  | `limit` | number | No | Number of records per page, from 1 to 1000 (default 100) |

  #### Output [#output]

  | Parameter | Type | Description |
  | - | - | - |
  | `connections` | array | Connections |
  | ↳ `id` | string | Connection ID |
  | ↳ `groupId` | string | Destination group ID |
  | ↳ `service` | string | Connector type, e.g. okta |
  | ↳ `serviceVersion` | number | Connector type version |
  | ↳ `schema` | string | Connection name, also the destination schema name |
  | ↳ `paused` | boolean | Whether the connection is paused |
  | ↳ `pauseAfterTrial` | boolean | Whether the connection pauses when the free trial ends |
  | ↳ `connectedBy` | string | ID of the user who created the connection |
  | ↳ `createdAt` | string | When the connection was created |
  | ↳ `succeededAt` | string | Last successful sync time |
  | ↳ `failedAt` | string | Last failed sync time |
  | ↳ `syncFrequency` | number | Sync frequency in minutes |
  | ↳ `scheduleType` | string | Scheduling mode (auto or manual) |
  | ↳ `dailySyncTime` | string | Daily sync start time (HH:MM) for 24-hour frequency |
  | ↳ `dataDelaySensitivity` | string | Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC\_FREQUENCY) |
  | ↳ `dataDelayThreshold` | number | Custom data delay threshold in minutes |
  | ↳ `networkingMethod` | string | Networking method, e.g. Directly or SshTunnel |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `dataChecks` | boolean | Whether automated data validation is enabled |
  | ↳ `destinationSchemaNames` | string | Destination schema naming (FIVETRAN\_NAMING or SOURCE\_NAMING) |
  | ↳ `status` | object | Current connection state |
  | ↳ `setupState` | string | Setup state (incomplete, connected, broken) |
  | ↳ `syncState` | string | Sync state (scheduled, syncing, paused, rescheduled) |
  | ↳ `updateState` | string | Data update state (on\_schedule, delayed) |
  | ↳ `isHistoricalSync` | boolean | Whether a historical re-sync is pending or running |
  | ↳ `schemaStatus` | string | Schema status |
  | ↳ `rescheduledFor` | string | Next sync attempt when the sync is rescheduled |
  | ↳ `tasks` | array | Tasks that need action |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `warnings` | array | Active warnings |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `schedule` | object | Sync schedule configuration |
  | ↳ `scheduleType` | string | Schedule type (TIME\_OF\_DAY, INTERVAL, CRON, MANUAL) |
  | ↳ `interval` | number | Interval in minutes |
  | ↳ `cron` | string | Cron expression |
  | ↳ `daysOfWeek` | array | Days the connection can sync |
  | ↳ `timeOfDay` | string | Time of day (HH:MM) |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
  | ↳ `config` | json | Connector-specific setup configuration |
  | `nextCursor` | string | Cursor for the next page; null on the last page |
</ReferenceDetails>

### Fivetran Get Connection [#fivetran-get-connection]

Get a Fivetran connection, including its setup, sync, and update state, open tasks and warnings, and schedule.

<ReferenceDetails>
  #### Input [#input-1]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |

  #### Output [#output-1]

  | Parameter | Type | Description |
  | - | - | - |
  | `connection` | object | The connection |
  | ↳ `id` | string | Connection ID |
  | ↳ `groupId` | string | Destination group ID |
  | ↳ `service` | string | Connector type, e.g. okta |
  | ↳ `serviceVersion` | number | Connector type version |
  | ↳ `schema` | string | Connection name, also the destination schema name |
  | ↳ `paused` | boolean | Whether the connection is paused |
  | ↳ `pauseAfterTrial` | boolean | Whether the connection pauses when the free trial ends |
  | ↳ `connectedBy` | string | ID of the user who created the connection |
  | ↳ `createdAt` | string | When the connection was created |
  | ↳ `succeededAt` | string | Last successful sync time |
  | ↳ `failedAt` | string | Last failed sync time |
  | ↳ `syncFrequency` | number | Sync frequency in minutes |
  | ↳ `scheduleType` | string | Scheduling mode (auto or manual) |
  | ↳ `dailySyncTime` | string | Daily sync start time (HH:MM) for 24-hour frequency |
  | ↳ `dataDelaySensitivity` | string | Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC\_FREQUENCY) |
  | ↳ `dataDelayThreshold` | number | Custom data delay threshold in minutes |
  | ↳ `networkingMethod` | string | Networking method, e.g. Directly or SshTunnel |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `dataChecks` | boolean | Whether automated data validation is enabled |
  | ↳ `destinationSchemaNames` | string | Destination schema naming (FIVETRAN\_NAMING or SOURCE\_NAMING) |
  | ↳ `status` | object | Current connection state |
  | ↳ `setupState` | string | Setup state (incomplete, connected, broken) |
  | ↳ `syncState` | string | Sync state (scheduled, syncing, paused, rescheduled) |
  | ↳ `updateState` | string | Data update state (on\_schedule, delayed) |
  | ↳ `isHistoricalSync` | boolean | Whether a historical re-sync is pending or running |
  | ↳ `schemaStatus` | string | Schema status |
  | ↳ `rescheduledFor` | string | Next sync attempt when the sync is rescheduled |
  | ↳ `tasks` | array | Tasks that need action |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `warnings` | array | Active warnings |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `schedule` | object | Sync schedule configuration |
  | ↳ `scheduleType` | string | Schedule type (TIME\_OF\_DAY, INTERVAL, CRON, MANUAL) |
  | ↳ `interval` | number | Interval in minutes |
  | ↳ `cron` | string | Cron expression |
  | ↳ `daysOfWeek` | array | Days the connection can sync |
  | ↳ `timeOfDay` | string | Time of day (HH:MM) |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
  | ↳ `config` | json | Connector-specific setup configuration |
</ReferenceDetails>

### Fivetran Create Connection [#fivetran-create-connection]

Create a Fivetran connection in a group. The config object holds the connector-specific settings and the destination naming: schema for most connectors, schema\_prefix for databases, or schema and table for file connectors.

<ReferenceDetails>
  #### Input [#input-2]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `groupId` | string | Yes | ID of the destination group to create the connection in |
  | `service` | string | Yes | Connector type ID, e.g. okta or google\_sheets (see List Connector Types) |
  | `config` | json | Yes | Connector-specific setup configuration, including the destination name: schema (most connectors), schema\_prefix (databases), or schema and table (file connectors), e.g. \{"schema": "okta", "domain": "acme", "api\_token": "..."} |
  | `auth` | json | No | Connector-specific authorization settings, for connectors that take them |
  | `paused` | boolean | No | Create the connection paused |
  | `syncFrequency` | number | No | Sync frequency in minutes (1, 5, 15, 30, 60, 120, 180, 360, 480, 720, or 1440) |
  | `scheduleType` | string | No | auto lets Fivetran schedule syncs; manual runs syncs only on request |
  | `dailySyncTime` | string | No | Daily sync start time (HH:MM) when the sync frequency is 1440 |
  | `dataDelaySensitivity` | string | No | Data delay notification level: LOW, NORMAL, HIGH, CUSTOM, or SYNC\_FREQUENCY |
  | `dataDelayThreshold` | number | No | Custom data delay threshold in minutes, used with CUSTOM sensitivity |
  | `destinationSchemaNames` | string | No | Destination schema naming: FIVETRAN\_NAMING or SOURCE\_NAMING |
  | `pauseAfterTrial` | boolean | No | Pause the connection when its free trial ends |
  | `runSetupTests` | boolean | No | Run the setup tests after creating the connection |
  | `trustCertificates` | boolean | No | Automatically trust the source certificate during setup tests (default false) |
  | `trustFingerprints` | boolean | No | Automatically trust the SSH fingerprint during setup tests (default false) |

  #### Output [#output-2]

  | Parameter | Type | Description |
  | - | - | - |
  | `connection` | object | The created connection, with setup test results when they ran |
  | ↳ `id` | string | Connection ID |
  | ↳ `groupId` | string | Destination group ID |
  | ↳ `service` | string | Connector type, e.g. okta |
  | ↳ `serviceVersion` | number | Connector type version |
  | ↳ `schema` | string | Connection name, also the destination schema name |
  | ↳ `paused` | boolean | Whether the connection is paused |
  | ↳ `pauseAfterTrial` | boolean | Whether the connection pauses when the free trial ends |
  | ↳ `connectedBy` | string | ID of the user who created the connection |
  | ↳ `createdAt` | string | When the connection was created |
  | ↳ `succeededAt` | string | Last successful sync time |
  | ↳ `failedAt` | string | Last failed sync time |
  | ↳ `syncFrequency` | number | Sync frequency in minutes |
  | ↳ `scheduleType` | string | Scheduling mode (auto or manual) |
  | ↳ `dailySyncTime` | string | Daily sync start time (HH:MM) for 24-hour frequency |
  | ↳ `dataDelaySensitivity` | string | Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC\_FREQUENCY) |
  | ↳ `dataDelayThreshold` | number | Custom data delay threshold in minutes |
  | ↳ `networkingMethod` | string | Networking method, e.g. Directly or SshTunnel |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `dataChecks` | boolean | Whether automated data validation is enabled |
  | ↳ `destinationSchemaNames` | string | Destination schema naming (FIVETRAN\_NAMING or SOURCE\_NAMING) |
  | ↳ `status` | object | Current connection state |
  | ↳ `setupState` | string | Setup state (incomplete, connected, broken) |
  | ↳ `syncState` | string | Sync state (scheduled, syncing, paused, rescheduled) |
  | ↳ `updateState` | string | Data update state (on\_schedule, delayed) |
  | ↳ `isHistoricalSync` | boolean | Whether a historical re-sync is pending or running |
  | ↳ `schemaStatus` | string | Schema status |
  | ↳ `rescheduledFor` | string | Next sync attempt when the sync is rescheduled |
  | ↳ `tasks` | array | Tasks that need action |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `warnings` | array | Active warnings |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `schedule` | object | Sync schedule configuration |
  | ↳ `scheduleType` | string | Schedule type (TIME\_OF\_DAY, INTERVAL, CRON, MANUAL) |
  | ↳ `interval` | number | Interval in minutes |
  | ↳ `cron` | string | Cron expression |
  | ↳ `daysOfWeek` | array | Days the connection can sync |
  | ↳ `timeOfDay` | string | Time of day (HH:MM) |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
  | ↳ `config` | json | Connector-specific setup configuration |
</ReferenceDetails>

### Fivetran Update Connection [#fivetran-update-connection]

Update a Fivetran connection: pause or resume it, change its sync frequency or schedule, or update its configuration.

<ReferenceDetails>
  #### Input [#input-3]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `paused` | boolean | No | true pauses the connection, false resumes it |
  | `syncFrequency` | number | No | Sync frequency in minutes (1, 5, 15, 30, 60, 120, 180, 360, 480, 720, or 1440) |
  | `scheduleType` | string | No | auto lets Fivetran schedule syncs; manual runs syncs only on request |
  | `dailySyncTime` | string | No | Daily sync start time (HH:MM) when the sync frequency is 1440 |
  | `dataDelaySensitivity` | string | No | Data delay notification level: LOW, NORMAL, HIGH, CUSTOM, or SYNC\_FREQUENCY |
  | `dataDelayThreshold` | number | No | Custom data delay threshold in minutes, used with CUSTOM sensitivity |
  | `pauseAfterTrial` | boolean | No | Pause the connection when its free trial ends |
  | `isHistoricalSync` | boolean | No | true triggers a re-sync of all historical data |
  | `config` | json | No | Connector-specific configuration fields to change |
  | `auth` | json | No | Connector-specific authorization settings to change |
  | `runSetupTests` | boolean | No | Run the setup tests after the update |
  | `trustCertificates` | boolean | No | Automatically trust the source certificate during setup tests (default false) |
  | `trustFingerprints` | boolean | No | Automatically trust the SSH fingerprint during setup tests (default false) |

  #### Output [#output-3]

  | Parameter | Type | Description |
  | - | - | - |
  | `connection` | object | The updated connection |
  | ↳ `id` | string | Connection ID |
  | ↳ `groupId` | string | Destination group ID |
  | ↳ `service` | string | Connector type, e.g. okta |
  | ↳ `serviceVersion` | number | Connector type version |
  | ↳ `schema` | string | Connection name, also the destination schema name |
  | ↳ `paused` | boolean | Whether the connection is paused |
  | ↳ `pauseAfterTrial` | boolean | Whether the connection pauses when the free trial ends |
  | ↳ `connectedBy` | string | ID of the user who created the connection |
  | ↳ `createdAt` | string | When the connection was created |
  | ↳ `succeededAt` | string | Last successful sync time |
  | ↳ `failedAt` | string | Last failed sync time |
  | ↳ `syncFrequency` | number | Sync frequency in minutes |
  | ↳ `scheduleType` | string | Scheduling mode (auto or manual) |
  | ↳ `dailySyncTime` | string | Daily sync start time (HH:MM) for 24-hour frequency |
  | ↳ `dataDelaySensitivity` | string | Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC\_FREQUENCY) |
  | ↳ `dataDelayThreshold` | number | Custom data delay threshold in minutes |
  | ↳ `networkingMethod` | string | Networking method, e.g. Directly or SshTunnel |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `dataChecks` | boolean | Whether automated data validation is enabled |
  | ↳ `destinationSchemaNames` | string | Destination schema naming (FIVETRAN\_NAMING or SOURCE\_NAMING) |
  | ↳ `status` | object | Current connection state |
  | ↳ `setupState` | string | Setup state (incomplete, connected, broken) |
  | ↳ `syncState` | string | Sync state (scheduled, syncing, paused, rescheduled) |
  | ↳ `updateState` | string | Data update state (on\_schedule, delayed) |
  | ↳ `isHistoricalSync` | boolean | Whether a historical re-sync is pending or running |
  | ↳ `schemaStatus` | string | Schema status |
  | ↳ `rescheduledFor` | string | Next sync attempt when the sync is rescheduled |
  | ↳ `tasks` | array | Tasks that need action |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `warnings` | array | Active warnings |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `schedule` | object | Sync schedule configuration |
  | ↳ `scheduleType` | string | Schedule type (TIME\_OF\_DAY, INTERVAL, CRON, MANUAL) |
  | ↳ `interval` | number | Interval in minutes |
  | ↳ `cron` | string | Cron expression |
  | ↳ `daysOfWeek` | array | Days the connection can sync |
  | ↳ `timeOfDay` | string | Time of day (HH:MM) |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
  | ↳ `config` | json | Connector-specific setup configuration |
</ReferenceDetails>

### Fivetran Delete Connection [#fivetran-delete-connection]

Delete a Fivetran connection. This cannot be undone.

<ReferenceDetails>
  #### Input [#input-4]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |

  #### Output [#output-4]

  | Parameter | Type | Description |
  | - | - | - |
  | `code` | string | Fivetran response code, e.g. Success |
  | `message` | string | Fivetran response message |
</ReferenceDetails>

### Fivetran Sync Connection [#fivetran-sync-connection]

Start an incremental sync of a Fivetran connection now, without changing its schedule.

<ReferenceDetails>
  #### Input [#input-5]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `force` | boolean | No | Stop a sync that is already running and start again. By default a running sync is left alone. |

  #### Output [#output-5]

  | Parameter | Type | Description |
  | - | - | - |
  | `result` | string | Sync start result (STARTED, PAUSED, INCOMPLETE, ALREADY\_RUNNING, NOT\_STARTED) |
  | `message` | string | Fivetran response message |
</ReferenceDetails>

### Fivetran Re-sync Connection [#fivetran-re-sync-connection]

Run a full historical re-sync of a Fivetran connection, or only of the tables listed in scope. Fivetran returns 409 if a running sync cannot finish first.

<ReferenceDetails>
  #### Input [#input-6]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `scope` | json | No | Tables to re-sync, as a map of schema name to table names, e.g. \{"public": \["users", "orders"]}. Omit to re-sync every table. |

  #### Output [#output-6]

  | Parameter | Type | Description |
  | - | - | - |
  | `code` | string | Fivetran response code, e.g. Success |
  | `message` | string | Fivetran response message |
</ReferenceDetails>

### Fivetran Re-sync Tables [#fivetran-re-sync-tables]

Run a historical re-sync of specific tables in a Fivetran connection without changing its schedule.

<ReferenceDetails>
  #### Input [#input-7]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `tables` | json | Yes | Tables to re-sync, as a map of schema name to table names, e.g. \{"okta": \["system\_log", "user"]} |

  #### Output [#output-7]

  | Parameter | Type | Description |
  | - | - | - |
  | `code` | string | Fivetran response code, e.g. Success |
  | `message` | string | Fivetran response message |
</ReferenceDetails>

### Fivetran Run Connection Setup Tests [#fivetran-run-connection-setup-tests]

Run the setup tests of a Fivetran connection without changing its configuration, and return each test result.

<ReferenceDetails>
  #### Input [#input-8]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `trustCertificates` | boolean | No | Automatically trust the source certificate during setup tests (default false) |
  | `trustFingerprints` | boolean | No | Automatically trust the SSH fingerprint during setup tests (default false) |

  #### Output [#output-8]

  | Parameter | Type | Description |
  | - | - | - |
  | `connection` | object | The connection with its setup test results in setupTests |
  | ↳ `id` | string | Connection ID |
  | ↳ `groupId` | string | Destination group ID |
  | ↳ `service` | string | Connector type, e.g. okta |
  | ↳ `serviceVersion` | number | Connector type version |
  | ↳ `schema` | string | Connection name, also the destination schema name |
  | ↳ `paused` | boolean | Whether the connection is paused |
  | ↳ `pauseAfterTrial` | boolean | Whether the connection pauses when the free trial ends |
  | ↳ `connectedBy` | string | ID of the user who created the connection |
  | ↳ `createdAt` | string | When the connection was created |
  | ↳ `succeededAt` | string | Last successful sync time |
  | ↳ `failedAt` | string | Last failed sync time |
  | ↳ `syncFrequency` | number | Sync frequency in minutes |
  | ↳ `scheduleType` | string | Scheduling mode (auto or manual) |
  | ↳ `dailySyncTime` | string | Daily sync start time (HH:MM) for 24-hour frequency |
  | ↳ `dataDelaySensitivity` | string | Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC\_FREQUENCY) |
  | ↳ `dataDelayThreshold` | number | Custom data delay threshold in minutes |
  | ↳ `networkingMethod` | string | Networking method, e.g. Directly or SshTunnel |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `dataChecks` | boolean | Whether automated data validation is enabled |
  | ↳ `destinationSchemaNames` | string | Destination schema naming (FIVETRAN\_NAMING or SOURCE\_NAMING) |
  | ↳ `status` | object | Current connection state |
  | ↳ `setupState` | string | Setup state (incomplete, connected, broken) |
  | ↳ `syncState` | string | Sync state (scheduled, syncing, paused, rescheduled) |
  | ↳ `updateState` | string | Data update state (on\_schedule, delayed) |
  | ↳ `isHistoricalSync` | boolean | Whether a historical re-sync is pending or running |
  | ↳ `schemaStatus` | string | Schema status |
  | ↳ `rescheduledFor` | string | Next sync attempt when the sync is rescheduled |
  | ↳ `tasks` | array | Tasks that need action |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `warnings` | array | Active warnings |
  | ↳ `code` | string | Machine-readable condition code |
  | ↳ `message` | string | Human-readable label |
  | ↳ `details` | string | Additional context |
  | ↳ `schedule` | object | Sync schedule configuration |
  | ↳ `scheduleType` | string | Schedule type (TIME\_OF\_DAY, INTERVAL, CRON, MANUAL) |
  | ↳ `interval` | number | Interval in minutes |
  | ↳ `cron` | string | Cron expression |
  | ↳ `daysOfWeek` | array | Days the connection can sync |
  | ↳ `timeOfDay` | string | Time of day (HH:MM) |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
  | ↳ `config` | json | Connector-specific setup configuration |
</ReferenceDetails>

### Fivetran Get Sync History [#fivetran-get-sync-history]

List the recent syncs of a Fivetran connection with their outcome, failure reason, and data volume per stage. The time window is at most 7 days and defaults to the last hour.

<ReferenceDetails>
  #### Input [#input-9]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `startTime` | string | No | Start of the time window, ISO 8601 (e.g. 2026-01-01T00:00:00Z) |
  | `endTime` | string | No | End of the time window, ISO 8601 (e.g. 2026-01-01T01:00:00Z) |
  | `cursor` | string | No | Paging cursor from the nextCursor of a previous page |
  | `limit` | number | No | Number of records per page, from 1 to 1000 (default 100) |

  #### Output [#output-9]

  | Parameter | Type | Description |
  | - | - | - |
  | `syncs` | array | Syncs in the time window |
  | ↳ `syncId` | string | Sync ID |
  | ↳ `status` | string | Outcome (COMPLETED, FAILURE, CANCELED, INCOMPLETE, RESCHEDULED, PAUSED) |
  | ↳ `start` | string | When the sync started |
  | ↳ `end` | string | When the sync finished |
  | ↳ `reason` | string | Failure reason |
  | ↳ `extractVolumeMb` | number | Data extracted from the source, in MB |
  | ↳ `processVolumeMb` | number | Data processed, in MB |
  | ↳ `loadVolumeMb` | number | Data loaded into the destination, in MB |
  | `nextCursor` | string | Cursor for the next page; null on the last page |
</ReferenceDetails>

### Fivetran Get Connection Warnings [#fivetran-get-connection-warnings]

List the active warnings on a Fivetran connection, grouped by destination table.

<ReferenceDetails>
  #### Input [#input-10]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |

  #### Output [#output-10]

  | Parameter | Type | Description |
  | - | - | - |
  | `warningGroups` | array | Warnings grouped by destination table |
  | ↳ `schema` | string | Destination schema; null when the warning is not table-specific |
  | ↳ `table` | string | Destination table; null when the warning is not table-specific |
  | ↳ `warnings` | array | Warnings on the table |
  | ↳ `code` | string | Warning code |
  | ↳ `message` | string | Warning label |
  | ↳ `errorMessage` | string | Additional error details |
  | ↳ `createdAt` | string | When the warning was raised |
</ReferenceDetails>

### Fivetran Get Connection Schema Config [#fivetran-get-connection-schema-config]

Get the schemas, tables, and columns a Fivetran connection syncs, and whether each is enabled.

<ReferenceDetails>
  #### Input [#input-11]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |

  #### Output [#output-11]

  | Parameter | Type | Description |
  | - | - | - |
  | `schemas` | json | Schemas keyed by source schema name, each with name\_in\_destination, enabled, and tables keyed by table name (name\_in\_destination, enabled, sync\_mode, columns) |
  | `enableNewByDefault` | boolean | Whether new schemas, tables, and columns are enabled by default |
  | `schemaChangeHandling` | string | Schema change handling (ALLOW\_ALL, ALLOW\_COLUMNS, BLOCK\_ALL) |
  | `rowFilteringSupported` | boolean | Whether row filtering is available for the connection |
</ReferenceDetails>

### Fivetran Reload Connection Schema [#fivetran-reload-connection-schema]

Reload the schema config of a Fivetran connection from its source to pick up new schemas, tables, and columns. Large sources can take a long time.

<ReferenceDetails>
  #### Input [#input-12]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `excludeMode` | string | No | PRESERVE (default) keeps the enabled state of every schema and table; EXCLUDE sets schemas and tables as disabled when the config is reloaded |

  #### Output [#output-12]

  | Parameter | Type | Description |
  | - | - | - |
  | `schemas` | json | Schemas keyed by source schema name, each with name\_in\_destination, enabled, and tables keyed by table name (name\_in\_destination, enabled, sync\_mode, columns) |
  | `enableNewByDefault` | boolean | Whether new schemas, tables, and columns are enabled by default |
  | `schemaChangeHandling` | string | Schema change handling (ALLOW\_ALL, ALLOW\_COLUMNS, BLOCK\_ALL) |
  | `rowFilteringSupported` | boolean | Whether row filtering is available for the connection |
</ReferenceDetails>

### Fivetran Update Connection Table [#fivetran-update-connection-table]

Enable or disable syncing of one table in a Fivetran connection, and optionally change its sync mode.

<ReferenceDetails>
  #### Input [#input-13]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `schemaName` | string | Yes | Schema name as stored in the connection schema config (case-sensitive) |
  | `tableName` | string | Yes | Table name as stored in the connection schema config (case-sensitive) |
  | `enabled` | boolean | Yes | Whether the table syncs to the destination |
  | `syncMode` | string | No | Sync mode: SOFT\_DELETE, HISTORY, or LIVE (only for connectors that support switching) |

  #### Output [#output-13]

  | Parameter | Type | Description |
  | - | - | - |
  | `schemas` | json | Schemas keyed by source schema name, each with name\_in\_destination, enabled, and tables keyed by table name (name\_in\_destination, enabled, sync\_mode, columns) |
  | `enableNewByDefault` | boolean | Whether new schemas, tables, and columns are enabled by default |
  | `schemaChangeHandling` | string | Schema change handling (ALLOW\_ALL, ALLOW\_COLUMNS, BLOCK\_ALL) |
  | `rowFilteringSupported` | boolean | Whether row filtering is available for the connection |
</ReferenceDetails>

### Fivetran Create Connect Card [#fivetran-create-connect-card]

Generate a Connect Card link that lets someone authorize and finish setting up a Fivetran connection in a Fivetran-hosted form.

<ReferenceDetails>
  #### Input [#input-14]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `redirectUri` | string | Yes | HTTPS URL to send the user to after they finish setup |
  | `hideSetupGuide` | boolean | No | Hide the embedded setup guide |
  | `allFields` | boolean | No | Show fields that are hidden by default |

  #### Output [#output-14]

  | Parameter | Type | Description |
  | - | - | - |
  | `connectionId` | string | Connection ID |
  | `uri` | string | Connect Card URL to send the user to; it embeds a short-lived token |
  | `token` | string | Short-lived Connect Card token |
  | `redirectUri` | string | Where the user is sent after setup |
</ReferenceDetails>

### Fivetran List Groups [#fivetran-list-groups]

List the groups in the Fivetran account. Each group pairs with one destination, so the group ID is also the destination ID.

<ReferenceDetails>
  #### Input [#input-15]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `cursor` | string | No | Paging cursor from the nextCursor of a previous page |
  | `limit` | number | No | Number of records per page, from 1 to 1000 (default 100) |

  #### Output [#output-15]

  | Parameter | Type | Description |
  | - | - | - |
  | `groups` | array | Groups in the account |
  | ↳ `id` | string | Group ID |
  | ↳ `name` | string | Group name |
  | ↳ `createdAt` | string | When the group was created |
  | `nextCursor` | string | Cursor for the next page; null on the last page |
</ReferenceDetails>

### Fivetran Get Group [#fivetran-get-group]

Get a Fivetran group by ID.

<ReferenceDetails>
  #### Input [#input-16]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `groupId` | string | Yes | ID of the group |

  #### Output [#output-16]

  | Parameter | Type | Description |
  | - | - | - |
  | `group` | object | The group |
  | ↳ `id` | string | Group ID |
  | ↳ `name` | string | Group name |
  | ↳ `createdAt` | string | When the group was created |
</ReferenceDetails>

### Fivetran List Destinations [#fivetran-list-destinations]

List the destinations in the Fivetran account, such as Databricks or Snowflake, with their region and setup status.

<ReferenceDetails>
  #### Input [#input-17]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `cursor` | string | No | Paging cursor from the nextCursor of a previous page |
  | `limit` | number | No | Number of records per page, from 1 to 1000 (default 100) |

  #### Output [#output-17]

  | Parameter | Type | Description |
  | - | - | - |
  | `destinations` | array | Destinations |
  | ↳ `id` | string | Destination ID |
  | ↳ `groupId` | string | Group ID |
  | ↳ `service` | string | Destination type, e.g. databricks |
  | ↳ `region` | string | Data processing region |
  | ↳ `timeZoneOffset` | string | UTC offset used for sync scheduling |
  | ↳ `setupStatus` | string | Setup status (INCOMPLETE, CONNECTED, BROKEN) |
  | ↳ `daylightSavingTimeEnabled` | boolean | Whether the offset shifts with daylight saving time |
  | ↳ `networkingMethod` | string | Networking method |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
  | `nextCursor` | string | Cursor for the next page; null on the last page |
</ReferenceDetails>

### Fivetran Get Destination [#fivetran-get-destination]

Get a Fivetran destination with its region, time zone, and setup status.

<ReferenceDetails>
  #### Input [#input-18]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `destinationId` | string | Yes | ID of the destination (the same as its group ID) |

  #### Output [#output-18]

  | Parameter | Type | Description |
  | - | - | - |
  | `destination` | object | The destination |
  | ↳ `id` | string | Destination ID |
  | ↳ `groupId` | string | Group ID |
  | ↳ `service` | string | Destination type, e.g. databricks |
  | ↳ `region` | string | Data processing region |
  | ↳ `timeZoneOffset` | string | UTC offset used for sync scheduling |
  | ↳ `setupStatus` | string | Setup status (INCOMPLETE, CONNECTED, BROKEN) |
  | ↳ `daylightSavingTimeEnabled` | boolean | Whether the offset shifts with daylight saving time |
  | ↳ `networkingMethod` | string | Networking method |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
</ReferenceDetails>

### Fivetran Run Destination Setup Tests [#fivetran-run-destination-setup-tests]

Run the setup tests of a Fivetran destination, such as a Databricks workspace, and return each test result.

<ReferenceDetails>
  #### Input [#input-19]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `destinationId` | string | Yes | ID of the destination (the same as its group ID) |
  | `trustCertificates` | boolean | No | Automatically trust the source certificate during setup tests (default false) |
  | `trustFingerprints` | boolean | No | Automatically trust the SSH fingerprint during setup tests (default false) |

  #### Output [#output-19]

  | Parameter | Type | Description |
  | - | - | - |
  | `destination` | object | The destination with its setup test results in setupTests |
  | ↳ `id` | string | Destination ID |
  | ↳ `groupId` | string | Group ID |
  | ↳ `service` | string | Destination type, e.g. databricks |
  | ↳ `region` | string | Data processing region |
  | ↳ `timeZoneOffset` | string | UTC offset used for sync scheduling |
  | ↳ `setupStatus` | string | Setup status (INCOMPLETE, CONNECTED, BROKEN) |
  | ↳ `daylightSavingTimeEnabled` | boolean | Whether the offset shifts with daylight saving time |
  | ↳ `networkingMethod` | string | Networking method |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
</ReferenceDetails>

### Fivetran List Transformations [#fivetran-list-transformations]

List Fivetran transformations (dbt Core and Quickstart) with their status, schedule, and last run times.

<ReferenceDetails>
  #### Input [#input-20]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `groupId` | string | No | Only return transformations in this group |
  | `projectId` | string | No | Only return transformations in this dbt project |
  | `transformationType` | string | No | Only return this type: DBT\_CORE or QUICKSTART |
  | `cursor` | string | No | Paging cursor from the nextCursor of a previous page |
  | `limit` | number | No | Number of records per page, from 1 to 1000 (default 100) |

  #### Output [#output-20]

  | Parameter | Type | Description |
  | - | - | - |
  | `transformations` | array | Transformations |
  | ↳ `id` | string | Transformation ID |
  | ↳ `type` | string | Type (DBT\_CORE, QUICKSTART) |
  | ↳ `status` | string | Status (NEW, SCHEDULING, RUNNING, TERMINATING, SUCCEEDED, FAILED, BLOCKED, CANCELED, PARTIALLY\_SUCCEEDED) |
  | ↳ `paused` | boolean | Whether the transformation is paused |
  | ↳ `createdAt` | string | When it was created |
  | ↳ `createdById` | string | ID of the creating user or key |
  | ↳ `lastStartedAt` | string | Last run start time |
  | ↳ `lastEndedAt` | string | Last run end time |
  | ↳ `outputModelNames` | array | Output model names |
  | ↳ `schedule` | object | Transformation schedule |
  | ↳ `scheduleType` | string | Schedule type (INTEGRATED, TIME\_OF\_DAY, INTERVAL, CRON) |
  | ↳ `interval` | number | Interval in minutes |
  | ↳ `cron` | array | Cron expressions |
  | ↳ `daysOfWeek` | array | Days of the week |
  | ↳ `timeOfDay` | string | Time of day (HH:MM) |
  | ↳ `connectionIds` | array | Connections an integrated schedule depends on |
  | ↳ `transformationIds` | array | Transformations used for integrated scheduling |
  | ↳ `smartSyncing` | boolean | Whether Smart Syncing is enabled |
  | `nextCursor` | string | Cursor for the next page; null on the last page |
</ReferenceDetails>

### Fivetran Get Transformation [#fivetran-get-transformation]

Get a Fivetran transformation with its status, schedule, and output models.

<ReferenceDetails>
  #### Input [#input-21]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `transformationId` | string | Yes | ID of the transformation |

  #### Output [#output-21]

  | Parameter | Type | Description |
  | - | - | - |
  | `transformation` | object | The transformation |
  | ↳ `id` | string | Transformation ID |
  | ↳ `type` | string | Type (DBT\_CORE, QUICKSTART) |
  | ↳ `status` | string | Status (NEW, SCHEDULING, RUNNING, TERMINATING, SUCCEEDED, FAILED, BLOCKED, CANCELED, PARTIALLY\_SUCCEEDED) |
  | ↳ `paused` | boolean | Whether the transformation is paused |
  | ↳ `createdAt` | string | When it was created |
  | ↳ `createdById` | string | ID of the creating user or key |
  | ↳ `lastStartedAt` | string | Last run start time |
  | ↳ `lastEndedAt` | string | Last run end time |
  | ↳ `outputModelNames` | array | Output model names |
  | ↳ `schedule` | object | Transformation schedule |
  | ↳ `scheduleType` | string | Schedule type (INTEGRATED, TIME\_OF\_DAY, INTERVAL, CRON) |
  | ↳ `interval` | number | Interval in minutes |
  | ↳ `cron` | array | Cron expressions |
  | ↳ `daysOfWeek` | array | Days of the week |
  | ↳ `timeOfDay` | string | Time of day (HH:MM) |
  | ↳ `connectionIds` | array | Connections an integrated schedule depends on |
  | ↳ `transformationIds` | array | Transformations used for integrated scheduling |
  | ↳ `smartSyncing` | boolean | Whether Smart Syncing is enabled |
</ReferenceDetails>

### Fivetran Run Transformation [#fivetran-run-transformation]

Start a run of a Fivetran transformation now.

<ReferenceDetails>
  #### Input [#input-22]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `transformationId` | string | Yes | ID of the transformation |
  | `fullRefresh` | boolean | No | Rebuild incremental models from scratch (dbt --full-refresh) |

  #### Output [#output-22]

  | Parameter | Type | Description |
  | - | - | - |
  | `code` | string | Fivetran response code, e.g. Success |
  | `message` | string | Fivetran response message |
</ReferenceDetails>

### Fivetran Cancel Transformation [#fivetran-cancel-transformation]

Cancel a running Fivetran transformation.

<ReferenceDetails>
  #### Input [#input-23]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `transformationId` | string | Yes | ID of the transformation |

  #### Output [#output-23]

  | Parameter | Type | Description |
  | - | - | - |
  | `code` | string | Fivetran response code, e.g. Success |
  | `message` | string | Fivetran response message |
</ReferenceDetails>

### Fivetran Get Account Info [#fivetran-get-account-info]

Get the Fivetran account and the user or system key that the API key belongs to.

<ReferenceDetails>
  #### Input [#input-24]

  | Parameter | Type | Required | Description |
  | - | - | - | - |

  #### Output [#output-24]

  | Parameter | Type | Description |
  | - | - | - |
  | `accountId` | string | Fivetran account ID |
  | `accountName` | string | Account name |
  | `userId` | string | User ID, returned when a user API key is used |
  | `systemKeyId` | string | System key ID, returned when a system key is used |
</ReferenceDetails>

### Fivetran List Users [#fivetran-list-users]

List the users and service accounts in the Fivetran account with their role, status, and last login, for access reviews.

<ReferenceDetails>
  #### Input [#input-25]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `active` | boolean | No | true returns only enabled users, false only suspended ones; omit for both |
  | `userType` | string | No | Only return this type: REGULAR\_USER or SERVICE\_ACCOUNT |
  | `hasApiKey` | boolean | No | Only return users with (true) or without (false) an API key |
  | `cursor` | string | No | Paging cursor from the nextCursor of a previous page |
  | `limit` | number | No | Number of records per page, from 1 to 1000 (default 100) |

  #### Output [#output-25]

  | Parameter | Type | Description |
  | - | - | - |
  | `users` | array | Users |
  | ↳ `id` | string | User ID |
  | ↳ `email` | string | Email address |
  | ↳ `givenName` | string | First name |
  | ↳ `familyName` | string | Last name |
  | ↳ `role` | string | Account role |
  | ↳ `active` | boolean | Whether the user can log in |
  | ↳ `verified` | boolean | Whether the email address is verified |
  | ↳ `invited` | boolean | Whether the user was invited |
  | ↳ `userType` | string | REGULAR\_USER or SERVICE\_ACCOUNT |
  | ↳ `hasApiKey` | boolean | Whether the user has an API key, including expired keys |
  | ↳ `phone` | string | Phone number |
  | ↳ `loggedInAt` | string | Last login time |
  | ↳ `createdAt` | string | When the user was created |
  | `nextCursor` | string | Cursor for the next page; null on the last page |
</ReferenceDetails>

### Fivetran List Connector Types [#fivetran-list-connector-types]

List the source connector types available in Fivetran, with the service ID to use when creating a connection.

<ReferenceDetails>
  #### Input [#input-26]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `cursor` | string | No | Paging cursor from the nextCursor of a previous page |
  | `limit` | number | No | Number of records per page, from 1 to 1000 (default 100) |

  #### Output [#output-26]

  | Parameter | Type | Description |
  | - | - | - |
  | `connectorTypes` | array | Connector types |
  | ↳ `id` | string | Service ID used when creating a connection |
  | ↳ `name` | string | Display name |
  | ↳ `type` | string | Category, e.g. Security or Database |
  | ↳ `description` | string | What the connector does |
  | ↳ `connectorClass` | string | Connector class (standard or lite) |
  | ↳ `serviceStatus` | string | Availability (general\_availability, beta, private\_preview, sunset, development) |
  | ↳ `iconUrl` | string | Icon URL |
  | ↳ `linkToDocs` | string | Documentation URL |
  | ↳ `linkToErd` | string | ERD URL |
  | ↳ `supportsSchemaReload` | boolean | Whether schema reload is supported |
  | ↳ `supportedFeatures` | array | Supported feature IDs, e.g. RE\_SYNC or HISTORY |
  | `nextCursor` | string | Cursor for the next page; null on the last page |
</ReferenceDetails>

### Fivetran Get Connector Type [#fivetran-get-connector-type]

Get the configuration and authorization fields a Fivetran connector type takes, to build the config for Create Connection.

<ReferenceDetails>
  #### Input [#input-27]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `service` | string | Yes | Connector type ID, e.g. okta (see List Connector Types) |

  #### Output [#output-27]

  | Parameter | Type | Description |
  | - | - | - |
  | `connectorType` | object | The connector type |
  | ↳ `id` | string | Service ID used when creating a connection |
  | ↳ `name` | string | Display name |
  | ↳ `type` | string | Category, e.g. Security or Database |
  | ↳ `description` | string | What the connector does |
  | ↳ `connectorClass` | string | Connector class (standard or lite) |
  | ↳ `serviceStatus` | string | Availability (general\_availability, beta, private\_preview, sunset, development) |
  | ↳ `iconUrl` | string | Icon URL |
  | ↳ `linkToDocs` | string | Documentation URL |
  | ↳ `linkToErd` | string | ERD URL |
  | ↳ `supportsSchemaReload` | boolean | Whether schema reload is supported |
  | ↳ `supportedFeatures` | array | Supported feature IDs, e.g. RE\_SYNC or HISTORY |
  | `config` | json | JSON Schema of the configuration fields the connector takes in config |
  | `auth` | json | JSON Schema of the authorization fields the connector takes in auth, if any |
</ReferenceDetails>

### Fivetran Update Schema Config [#fivetran-update-schema-config]

Update how a Fivetran connection handles new schemas, tables, and columns, and enable or disable schemas and tables in one call.

<ReferenceDetails>
  #### Input [#input-28]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `schemaChangeHandling` | string | No | How new source objects are handled: ALLOW\_ALL (sync new schemas, tables, and columns), ALLOW\_COLUMNS (only new columns), or BLOCK\_ALL |
  | `schemas` | json | No | Schemas to change, keyed by schema name, e.g. \{"public": \{"enabled": true, "tables": \{"orders": \{"enabled": false}}}} |

  #### Output [#output-28]

  | Parameter | Type | Description |
  | - | - | - |
  | `schemas` | json | Schemas keyed by source schema name, each with name\_in\_destination, enabled, and tables keyed by table name (name\_in\_destination, enabled, sync\_mode, columns) |
  | `enableNewByDefault` | boolean | Whether new schemas, tables, and columns are enabled by default |
  | `schemaChangeHandling` | string | Schema change handling (ALLOW\_ALL, ALLOW\_COLUMNS, BLOCK\_ALL) |
  | `rowFilteringSupported` | boolean | Whether row filtering is available for the connection |
</ReferenceDetails>

### Fivetran Update Connection Schema [#fivetran-update-connection-schema]

Enable or disable syncing of one schema in a Fivetran connection, optionally changing several of its tables at once.

<ReferenceDetails>
  #### Input [#input-29]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `connectionId` | string | Yes | ID of the connection |
  | `schemaName` | string | Yes | Schema name as stored in the connection schema config (case-sensitive) |
  | `enabled` | boolean | Yes | Whether the schema syncs to the destination |
  | `tables` | json | No | Tables to change in this schema, keyed by table name, e.g. \{"orders": \{"enabled": false}} |

  #### Output [#output-29]

  | Parameter | Type | Description |
  | - | - | - |
  | `schemas` | json | Schemas keyed by source schema name, each with name\_in\_destination, enabled, and tables keyed by table name (name\_in\_destination, enabled, sync\_mode, columns) |
  | `enableNewByDefault` | boolean | Whether new schemas, tables, and columns are enabled by default |
  | `schemaChangeHandling` | string | Schema change handling (ALLOW\_ALL, ALLOW\_COLUMNS, BLOCK\_ALL) |
  | `rowFilteringSupported` | boolean | Whether row filtering is available for the connection |
</ReferenceDetails>

### Fivetran Create Group [#fivetran-create-group]

Create a Fivetran group. Each group holds one destination, so create the group first, then its destination.

<ReferenceDetails>
  #### Input [#input-30]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `name` | string | Yes | Name of the group |

  #### Output [#output-30]

  | Parameter | Type | Description |
  | - | - | - |
  | `group` | object | The created group |
  | ↳ `id` | string | Group ID |
  | ↳ `name` | string | Group name |
  | ↳ `createdAt` | string | When the group was created |
</ReferenceDetails>

### Fivetran Create Destination [#fivetran-create-destination]

Create the destination for a Fivetran group, such as a Databricks workspace. The config object holds the destination-specific connection settings.

<ReferenceDetails>
  #### Input [#input-31]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `groupId` | string | Yes | ID of the group the destination belongs to (each group has one destination) |
  | `service` | string | Yes | Destination type, e.g. databricks, snowflake, or big\_query |
  | `timeZoneOffset` | string | Yes | UTC offset used for sync scheduling, from -11 to +12, e.g. -5 or 0 |
  | `region` | string | No | Data processing region, e.g. AWS\_US\_EAST\_1 or GCP\_US\_EAST4 |
  | `config` | json | No | Destination-specific settings, e.g. for Databricks \{"server\_host\_name": "...", "http\_path": "...", "catalog": "...", "auth\_type": "PERSONAL\_ACCESS\_TOKEN", "personal\_access\_token": "..."} |
  | `daylightSavingTimeEnabled` | boolean | No | Shift the UTC offset with daylight saving time (US only) |
  | `runSetupTests` | boolean | No | Run the setup tests after creating the destination |
  | `trustCertificates` | boolean | No | Automatically trust the source certificate during setup tests (default false) |
  | `trustFingerprints` | boolean | No | Automatically trust the SSH fingerprint during setup tests (default false) |

  #### Output [#output-31]

  | Parameter | Type | Description |
  | - | - | - |
  | `destination` | object | The created destination, with setup test results when they ran |
  | ↳ `id` | string | Destination ID |
  | ↳ `groupId` | string | Group ID |
  | ↳ `service` | string | Destination type, e.g. databricks |
  | ↳ `region` | string | Data processing region |
  | ↳ `timeZoneOffset` | string | UTC offset used for sync scheduling |
  | ↳ `setupStatus` | string | Setup status (INCOMPLETE, CONNECTED, BROKEN) |
  | ↳ `daylightSavingTimeEnabled` | boolean | Whether the offset shifts with daylight saving time |
  | ↳ `networkingMethod` | string | Networking method |
  | ↳ `privateLinkId` | string | Private link ID |
  | ↳ `hybridDeploymentAgentId` | string | Hybrid deployment agent ID |
  | ↳ `proxyAgentId` | string | Proxy agent ID |
  | ↳ `setupTests` | array | Setup test results |
  | ↳ `title` | string | Setup test step name |
  | ↳ `status` | string | Result (PASSED, SKIPPED, WARNING, FAILED, JOB\_FAILED) |
  | ↳ `message` | string | Result message |
  | ↳ `details` | json | Additional diagnostic details |
</ReferenceDetails>

## Triggers [#triggers]

A trigger starts a workflow when a supported event occurs in this service.

### Fivetran All Events [#fivetran-all-events]

Trigger workflow on any Fivetran sync, connection, or transformation event

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-32]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | json | Event-specific payload; its fields depend on the event |
</ReferenceDetails>

### Fivetran Connection Created [#fivetran-connection-created]

Trigger workflow when a connection is created

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-1]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-33]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
</ReferenceDetails>

### Fivetran Connection Deleted [#fivetran-connection-deleted]

Trigger workflow when a connection is deleted

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-2]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-34]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
</ReferenceDetails>

### Fivetran Connection Edited [#fivetran-connection-edited]

Trigger workflow when connection credentials, sync frequency, or other settings change

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-3]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-35]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
  | ↳ `editType` | string | What was edited, e.g. CREDENTIALS |
  | ↳ `oldProperties` | json | Connector-specific properties before the edit, with secrets masked |
</ReferenceDetails>

### Fivetran Connection Failed [#fivetran-connection-failed]

Trigger workflow when Fivetran fails to connect to a source

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-4]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-36]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
  | ↳ `testName` | string | Name of the setup test |
  | ↳ `message` | string | Test result message |
</ReferenceDetails>

### Fivetran Connection Paused [#fivetran-connection-paused]

Trigger workflow when a connection is paused, by a user or automatically

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-5]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-37]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
  | ↳ `reason` | string | Why the connection was paused automatically |
</ReferenceDetails>

### Fivetran Connection Re-sync Triggered [#fivetran-connection-re-sync-triggered]

Trigger workflow when a historical re-sync of a connection is triggered

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-6]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-38]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
</ReferenceDetails>

### Fivetran Connection Resumed [#fivetran-connection-resumed]

Trigger workflow when a connection is resumed

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-7]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-39]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
</ReferenceDetails>

### Fivetran Connection Succeeded [#fivetran-connection-succeeded]

Trigger workflow when Fivetran connects to a source successfully

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-8]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-40]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
  | ↳ `testName` | string | Name of the setup test |
  | ↳ `message` | string | Test result message |
</ReferenceDetails>

### Fivetran Manual Sync Triggered [#fivetran-manual-sync-triggered]

Trigger workflow when someone triggers a manual sync of a connection

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-9]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-41]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
</ReferenceDetails>

### Fivetran Sync Ended [#fivetran-sync-ended]

Trigger workflow when a connection sync finishes, succeeds, fails, or is rescheduled

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-10]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-42]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `status` | string | Sync status (SUCCESSFUL, FAILURE, FAILURE\_WITH\_TASK, RESCHEDULED) |
  | ↳ `sync_type` | string | HISTORICAL or INCREMENTAL |
  | ↳ `load_volume_b` | number | Bytes loaded into the destination, on successful syncs that report it |
  | ↳ `reason` | string | Why the sync failed or was rescheduled |
  | ↳ `taskType` | string | Error type behind a FAILURE\_WITH\_TASK or RESCHEDULED status, e.g. reconnect |
  | ↳ `rescheduledAt` | string | When a rescheduled sync resumes |
  | ↳ `isRoutine` | boolean | Whether a reschedule is routine rather than error-driven |
</ReferenceDetails>

### Fivetran Sync Started [#fivetran-sync-started]

Trigger workflow when a connection starts syncing

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-11]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-43]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `sync_type` | string | HISTORICAL or INCREMENTAL |
</ReferenceDetails>

### Fivetran Table Re-sync Triggered [#fivetran-table-re-sync-triggered]

Trigger workflow when a historical re-sync of a table is triggered

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-12]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |
  | `triggerConnectionId` | string | No | Connection ID |

  #### Output [#output-44]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `actor` | string | Internal ID of the user who acted, or \_fivetran\_system for automatic actions |
  | ↳ `id` | string | Connection ID |
  | ↳ `schema` | string | Schema name |
  | ↳ `table` | string | Table name |
</ReferenceDetails>

### Fivetran Transformation Failed [#fivetran-transformation-failed]

Trigger workflow when a transformation run fails

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-13]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |

  #### Output [#output-45]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `id` | string | Transformation job ID |
  | ↳ `name` | string | Transformation job name |
  | ↳ `startTime` | string | When the run started |
  | ↳ `transformationType` | string | Job type (DBT\_CORE, QUICKSTART, DBT\_CLOUD, COALESCE) |
  | ↳ `schedule` | json | Job schedule (type and entries) |
  | ↳ `endTime` | string | When the run ended |
  | ↳ `result` | json | Run result with stepResults (step, success, start and end times, commandResult) |
</ReferenceDetails>

### Fivetran Transformation Started [#fivetran-transformation-started]

Trigger workflow when a transformation run starts

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-14]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |

  #### Output [#output-46]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `id` | string | Transformation job ID |
  | ↳ `name` | string | Transformation job name |
  | ↳ `startTime` | string | When the run started |
  | ↳ `transformationType` | string | Job type (DBT\_CORE, QUICKSTART, DBT\_CLOUD, COALESCE) |
  | ↳ `schedule` | json | Job schedule (type and entries) |
</ReferenceDetails>

### Fivetran Transformation Succeeded [#fivetran-transformation-succeeded]

Trigger workflow when a transformation run succeeds

<ReferenceDetails label="Configuration and outputs">
  #### Configuration [#configuration-15]

  | Parameter | Type | Required | Description |
  | - | - | - | - |
  | `apiKey` | string | Yes | API Key |
  | `apiSecret` | string | Yes | API Secret |
  | `triggerGroupId` | string | No | Group ID |

  #### Output [#output-47]

  | Parameter | Type | Description |
  | - | - | - |
  | `event` | string | Event type, e.g. sync\_end |
  | `createdAt` | string | When the event was generated (ISO 8601) |
  | `connectorType` | string | Connector type of the connection, e.g. okta |
  | `connectorId` | string | Connection ID |
  | `connectorName` | string | Connection name (its destination schema) |
  | `syncId` | string | ID of the sync the event belongs to |
  | `destinationGroupId` | string | Group ID of the destination |
  | `data` | object | |
  | ↳ `id` | string | Transformation job ID |
  | ↳ `name` | string | Transformation job name |
  | ↳ `startTime` | string | When the run started |
  | ↳ `transformationType` | string | Job type (DBT\_CORE, QUICKSTART, DBT\_CLOUD, COALESCE) |
  | ↳ `schedule` | json | Job schedule (type and entries) |
  | ↳ `endTime` | string | When the run ended |
  | ↳ `result` | json | Run result with stepResults (step, success, start and end times, commandResult) |
</ReferenceDetails>
