Google Workspace is a cloud-based productivity suite offering tools like Gmail, Docs, Drive, and Meet for seamless collaboration and communication. It integrates securely across devices, enhancing teamwork and efficiency for individuals and businesses.
Integrating Google Workspace boosts productivity by enabling real-time collaboration, secure file sharing, and streamlined communication across tools like Gmail, Drive, and Meet.
Authentication
Before integrating Google Workspace, ensure you have the following information:
Connection Name: Choose a descriptive name for your Google Workspace connection to help you identify it within your application or integration settings. A meaningful name, like "MyAppGoogleWorkspaceIntegration," helps maintain organization, especially when managing multiple integrations.Authentication Type: Select the type of authentication to connect to your Google Workspace account securely: OAuth, Service Account or OAuth with Client Credentials.Applications: Available for every authentication type. Select the applications where you want to add this connection. Each application needs its own scopes selected in Scopes; for example, Google Admin Reports requires Admin: Reports audit readonly.Scopes: Available for every authentication type. Select the scopes to include when creating the connection.
OAuth Based Authentication
The OAuth method involves signing in with your Google account credentials on Google's Single Sign-On page, and granting the necessary permissions to UnifyWorkflows, For OAuth-based authentication, you'll need to perform the following steps to generate access credentials:
Click on the
Authorisebutton. You’ll be redirected to a Google sign-in page.If you're not already logged into Google, enter your Google account credentials and Sign in.
Google will display a permissions request screen, showing the app name and the Google Workspace admin permissions we are requesting, such as managing users, groups, organizational units and licenses in your domain.
Carefully review the permissions being requested. If you’re comfortable with them, click the "
Allow" button.After granting access, you will be automatically redirected back to our platform, where you should see a confirmation message indicating that your Google account is now connected.
-blurred.png&w=1080&q=75)
-blurred.png)
Service Account Based Authentication
Create a service account by following these steps.
Add domain-level access to the service account (based on client ID) by following these steps.
Ensure that the following scopes are added to your service account and domain-level access:
In the connection form, select Service Account and enter the GCP Project Service Account Email, the Private Key (from the JSON key file you downloaded) and the User Email of the account to impersonate. Then select the Applications and Scopes as described above.
.png&w=1080&q=75)
.png)
OAuth with Client Credentials
Use this option to connect through your own Google OAuth app instead of the default UnifyApps app.
In the Google Cloud Console, open your project and enable the Admin SDK API.
Go to APIs & Services > Credentials and create an OAuth client ID of type Web application.
Under Authorized redirect URIs, add the Callback URL shown in the UnifyApps connection form.
Copy the client ID and client secret Google gives you.
In the connection form, select OAuth with Client Credentials and enter the Client ID and Client secret.
Select the Applications and Scopes you need.
Click Authorize, sign in with your Google account and allow the requested permissions.
Actions
| Action | Description |
Add group | Adds a group in Google Workspace |
Add license | Assigns a license in Google Workspace |
Add member to group | Adds a member to a group in Google Workspace |
Add organizational unit | Adds an organizational unit in Google Workspace |
Add role | Adds a role in Google Workspace |
Add role assignment | Adds a role assignment in Google Workspace |
Add user | Adds a user in Google Workspace |
Add user alias | Adds a user alias in Google Workspace |
Delete access token | Deletes an access token in Google Workspace |
Delete app specific password | Deletes an app-specific password in Google Workspace |
Delete group | Deletes a group in Google Workspace |
Delete license | Deletes a license assigned to a user in Google Workspace |
Delete member from group | Deletes a member from a group in Google Workspace |
Delete mobile device | Removes a mobile device in Google Workspace |
Delete organizational unit | Deletes an organizational unit in Google Workspace |
Delete role | Deletes a role in Google Workspace |
Delete role assignment | Deletes a role assignment in Google Workspace |
Delete user | Deletes a user in Google Workspace |
Delete user alias | Deletes a user alias in Google Workspace |
Generate verification codes | Generates new backup verification codes for a user in Google Workspace |
Get access token | Gets an access token from Google Workspace |
Get app specific password | Gets an app-specific password from Google Workspace |
Get group | Gets a group from Google Workspace |
Get group settings | Gets group settings from Google Workspace |
Get license | Gets a license assigned to a user from Google Workspace |
Get member from group | Gets a member from a group from Google Workspace |
Get organizational unit | Gets an organizational unit from Google Workspace |
Get role | Gets a role from Google Workspace |
Get role assignment | Gets a role assignment from Google Workspace |
Get user | Gets a user from Google Workspace |
Get verification codes | Gets the current set of valid backup verification codes for a user from Google Workspace |
Invalidate verification codes | Invalidates the current backup verification codes for a user in Google Workspace |
Mobile device action | Takes an action that affects a mobile device in Google Workspace |
Search access token | Searches for an access token in Google Workspace |
Search app specific password | Searches for an app-specific password in Google Workspace |
Search group | Searches for a group in Google Workspace |
Search license | Searches for a license assigned to a user in Google Workspace |
Search member from group | Searches for a member from a group in Google Workspace |
Search mobile device | Searches for a mobile device in Google Workspace |
Search organizational unit | Searches for an organizational unit in Google Workspace |
Search role | Searches for a role in Google Workspace |
Search role assignment | Searches for a role assignment in Google Workspace |
Search user | Searches for a user in Google Workspace |
Search user alias | Searches for a user alias in Google Workspace |
Transfer data | Inserts a data transfer request in Google Workspace |
Update group | Updates a group in Google Workspace |
Update group settings | Updates group settings in Google Workspace |
Update license | Reassigns a user's product SKU with a different SKU in the same product in Google Workspace |
Update member to group | Updates a member to a group in Google Workspace |
Update organizational unit | Updates an organizational unit in Google Workspace |
Update role | Updates a role in Google Workspace |
Update user | Updates a user in Google Workspace |
Update user to admin | Updates a user to admin in Google Workspace |
Triggers
| Trigger | Description |
Deleted user | This trigger will be invoked when a new user is deleted |
New user | This trigger will be invoked when a new user is created |
Updated user | This trigger will be invoked when a new user is updated |
Updated user admin status | This trigger will be invoked when a user's admin status is toggled |
User undeleted | This trigger will be invoked when a user is undeleted |