FlowRunner
Pricing
Theme

Google Workspace Admin

Identity & Security

Connect AI agents to the Google Workspace Admin SDK Directory API. Agents create and manage users, groups, and organizational units, control membership, manage admin roles and aliases, and audit devices and domains.

31 actions available
A new-hire record starts an onboarding flow
Agent reads the hire's name, department, and org-unit placement
Create User and place them in the correct organizational unit
Add Group Member for each team mailing list the role requires
Agent confirms membership with Check Has Member
The manager receives the temporary password and first-sign-in instructions
Admin confirms an account reassignment before offboarding deletes the user

What This Integration Enables

Agents automate onboarding by creating a user, placing them in an organizational unit, and adding them to the right groups, automate offboarding by suspending, deleting, or reassigning a departing account and its memberships, keep group membership in sync with an external system of record, audit administrator role assignments, domains, and synchronized mobile devices for compliance reporting, and grant or revoke super administrator privileges and manage user aliases. Users are addressed by primary email or unique id, groups by email or id, and organizational units by path; the read-only scopes for domains, roles, and mobile devices mean those operations are list and read only. Undeleting a user requires the unique id because a deleted account has no email. The connector covers the user, group, org-unit, role, and device surface of the directory; the surrounding flow decides which steps run automatically and where an admin confirms an irreversible offboarding action.

Without FlowRunner

Manual onboarding Users are created and placed in org units by hand, and group setup varies per hire
Risky offboarding A departing user is deleted before their data or roles are reassigned
Access audits on demand Admin role assignments and devices are only reviewed when compliance requires it

With FlowRunner

Repeatable onboarding Create User, org-unit placement, and Add Group Member run identically every time
Staged offboarding Suspend User first, then delete or reassign only on a human's confirmation
Scheduled audits Users, role assignments, domains, and mobile devices are enumerated on a routine

Use Case Scenarios

New-hire onboarding with org-unit placement

A new-hire record starts the flow. The agent calls Create User and places the account in the correct organizational unit, then Add Group Member for each team mailing list the role needs. It emails the manager the temporary password and first-sign-in instructions with [Gmail](/integrations/gmail-service). Every hire gets the same placement and access, so the directory stays organized and the manager has what they need on day one.

Offboarding with staged cleanup

An offboarding trigger starts the flow. The agent calls Suspend User immediately to cut access, records the user's group memberships and org-unit placement, and prepares the reassignment. Suspension is reversible, so access is contained without an irreversible delete happening on the trigger alone. The final delete or reassignment waits for a human.

Access-audit report

On a routine, the agent lists users (including deleted accounts) and role assignments to build an access-audit record, then writes each entry to a tracking sheet with [Google Sheets](/integrations/google-sheets). An unexpected super administrator, or a stale account that should have been removed, surfaces as an exception for review.

Human-in-Loop Highlight

Deleting or reassigning a departing user's account is the offboarding step that should pause for an admin, because it is irreversible and it touches the person's data and ownership. The agent handles the safe, reversible work on its own: it suspends the account to cut access immediately and records the user's groups and org-unit placement. Before it deletes or reassigns, it stops and asks the admin through their channel: "Offboarding [user] is suspended, held groups [list], owns [resources]. Delete the account, reassign its data to [manager], or keep suspended pending review?" The admin decides. The agent contains access; the person owns the irreversible cleanup.

Agent processes routinely
Detects exception requiring judgment
Clear match Continues automatically
Ambiguous Routes to human via preferred channel
Human decides
Agent resumes with decision

Agent Capabilities

19 actions

Users

7
  • Create User Creates a user and places them in an organizational unit during onboarding.
  • Suspend User Suspends a user's account without deleting it. Reversible, so agents run it first during offboarding.
  • Unsuspend User Restores a suspended user's access.
  • Delete User Deletes a user account. The typical human-gated offboarding step.
  • Undelete User Restores a recently deleted user by unique id.
  • Make User Admin Grants or revokes super administrator privileges. Typically human-gated.
  • Add User Alias Adds an email alias to a user.

Groups and Members

5
  • Create Group Creates a Workspace group.
  • Add Group Member Adds a member to a group with a Member, Manager, or Owner role.
  • Update Group Member Changes a member's role within a group.
  • Remove Group Member Removes a member from a group.
  • Check Has Member Tests whether a user is a member of a group.

Org Units

3
  • Create Org Unit Creates an organizational unit under a parent path.
  • Update Org Unit Updates an organizational unit.
  • List Org Units Lists organizational units.

Audit (read only)

4
  • List Roles Lists admin roles.
  • List Role Assignments Lists admin role assignments for a compliance audit.
  • List Domains Lists the account's domains.
  • List Mobile Devices Lists synchronized mobile devices for a compliance report.

Start building with Google Workspace Admin

$100 in credits. No card required. Connect in minutes.