Skip to main content

Google API Service

Overview

The Google API Service connects B2Win Suite to Google APIs using a Google credential file. It is used by Google Workspace integrations such as Gmail.

Purpose

Use this service when workflows need to send email or access Google APIs through a configured Google Cloud project.

Setup Guide

Before configuring the service in B2Win Suite, create the Google Cloud credentials in Google API Service Setup.

Configure in B2Win Suite

Go to Configurations > Services and open Google API Service. Create a new configuration or edit an existing one.

FieldRequiredDescription
Google Credentials FileYesUpload an OAuth 2.0 Client ID JSON to use Authorize. A service account JSON can still be used for Drive/Sheets without OAuth.

Click Authorize after uploading an OAuth 2.0 Client ID JSON, then complete the Google sign-in. A service account JSON cannot generate an OAuth URL.

For administrator override settings, see Services Configuration. For user-specific settings, see My Services.

Usage

Once configured, this service can be selected in the following nodes:

Example

Use a Google API service to send workflow notifications through Gmail:

  1. Create an OAuth 2.0 Client ID (Web application) and download the JSON.
  2. Upload the JSON file to the Google Credentials File field.
  3. Click Authorize and complete the Google sign-in.
  4. Select the service in Send Email (Gmail).
  5. Configure the node recipients, subject, body, and attachments.

Troubleshooting

  • Verify the correct API is enabled in the Google Cloud Console.
  • Confirm the Authorized redirect URI is your B2Win Suite URL with /services/oauth2callback at the end.
  • Confirm the uploaded JSON is an OAuth 2.0 Client ID if you need Authorize.

Notes / Limitations

  • The service form exposes a single required Google Credentials File upload field.
  • Gmail access depends on the Google Cloud APIs enabled for the project and the signed-in Google account.