Stay organized with collections
Save and categorize content based on your preferences.
Workflows publishes connectors that make it easier to access other
Google Cloud products within a workflow. This document details the correct
Workflows syntax for the available connectors.
For workflow samples that demonstrate how to use a connector, see each
connector's overview page.
To learn more about authentication, and behavior during retries and long-running
operations, see Understand connectors.
Invoke a connector call
Similar to invoking an HTTP endpoint,
a connector call requires call and args fields. You can specify a timeout
value and polling policy using the connector_params block:
CONNECTOR (required): the connector method in the form
googleapis.gcp_service.version.resource.operation. For example,
googleapis.bigquery.v2.tables.get.
ARG and ARG_VALUE (required):
each connector call requires different arguments.
KEY and KEY_VALUE (optional):
fields to supply input to the API.
Connector-specific parameters (optional):
TIMEOUT_IN_SECONDS: time in seconds.
The end-to-end duration the connector call is allowed to run for before
throwing a timeout exception. The default value is 1800 and this should
be the maximum for connector methods that are not long-running operations.
Otherwise, for long-running operations, the maximum timeout for a
connector call is 31536000 seconds (one year).
INITIAL_DELAY_IN_SECONDS: polling policy
parameter with a default value of 1.0. Only applies to long-running
operation calls.
MULTIPLIER_VALUE: polling policy parameter with
a default value of 1.25. Only applies to long-running operation calls.
MAX_DELAY_IN_SECONDS: polling policy parameter
with a default value of 60.0. Only applies to long-running operation
calls.
SKIP_POLLING_SWITCH: if set to True, the
connector invocation call is non-blocking if the initial request to manage
or update the resource succeeds (usually HTTP POST, HTTP UPDATE, or
HTTP DELETE). If the initial request is not successful, retries might
occur. Polling of status (HTTP GET requests that follow the initial
request) is skipped for the long-running operation after the initial
request completes. The default value is False.
OAUTH2_SCOPE: OAuth2 scopes to pass to the
Google API. Can be a string, list of strings, space-separated string, or
comma-separated string.
RESPONSE_VALUE (optional): variable name where the
result of a connector call invocation step is stored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Connectors reference\n\nWorkflows publishes connectors that make it easier to access other\nGoogle Cloud products within a workflow. This document details the correct\nWorkflows syntax for the available connectors.\n\nFor workflow samples that demonstrate how to use a connector, see each\nconnector's overview page.\n\nTo learn more about authentication, and behavior during retries and long-running\noperations, see [Understand connectors](/workflows/docs/connectors).\n\nInvoke a connector call\n-----------------------\n\nSimilar to [invoking an HTTP endpoint](/workflows/docs/http-requests),\na connector call requires `call` and `args` fields. You can specify a timeout\nvalue and polling policy using the `connector_params` block: \n\n```yaml\n- STEP_NAME:\n call: CONNECTOR\n args:\n ARG: ARG_VALUE\n [...]\n body:\n KEY:KEY_VALUE\n [...]\n connector_params:\n timeout: TIMEOUT_IN_SECONDS\n polling_policy:\n initial_delay: INITIAL_DELAY_IN_SECONDS\n multiplier: MULTIPLIER_VALUE\n max_delay: MAX_DELAY_IN_SECONDS\n skip_polling: SKIP_POLLING_SWITCH \n scopes: \u003cvar translate=\"no\"\u003e \u003c/var\u003eOAUTH2_SCOPE \n result: RESPONSE_VALUE\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eSTEP_NAME\u003c/var\u003e: the name of the step.\n- \u003cvar translate=\"no\"\u003eCONNECTOR\u003c/var\u003e (required): the connector method in the form `googleapis.gcp_service.version.resource.operation`. For example, `googleapis.bigquery.v2.tables.get`.\n- \u003cvar translate=\"no\"\u003eARG\u003c/var\u003e and \u003cvar translate=\"no\"\u003eARG_VALUE\u003c/var\u003e (required): each connector call requires different arguments.\n- \u003cvar translate=\"no\"\u003eKEY\u003c/var\u003e and \u003cvar translate=\"no\"\u003eKEY_VALUE\u003c/var\u003e (optional): fields to supply input to the API.\n- Connector-specific parameters (optional):\n - \u003cvar translate=\"no\"\u003eTIMEOUT_IN_SECONDS\u003c/var\u003e: time in seconds. The end-to-end duration the connector call is allowed to run for before throwing a timeout exception. The default value is `1800` and this should be the maximum for connector methods that are not long-running operations. Otherwise, for long-running operations, the maximum timeout for a connector call is `31536000` seconds (one year).\n - \u003cvar translate=\"no\"\u003eINITIAL_DELAY_IN_SECONDS\u003c/var\u003e: polling policy parameter with a default value of `1.0`. Only applies to long-running operation calls.\n - \u003cvar translate=\"no\"\u003eMULTIPLIER_VALUE\u003c/var\u003e: polling policy parameter with a default value of `1.25`. Only applies to long-running operation calls.\n - \u003cvar translate=\"no\"\u003eMAX_DELAY_IN_SECONDS\u003c/var\u003e: polling policy parameter with a default value of `60.0`. Only applies to long-running operation calls.\n - \u003cvar translate=\"no\"\u003eSKIP_POLLING_SWITCH\u003c/var\u003e: if set to `True`, the connector invocation call is non-blocking if the initial request to manage or update the resource succeeds (usually `HTTP POST`, `HTTP UPDATE`, or `HTTP DELETE`). If the initial request is not successful, retries might occur. Polling of status (`HTTP GET` requests that follow the initial request) is skipped for the long-running operation after the initial request completes. The default value is `False`.\n - \u003cvar translate=\"no\"\u003eOAUTH2_SCOPE\u003c/var\u003e: OAuth2 scopes to pass to the Google API. Can be a string, list of strings, space-separated string, or comma-separated string.\n- \u003cvar translate=\"no\"\u003eRESPONSE_VALUE\u003c/var\u003e (optional): variable name where the result of a connector call invocation step is stored.\n\nList of supported connectors\n----------------------------"]]