Retrieve a list of groups of a user given a User Key or Customer ID.
External DocumentationTo learn more, visit the Google Admin Console documentation.

Basic Parameters

ParameterDescription
Customer IDThe unique ID for the customer’s Google Workspace account. As an account administrator, you can also use the my_customer alias to represent your account’s customer ID. The customer ID can be obtained by the List Users action.

Note: Either the Customer ID or the User Key parameter must be provided.
QueryQuery string for filtering user’s groups.

For more information on constructing group queries, see [Search for Groups](https: //developers.google.com/workspace/admin/directory/v1/guides/search-groups).
User KeyA unique identifier of the user to list groups for. The value can be the user’s primary email address, alias email address, or unique user ID.

Note: Either the Customer ID or the User Key parameter must be provided.

Advanced Parameters

ParameterDescription
Delegated User OverridePerform the action on behalf of another user, overriding the delegated user defined in the connection.

If not specified, the delegated user is the one provided in the connection.

Has no effect when using an OAuth connection.

NOTE: the connection details are not edited by this input.
Max ResultsThe maximum number of results to retrieve in a single execution.
Page TokenA page token, received from a previous execution. Provide this to retrieve the subsequent page. When paginating, all other parameters provided must match the execution that provided the page token.

Example Output

{
  "kind": string,
  "etag": string,
  "groups": [
    {
      {
        "id": string,
        "email": string,
        "name": string,
        "description": string,
        "adminCreated": boolean,
        "directMembersCount": string,
        "kind": string,
        "etag": string,
        "aliases": [
          string
        ],
        "nonEditableAliases": [
          string
        ]
      }
    }
  ],
  "nextPageToken": string
}

Workflow Library Example

List Groups with Google Admin Console and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop