Google API Service
The Google API Service connects B2Win Suite to Google APIs using a Service Account, enabling integration with Gmail and other Google services. It is used by the Send Email (Gmail) node.
Setup Steps
- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Go to APIs & Services > Library.
- Search for the API you need (Gmail API, Google Sheets API, or Google Drive API) and enable it.
- Go to APIs & Services > Credentials.
- Click Create Credentials > Service account.
- Fill in the service account details and click Create.
- Grant the service account the Project > Editor role.
- Click Create Key, select JSON, and click Create — a JSON file will be downloaded to your computer.
Configure in B2Win Suite
Go to Configurations > Services and open the Google API service. Create a new configuration or edit an existing one:
- Name: A display name for the configuration.
- Google Credentials File: Upload the JSON key file downloaded above.
Click Test Connection to verify and Save to store the configuration.
See Services Configuration for admin options such as field permissions and override policies, or My Services if you are configuring this as a user.
Usage
Once configured, this service can be selected in the following nodes:
- Send Email (Gmail) — send emails via a Gmail account using service account delegation.
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.