Workflow Actions
Google Chat: Add Member to Google Chat Space
Description
Adds one or more users to an existing Google Chat space from within an Incident Workflow. If a user has auto-accept disabled in Google Chat, they receive an invitation and must accept before joining. Use this action in combination with Create a Google Chat Private Space to automatically assemble your incident response team in a dedicated channel.
Prerequisites
Before using this action, connect PagerDuty to your Google Workspace:
- Navigate to Integrations Extensions Google.
- Click Connect a new Workspace.
- Select your Google account from the authorization screen and click Continue.
- Click Allow to confirm the integration.
A confirmation message appears when the connection is successful.
Required permissions:
- PagerDuty: Admin, Global Admin, or Account Owner role
- Google: Administrator permissions in your Google Workspace account
Instructions
- If you have not done so, follow the instructions to Create an Incident Workflow.
- When the instructions prompt you to add actions, select this action.
- Enter the following Inputs and click Save.
- Continue following instructions to Publish the Workflow.
- When the action runs, you will see the Outputs listed below.
Inputs
Field References
Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter {{, and select relevant fields. Refer to the Field References article for more information.
| Name | Description |
|---|---|
| Google Workspace | Name of the Google Workspace (e.g., "PagerDuty"). |
| Space Name (Required) | The resource name of the space (e.g., spaces/AAAA...). |
| User Emails (Required) | Comma-separated list of email addresses to add to the space (maximum 10). Example: user1@example.com, user2@example.com. |
Outputs
| Name | Description |
|---|---|
| Result | Value that shows if the action was successful or not. Either "Success" or "Failed." |
| Result Summary | Brief description of what the action did or if it failed. |
| Error | Brief description that is populated if the action failed. |
Tips
- Auto-Accept Disabled: Users who have disabled auto-accept in Google Chat receive an invitation rather than being added directly. They must accept the invitation before participating in the space.
- Chaining Actions: If this step follows a Create a Google Chat Private Space action, use the Space Name output from that step as the Space Name input here.