From af29b6efce2bac81df1f388e85c00350245c0528 Mon Sep 17 00:00:00 2001 From: "c1-dev-bot[bot]" <2740113+c1-dev-bot[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 15:29:02 +0000 Subject: [PATCH] Add missing connector actions and custom-schema limitation to Google Workspace docs - Add update_user_profile, update_user, and make_admin actions to the connector actions table - Document that null-delete of custom-schema fields is unsupported (Google Directory API silently ignores null values in customSchemas) - Update admin.directory.user scope purpose to include profile updates, custom-schema writes, and admin promotion/demotion --- baton/google-workspace.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/baton/google-workspace.mdx b/baton/google-workspace.mdx index ab067586..54b9b61e 100644 --- a/baton/google-workspace.mdx +++ b/baton/google-workspace.mdx @@ -41,6 +41,13 @@ Connector actions are custom capabilities that extend C1 automations with app-sp | create_group | `email` (string, required)
`name` (string, required)
`description` (string, optional) | Creates a new Google Workspace group | | modify_group_settings | `group_key` (string, required)
`allow_external_members` (boolean, optional)
`allow_web_posting` (boolean, optional)
`who_can_post_message` (string, optional)
`message_moderation_level` (string, optional) | Update settings for an existing Google Group | | update_user_manager | `user_id` (string, required)
`manager_email` (string, required) | Updates the manager relation for a user in Google Workspace. Updates the 'manager' entry in the user's Relations field | +| update_user_profile | `user_id` (resource ID, required)
`given_name` (string, optional)
`family_name` (string, optional)
`recovery_email` (string, optional)
`recovery_phone` (string, optional)
`custom_schemas` (JSON string, optional) | Applies a partial update to a user's profile using patch semantics (only the provided fields change). Supports name fields, recovery details, and custom-schema attribute values. Custom-schema definitions must already exist in the Workspace tenant. At least one updatable field is required. | +| update_user | `user_id` (resource ID, required)
`user_profile` (JSON string, required) | Updates a user's profile from a `user_profile` JSON object (keys: `given_name`, `family_name`, `recovery_email`, `recovery_phone`, `custom_schemas`). Consumed by C1 push rules for automated profile sync. | +| make_admin | `user_id` (resource ID, required)
`status` (boolean, required) | Promotes (`status=true`) or demotes (`status=false`) a user to/from super administrator | + + +**Custom-schema limitation:** The `update_user_profile` and `update_user` actions can set custom-schema attribute values, but **deleting a field by sending a `null` value is not supported**. The Google Directory API `users.patch` endpoint silently ignores `null` values in the `customSchemas` payload — the field is not removed. To clear a custom-schema field, update it to an empty string or a sentinel value instead. + ## Gather Google Workspace credentials @@ -212,7 +219,7 @@ Click **Add new** and fill out the form: Purpose: (Write) To manage role assignments (grant or revoke roles). - Scope: https://www.googleapis.com/auth/admin.directory.user
- Purpose: (Write) To provision/deprovision accounts. + Purpose: (Write) To provision/deprovision accounts, update user profiles and custom-schema values, and promote/demote super administrators. - Scope: https://www.googleapis.com/auth/admin.reports.audit.readonly
Purpose: To sync usage events and admin events (used in conjunction with continuous sync).