Airbyte · Arazzo Workflow

Airbyte Find a Connection and Trigger Its Sync

Version 1.0.0

List the connections in a workspace, branch on whether any exist, then trigger and confirm a sync for the first connection.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Data IntegrationETLELTOpen-SourceData PipelineConnectorsDataArazzoWorkflows

Provider

airbyte

Workflows

find-connection-and-sync
Find the first connection in a workspace and trigger a sync for it.
Lists connections in a workspace, and if any exist triggers a sync for the first one and confirms the job started.
3 steps inputs: workspaceId outputs: connectionId, jobId, jobStatus
1
listConnections
List the connections in the workspace. Branch on whether any connections were returned.
2
triggerSync
Trigger a sync job for the first connection returned by the list step.
3
confirmJob
Read the triggered job back by id to confirm it has been accepted and is pending or running.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Airbyte Find a Connection and Trigger Its Sync
  summary: List the connections in a workspace, branch on whether any exist, then trigger and confirm a sync for the first connection.
  description: >-
    Discovers connections in a workspace and then acts on the result. The list
    step branches: when at least one connection exists it triggers a sync for
    the first connection and reads the resulting job back to confirm it
    started; when no connections exist it ends without triggering anything.
    Every step inlines its request so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: publicConnectionsApi
  url: ../openapi/airbyte-public-connections-api-openapi.yml
  type: openapi
- name: publicJobsApi
  url: ../openapi/airbyte-public-jobs-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-connection-and-sync
  summary: Find the first connection in a workspace and trigger a sync for it.
  description: >-
    Lists connections in a workspace, and if any exist triggers a sync for the
    first one and confirms the job started.
  inputs:
    type: object
    required:
    - workspaceId
    properties:
      workspaceId:
        type: string
        description: The UUID of the workspace to list connections for.
  steps:
  - stepId: listConnections
    description: >-
      List the connections in the workspace. Branch on whether any connections
      were returned.
    operationId: listConnections
    parameters:
    - name: workspaceIds
      in: query
      value: $inputs.workspaceId
    - name: limit
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      connectionId: $response.body#/data/0/connectionId
      connections: $response.body#/data
    onSuccess:
    - name: hasConnections
      type: goto
      stepId: triggerSync
      criteria:
      - context: $response.body
        condition: $.data.length > 0
        type: jsonpath
    - name: noConnections
      type: end
      criteria:
      - context: $response.body
        condition: $.data.length == 0
        type: jsonpath
  - stepId: triggerSync
    description: Trigger a sync job for the first connection returned by the list step.
    operationId: createJob
    requestBody:
      contentType: application/json
      payload:
        connectionId: $steps.listConnections.outputs.connectionId
        jobType: sync
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      jobId: $response.body#/jobId
      status: $response.body#/status
  - stepId: confirmJob
    description: >-
      Read the triggered job back by id to confirm it has been accepted and is
      pending or running.
    operationId: getJob
    parameters:
    - name: jobId
      in: path
      value: $steps.triggerSync.outputs.jobId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
      jobType: $response.body#/jobType
  outputs:
    connectionId: $steps.listConnections.outputs.connectionId
    jobId: $steps.triggerSync.outputs.jobId
    jobStatus: $steps.confirmJob.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/airbyte-find-connection-and-sync-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.