Google Chat
Version: 2.1
Updated: Dev 06, 2024
Google Chat is an intelligent and secure communication and collaboration tool, built for teams.
Preferable
To send rich text messages, use the Create Message action with Disable HTML
in the message body. Follow the directions in the Google Chat documentation.
Actions​
- Create Message (Notification) - Send messages privately to a specific Chat user.
- Delete Message (Containment) - Delete a message that the Chat app sent.
- Get Member (Enrichment) - Get details about a membership in a space.
- Get Message (Enrichment) - Get details about a message.
- Get Space (Enrichment) - Get details about a space.
- List Members (Enrichment) - Lists memberships in spaces that the Chat app has access to.
- List Spaces (Enrichment) - Lists spaces that the Chat app has access to.
- Update Message (Containment) - Update the message.
Google Chat configuration​
- Log in to the Google Cloud portal.
- Select a Google Cloud project (or create a new one).
- Go to the API&Services > Credentials page.
- In the same page click on ENABLES API AND SERVICES and search for Google Chat and enable it.
- Click CREATE CREDENTIALS and select Service Account.
- Enter a service account name to display in the Google Cloud console. The Google Cloud console generates a service account ID based on this name.
- (Optional) Enter a description of the service account.
- Skip two optional grant permissions steps and click Done to complete the service account creation.
- Click on the generated service account to open the details.
- Under the KEYS tab, click ADD KEY and choose Create new key.
- Click on CREATE (make sure JSON is selected).
- The JSON file is downloaded. Make sure you save it in a safe place.
- To configure the app in Google Chat API, go to APIs & Services, select Google Chat API, and in CONFIGURATION provide the details and click on SAVE.
- Go to the Google Chat App and add the above app in that. Also, to add above app in space, go to space and in Apps & integration add the app.
Google Chat in Automation Service and Cloud SOAR​
- Label. The desired name for the resource.
- Private Key Json. Provide the content of the JSON file generated in the previous steps. Open the file and copy-paste the whole content in the field.
Use cases for sending messages​
Disable HTML​
Send plain text messages with HTML formatting disabled.
Compose rich text messages​
Format your messages with rich text using Google Chat Rich Text Message. This allows you to enhance message readability with structured formatting options.
Receive notifications​
Use Google Chat to receive notifications, ensuring you promptly get important updates or alerts. Notifications will be displayed in a well-formatted text, making them easy to read and understand in Google Chat.
Change Log​
- August 27, 2024 (v2.0) - First upload
- October 29, 2024 (v2.0) - Updated the docs
- December 06, 2024 (v2.1) - Added the Rich Text Message support in the Create Message action