{% hint style="info" %} Note: Rewst supports multi-instance integration for Google Workspace Admin, but generally one instance of Google Workspace Admin is not multi-tenant. You may need a 1:1 relationship between an instance of this integration and a sub-tenant or a Rewst sub-org.
If you’re new to integrations in Rewst, read through our introductory integration documentation here. {% endhint %}
As of May 2025, this integration now supports the following APIs using the generic request action:
- Google Drive
- Gmail
- Group Settings
Rewst customers who set up this integration prior to the additional API support can take advantage of this development by enabling the corresponding API services in the Google Cloud Console, then re-authorizing their integration in Rewst. Set up steps for these API services can be found further down in this document, under the section titled Enable Google APIs.
{% hint style="info" %} To complete these steps in Google Cloud Console, project Editor or Owner permissions are required. {% endhint %}
- Log in to your Google Cloud Console at https://console.cloud.google.com/.
- Navigate to Navigation Menu > IAM & Admin > Manage Resources.
- Click the CREATE PROJECT.
- Enter a descriptive name for your project that will help you identify it later.
- If applicable, choose the organization that this project will belong to. You can also leave this as No organization if necessary.
- Optionally, select a location for your project. This choice may affect resource availability and pricing.
- Click CREATE.
{% hint style="info" %} The user who is authorizing this integration in Rewst must have Super Admin access in Google Workspace Admin. {% endhint %}
- Choose the GCP project you just created from the project drop-down menu at the top of the page
- Click APIs & Services in the left side menu.
- Select Library.
- Use the search bar within the API Library to find the
Admin SDK APIand select it from the results. - Click Enable.
- Navigate back to the APIs & Services menu. Click OAuth consent screen.
- Select the appropriate user type for your application. Choose Internal for this.
- Enter the necessary information about your application into the relevant fields, including the App name, and User support email.
- Click SAVE AND CONTINUE.
- Click Data Access > Scopes.
- Click ADD OR REMOVE SCOPES. Select the specific scopes that your application requires access to.
- Primary Google Admin scopes for Google Cloud services:
- https://www.googleapis.com/auth/admin.reports.audit.readonly
- https://www.googleapis.com/auth/admin.reports.usage.readonly
- https://www.googleapis.com/auth/admin.datatransfer
- https://www.googleapis.com/auth/admin.datatransfer.readonly
- https://www.googleapis.com/auth/admin.chrome.printers
- https://www.googleapis.com/auth/admin.chrome.printers.readonly
- https://www.googleapis.com/auth/admin.directory.customer
- https://www.googleapis.com/auth/admin.directory.customer.readonly
- https://www.googleapis.com/auth/admin.directory.device.chromeos
- https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly
- https://www.googleapis.com/auth/admin.directory.device.mobile
- https://www.googleapis.com/auth/admin.directory.device.mobile.action
- https://www.googleapis.com/auth/admin.directory.device.mobile.readonly
- https://www.googleapis.com/auth/admin.directory.domain
- https://www.googleapis.com/auth/admin.directory.domain.readonly
- https://www.googleapis.com/auth/admin.directory.group
- https://www.googleapis.com/auth/admin.directory.group.member
- https://www.googleapis.com/auth/admin.directory.group.member.readonly
- https://www.googleapis.com/auth/admin.directory.group.readonly
- https://www.googleapis.com/auth/admin.directory.orgunit
- https://www.googleapis.com/auth/admin.directory.orgunit.readonly
- https://www.googleapis.com/auth/admin.directory.resource.calendar
- https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly
- https://www.googleapis.com/auth/admin.directory.rolemanagement
- https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly
- https://www.googleapis.com/auth/admin.directory.user
- https://www.googleapis.com/auth/admin.directory.user.alias
- https://www.googleapis.com/auth/admin.directory.user.alias.readonly
- https://www.googleapis.com/auth/admin.directory.user.readonly
- https://www.googleapis.com/auth/admin.directory.user.security
- https://www.googleapis.com/auth/admin.directory.userschema
- https://www.googleapis.com/auth/admin.directory.userschema.readonly
- https://www.googleapis.com/auth/cloud-platform
- Mailbox Delegation (Gmail API) Scopes:
- https://www.googleapis.com/auth/gmail.settings.basic
- https://www.googleapis.com/auth/gmail.modify
- https://www.googleapis.com/auth/gmail.readonly
- https://www.googleapis.com/auth/gmail.compose
- https://www.googleapis.com/auth/gmail.send
- https://www.googleapis.com/auth/gmail.insert
- https://www.googleapis.com/auth/gmail.labels
- https://www.googleapis.com/auth/gmail.metadata
- Google Drive shared drive permissions (Drive API) Scopes:
- Group Settings (Groups API) Scopes:
- Primary Google Admin scopes for Google Cloud services:
- Search for
Admin SDKin the search box, and select all related scopes. - Click UPDATE.
- Navigate to the Credentials tab within APIs & Services. Click CREATE CREDENTIALS and choose OAuth client ID from the drop-down selector.
- Select Web Application as the type of application you're building. This is the most broad and generic option and will always work with Rewst. Other options may not allow the integration to successfully set up.
- Enter a name for your ID in the Client ID field.
- Enter the following URL under Authorized Redirect URIs:
https://engine.rewst.io/integrations/google_workspace_admin_sdk/callback
- After creation, you will be presented with a pop-up window containing your client ID and client secret. Make sure to copy both of these.
- Navigate to Marketplace > Integrations in the left side menu of the Rewst platform.
- Search for
Google Workspace Admin.

- Click on the integration tile to launch set up.
- Enter the API credentials copied from Google into the relevant fields:
- Client ID
- Client Secret
- Email / User ID: this should be the one used to authenticate with the API
- Click Save Configuration.
- Rewst will do a quick validation of your input. Once completed, you'll see a new section beneath the configuration form for organization mapping. Complete your mapping as desired.
-
Navigate to Security > Access and Data Control > API controls in your Google console at admin.google.com.
-
Click Accessed Apps > View List.
-
Search for
Rewst. -
Select Trusted under Status.
-
Check on the box Allowlist for exemption from API access blocks in context-aware access.
Set reauthentication policy for exemption
- Navigate to Security > Google Cloud session control.
- Click to expand the Google Cloud cloud session control accordion menu.
- Select Require authentication.
- Check on the box Exempt trusted apps.
- Choose your method under the Re-authentication method menu.
- Click Save.
-
Select your Project from the drop-down selector.
-
Select APIs and Services from the left side menu.
-
Search for
Groups Settings API. -
Click Enable.
-
Select your Project from the drop-down selector.
-
Select APIs and Services from the left side menu.
-
Search for
Gmail API. -
Click Enable.
-
Select your Project from the drop-down selector.
-
Select APIs and Services from the left side menu.
-
Search for
Google Drive API. -
Click Enable.
{% hint style="success" %} Got an idea for a new Integration? Rewst is constantly adding new integrations to our integrations page. Submit your idea or upvote existing ideas here in our Canny feedback collector. {% endhint %}
{% hint style="info" %} For more on how actions work in Rewst, check out our introductory actions documentation here. {% endhint %}
| Category | Action | Description |
|---|---|---|
| Licensing | Assign License | Assign a license |
| Licensing | Get License | Get a specific user's license by product SKU |
| Licensing | List License Assignments for Product | List all users assigned licenses for a specific product |
| Licensing | List License Assignments for Product and SKU | List all users assigned licenses for a specific product SKU |
| Licensing | Revoke License | Revoke a license |

.png)