Skip to main content
Before triggering a Google OAuth flow or running workflows that depend on Google Drive, you can call this endpoint to check whether your Flowmatic account already has an active Google connection. The response tells you both whether a connection exists and, if so, which Google account is linked. This is useful for building UIs that conditionally show a “Connect Google” button, or for verifying integration state programmatically before executing a workflow.

Endpoint

Authentication

All requests must include a valid Bearer token in the Authorization header.

Request Body

This endpoint does not accept a request body or query parameters.

Response

boolean
Indicates whether your Flowmatic account currently has an active Google integration. true means a Google account has been authorized and linked; false means no connection exists.
string
The email address of the connected Google account. This field is only present when connected is true. When connected is false, this field is omitted entirely from the response.

Example Response — Not Connected

Example Response — Connected

Always check the value of connected before reading email. When connected is false, the email field will not be present in the response object, and attempting to access it directly without a guard may cause unexpected errors in your application code.
Call this endpoint first to determine the current connection state, then take action accordingly:
  • If connected is false, redirect the user (or instruct them to open) the Google Connect URL to initiate the OAuth flow.
  • If connected is true, you can proceed to run workflows that depend on Google Drive without any further authorization steps.

curl Example