New260+ blocks and 240+ tools are now fully documented
DocumentationReferenceTool IntegrationsGoogle Workspace
Tool

Google Groups Tools

Manage Google Workspace groups and members via the Admin Directory API.

The Google Groups tools connect to the Google Workspace Admin Directory API to list groups, fetch group details, list group members, and add new members. Use these tools in workflows that need to automate group provisioning, membership audits, or onboarding flows within a Google Workspace organization.

Overview

PropertyValue
Providergoogle-groups
Categorytools
AuthOAuth (Bearer Token — pass a Google OAuth access token)

Operations

OperationTool IDDescription
List Groupsgoogle_groups_list_groupsList all groups in a Google Workspace domain
Get Groupgoogle_groups_get_groupGet details of a specific Google Group by email or group ID
List Membersgoogle_groups_list_membersList all members of a Google Group
Add Membergoogle_groups_add_memberAdd a new member to a Google Group

Configuration

google_groups_list_groups

ParameterTypeRequiredDescription
accessTokenstringYesOAuth access token for Google Groups (user-only; keep secret)
maxResultsnumberNoMaximum number of groups to return (1–200)

google_groups_get_group

ParameterTypeRequiredDescription
accessTokenstringYesOAuth access token for Google Groups (user-only; keep secret)
groupKeystringYesGroup email address (e.g., team@example.com) or the unique group ID

google_groups_list_members

ParameterTypeRequiredDescription
accessTokenstringYesOAuth access token for Google Groups (user-only; keep secret)
groupKeystringYesGroup email address (e.g., team@example.com) or the unique group ID
maxResultsnumberNoMaximum number of members to return (1–200)

google_groups_add_member

ParameterTypeRequiredDescription
accessTokenstringYesOAuth access token for Google Groups (user-only; keep secret)
groupKeystringYesGroup email address (e.g., team@example.com) or the unique group ID
emailstringYesEmail address of the member to add (e.g., user@example.com)
rolestringNoRole for the member: MEMBER, MANAGER, or OWNER. Defaults to MEMBER

Outputs

google_groups_list_groups

  • data (json) — Array of Google Group objects returned by the API.
  • metadata (json) — List metadata.
    • metadata.count (number) — Number of groups returned in this response.
    • metadata.nextPageToken (string) — Pagination token for fetching the next page of results (present only when more pages exist).

google_groups_get_group

  • data (json) — The full Google Group object (id, name, email, description, directMembersCount, adminCreated, aliases, etc.).
  • metadata (json) — Group identifiers.
    • metadata.id (string) — The unique group ID.
    • metadata.email (string) — The group email address.

google_groups_list_members

  • data (json) — Array of Google Group member objects (id, email, role, type, status).
  • metadata (json) — List metadata.
    • metadata.count (number) — Number of members returned in this response.
    • metadata.nextPageToken (string) — Pagination token for fetching the next page of results (present only when more pages exist).

google_groups_add_member

  • data (json) — The added Google Group member object as returned by the API (id, email, role, type, status).
  • metadata (json) — Member identifiers.
    • metadata.id (string) — The member's unique ID.
    • metadata.email (string) — The member's email address.

YAML Example

google_groups_1:
  type: google_groups
  name: "Google Groups"
  inputs:
    operation: "google_groups_add_member"
    groupKey: "engineering@example.com"
    email: "{{new_hire_block.email}}"
    role: "MEMBER"
    accessToken: "{{GOOGLE_GROUPS_ACCESS_TOKEN}}"
  connections:
    outgoing:
      - target: next-block-id

Tips

  • OAuth scopes: The access token must include the https://www.googleapis.com/auth/admin.directory.group scope (read/write for groups and members). A read-only scope (...group.readonly or ...group.member.readonly) is sufficient for list/get operations only.
  • groupKey formats: All operations that accept a groupKey accept either the group's primary email address (e.g., devs@example.com) or its immutable group ID. Using the email is more readable; using the ID is safer if the email alias may change.
  • Pagination: list_groups and list_members return up to maxResults items per call (max 200). If metadata.nextPageToken is present in the output, there are more pages — use a loop block to iterate until nextPageToken is absent.