Skip to content
Proud to collaborate with Microsoft for Startups

connection.test_connection ​

Test cloud connection (DAG step)

DAG step: test connection to cloud provider.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-connection
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—UUID of the organization that owns the connection
connection_uuiduuidYes—UUID of the connection to test

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization that owns the connection
provider_typestringYes—Cloud provider key (aws, gcp, azure, cloudflare, github, route53, lovable, ...)
connection_namestringNo—Human-friendly name for the connection
dialectstringNo—SQL dialect (postgres v1; mysql/etc. later)
hoststringNo—SQL database hostname or IP
portstringNo—SQL database TCP port (default 5432 for postgres)
databasestringNo—SQL database / catalog name
ssl_modestringNo—Postgres sslmode (disable, allow, prefer, require, ...)
actorstringNo—Authenticated caller (Cognito sub or UUID) initiating the workflow
role_arnstringNo—AWS IAM role ARN to assume
regionslistNo—AWS regions the connection should cover
regionstringNo—Default region (Azure / single-region providers)
aws_connection_uuiduuidNo—Existing AWS CloudConnection.uuid (Route53 reuse)
zone_modestringNo—Route53 hosted-zone selection mode
zone_refslistNo—Route53 hosted-zone references
project_refstringNo—GCP project reference; derived from service_account_json when omitted
tenant_refstringNo—Azure AD tenant reference
tenant_idstringNo—Magalu Cloud project tenant UUID (x-tenant-id)
auth_modestringNo—Magalu auth mode: api_key, oauth, or object_storage
client_refstringNo—Provider application client reference (Azure, iFood, etc.)
subscription_refstringNo—Azure subscription reference
app_connection_uuiduuidNo—iFood application connection this merchant authorizes through. When set, the merchant connection stores no application secret of its own
session_idstringNo—Provider session identifier (Wasender WhatsApp session)
sap_environmentstringNo—SAP data environment: 'sandbox' (Accelerator Hub, default) or 'live'
account_refstringNo—Provider account reference (Cloudflare, etc.)
team_refstringNo—Provider team/organization reference (Vercel)
base_urlstringNo—Self-hosted / OpenAI-compatible provider base URL
azure_endpointstringNo—Azure OpenAI resource endpoint (https://{resource}.openai.azure.com)
api_versionstringNo—Azure OpenAI API version query (e.g. 2024-02-01)
custom_domainstringNo—Custom domain override for self-hosted instances
header_namestringNo—MCP: header to carry the API key (default X-API-Key)
auth_schemestringNo—MCP: Authorization scheme prefix (default Bearer)
resource_urlstringNo—MCP: RFC 9728 protected-resource identifier
authorization_serverstringNo—MCP: issuer of the authorization server backing this resource
authorize_endpointstringNo—MCP: RFC 8414 authorization endpoint
token_endpointstringNo—MCP: RFC 8414 token endpoint
registration_endpointstringNo—MCP: RFC 7591 dynamic client registration endpoint
registered_via_dcrbooleanNo—MCP: client_id was created by dynamic client registration
token_expires_atstringNo—MCP: ISO-8601 expiry of the current access token
scopesjsonNo—MCP: list of OAuth scopes granted for this connection
extra_headersjsonNo—MCP: additional static headers to send on every request
redirect_uristringNo—MCP: primary OAuth callback registered on the DCR client
redirect_urisjsonNo—MCP: all OAuth callbacks registered on the DCR client
organizationstringNo—Organization slug for providers that scope by org
installation_refintegerNo—GitHub App installation reference
app_refstringNo—Meta App ID reference (optional; for future token exchange)
app_secretstringNo—Meta App Secret (optional; for future token exchange)
graph_api_versionstringNo—Meta Graph API version (default v21.0)
default_page_refstringNo—Default Meta Page reference for organic publishing
instagram_business_account_refstringNo—Linked Instagram Business Account reference
user_access_tokenstringNo—Long-lived Meta User token for Page/IG discovery
page_access_tokenstringNo—Page access token for the default Meta Page publish target
pagesjsonNo—Cached Meta Pages + IG refs from connection.meta.sync-assets
channel_refstringNo—YouTube channel reference (organic)
channelsjsonNo—Cached YouTube channel inventory from connection.youtube.sync-assets
organization_refstringNo—Organization pin (Deere org id or LinkedIn Community URN)
organizationsjsonNo—Cached org inventory from connection.deere.sync-assets or linkedin-community.sync-assets
ad_account_refstringNo—Ads account reference (meta_ads / linkedin_ads)
ad_accountsjsonNo—Cached Meta Ads ad-account inventory from connection.meta-ads.sync-assets
pixel_idstringNo—OpenAI Ads Pixel ID used as the default data source for Conversions API sends
docusign_auth_modestringNo—DocuSign auth mode: user_oauth (default) or org_jwt
docusign_environmentstringNo—DocuSign environment: developer (default) or production
docusign_account_refstringNo—DocuSign account reference (GUID) pin; the userinfo default account when omitted
docusign_user_refstringNo—DocuSign API user reference (GUID) an org_jwt connection impersonates
docusign_rsa_private_keystringNo—RSA private key (PEM) registered on the DocuSign integration key (org_jwt)
accountsjsonNo—Cached DocuSign account inventory from oauth-exchange userinfo
customer_refstringNo—Google Ads customer / account reference
accountjsonNo—Authenticated X user {id, username, name, profile_image_url} from oauth-exchange
enterprise_refstringNo—Slack enterprise/team grid reference
bot_user_refstringNo—Slack bot user reference
endpoint_urlstringNo—S3-compatible endpoint URL (Neon branch storage endpoint)
s3_endpointstringNo—Alias for endpoint_url (Neon Object Storage)
branch_refstringNo—Neon branch reference (label only for neon_storage)
auth_methodstringNo—Sentry auth method
organization_slugstringNo—Sentry organization slug
project_slugstringNo—Sentry project slug
expires_atstringNo—ISO-8601 expiry of the current OAuth access_token
scopestringNo—OAuth scope string granted by the provider
company_refstringNo—Provider-side account/company reference (Bling)
kubernetes_auth_modestringNo—Kubernetes auth mode: static, incluster_service_account, gke_delegated, or eks_delegated
kubernetes_provider_connection_uuiduuidNo—Same-organization GCP/AWS connection used for delegated token minting
kubernetes_cluster_locationstringNo—Cluster region or location used by delegated authentication
kubernetes_cluster_namestringNo—Provider cluster name used by delegated authentication
api_serverstringNo—Kubernetes API server URL (https://...); overrides parsed kubeconfig server when set
ca_certificatestringNo—Cluster CA bundle (PEM)
namespace_defaultstringNo—Default Kubernetes namespace for ops that don't carry one
connection_uuiduuidNo—UUID of the persisted connection (set by persist step)
initiated_atstringNo—ISO-8601 timestamp when the step was initiated
initiated_bystringNo—Actor that initiated the step
validation_passedbooleanNo—True after credentials validated
validated_atstringNo—ISO-8601 timestamp of validation
test_passedbooleanNo—True after connectivity test
test_resultjsonNo—Provider connectivity test result
account_infojsonNo—Provider account metadata returned by test_connection (forwarded to persist)
tested_atstringNo—ISO-8601 timestamp of connectivity test
persistedbooleanNo—True when persist step wrote a row
persisted_atstringNo—ISO-8601 timestamp of persist
restoredbooleanNo—True when persist restored a soft-deleted row
sync_skippedbooleanNo—True when DNS sync was skipped
sync_reasonstringNo—Reason DNS sync was skipped
zones_syncedintegerNo—Zones written/updated by DNS sync
records_syncedintegerNo—Records written/updated by DNS sync
sync_completed_atstringNo—ISO-8601 timestamp of DNS sync completion
sync_errorstringNo—DNS sync error message
sync_failed_atstringNo—ISO-8601 timestamp of DNS sync failure
completed_atstringNo—ISO-8601 timestamp of step completion
failed_atstringNo—ISO-8601 timestamp of step failure
failure_reasonstringNo—Failure reason
failure_typestringNo—Failure category
failed_actionstringNo—Action method that raised
failed_at_statestringNo—State the workflow was in when it failed
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
failed_layerstringNo—Engine-stamped layer index (DAG path)
failed_stepstringNo—Engine-stamped step name (DAG path)
retried_fromstringNo—Previous terminal state restored by engine retry
retry_countintegerNo—Number of retry attempts recorded by the engine

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "connection.test_connection",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value"
  }
}