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.
| Field | Required | Description |
|---|---|---|
| Google Credentials File | Yes | Upload 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:
- Send Email (Gmail) - send email through the Gmail API.
Example
Use a Google API service to send workflow notifications through Gmail:
- Create an OAuth 2.0 Client ID (Web application) and download the JSON.
- Upload the JSON file to the Google Credentials File field.
- Click Authorize and complete the Google sign-in.
- Select the service in Send Email (Gmail).
- 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/oauth2callbackat 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.