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 the Google credential JSON file downloaded from Google Cloud Console. |
Click Authorize when you need OAuth user authorization for Google APIs. The service can also use the uploaded credential file for service-account based access.
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 a Google Cloud service account and download the JSON credential file.
- Upload the credential file to the Google Credentials File field.
- Authorize the service if user authorization is required.
- 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 JSON key file has not been revoked or deleted.
- Check that the service account has sufficient permissions for the target API.
- Reauthorize the service if OAuth tokens are missing, expired, or revoked.
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 account or service account permissions.