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 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.
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.