Google Chat
Procedures and concepts for the Googlechat integration.
Overview
This integration provides automation capabilities for Googlechat, enabling streamlined workflows and enhanced productivity. Connect your processes with Googlechat to automate routine tasks and improve operational efficiency.
Prerequisites
1. Required Books
The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:
Googlechat
How to Add the Book(s)
Go to Books → All Books.
Search for the name of the book and click on it.
Click on Install or Add Connection to add the book to your agent.
If adding a connection, you'll be prompted for connectivity details.
Connectivity
This section outlines the available methods for connecting to the Book, along with the required configuration details for each.
Procedures
to add a (chat reaction) to a chat message
Add an emoji reaction to a Google Chat message.
Input Concepts
emoji
The emoji to react with (e.g. "👍", "😀", "🎉").
text
Yes
(no default)
Output Concepts
Examples
Add a thumbs up reaction to a message
to create a (direct message space) in google chat
Create a direct message space with a user, or return the existing one.
If a direct message space already exists with the specified user, that existing space is returned instead of creating a new one.
Input Concepts
email
The email address of the user to create a direct message with.
text
Yes
(no default)
Output Concepts
Examples
Create a DM space with a user
Create a DM and send a notification
to find a (direct message space) in google chat
Find an existing direct message space with a specific user.
Input Concepts
email
The email address of the user to find the direct message space with.
text
Yes
(no default)
Output Concepts
Examples
Find a DM space with a user by email
to get a (chat message) from google chat
Get details about a specific Google Chat message.
Input Concepts
Output Concepts
Examples
Get details about a message
to get a (chat space's read state) from google chat
Get the read state of a Google Chat space for the authenticated user.
This indicates the last time the user read the space, which can be used to determine if there are unread messages.
Input Concepts
Output Concepts
The space read state including the last read time.
google chat space read state
Examples
Check if there are unread messages in a space
to get a (chat space) from google chat
Get details about a specific Google Chat space.
Input Concepts
The space to get details for. Use the space's resource name (e.g. "spaces/AAAAAAAAAAA").
google chat space
Yes
(no default)
Output Concepts
Examples
Get details about a space
to get some (chat message's chat reactions)
Get reactions on a Google Chat message.
Input Concepts
Output Concepts
Examples
List reactions on a message
to get some (chat message's thread messages) from google chat
Get all messages in a thread, given any message from that thread.
Input Concepts
A message belonging to the thread to retrieve messages from.
google chat message
Yes
(no default)
max result count
Maximum number of messages to retrieve (default: 25).
number
No
25
Output Concepts
Examples
Retrieve all replies in a thread
to get some (chat space's chat members) from google chat
Get members of a Google Chat space.
Input Concepts
Output Concepts
Examples
List all members of a space
Find a member by email
to get some (chat space's chat messages) from google chat
Get messages from a Google Chat space.
Input Concepts
max result count
Maximum number of messages to retrieve (default: 25).
number
No
25
Output Concepts
Examples
Retrieve messages from a space
Retrieve messages with a filter
to get some (chat spaces) from google chat
Get spaces from Google Chat that the authenticated user is a member of.
Output Concepts
Examples
Retrieve all spaces
Retrieve spaces with a specific name
to send a (chat message) in google chat
Send a message to a Google Chat space.
Input Concepts
text
The plain-text content of the message.
text
Yes
(no default)
Output Concepts
Examples
Send a message to a space
Send a notification to a user via direct message
to send a (chat thread reply) in google chat
Reply to a message in a Google Chat thread.
Input Concepts
The message to reply to. The reply will be posted in the same thread.
google chat message
Yes
(no default)
text
The plain-text content of the reply.
text
Yes
(no default)
Output Concepts
Examples
Reply to a message in a thread
to update a (chat message) in google chat
Update the text of an existing Google Chat message.
Input Concepts
text
The new plain-text content for the message.
text
Yes
(no default)
Output Concepts
Examples
Update a message's text
Concepts
Google chat message
A Google Chat Message represents a message in a Google Chat space.
name
The resource name of the message (e.g. "spaces/AAAA/messages/BBBB").
text
text
The plain-text body of the message.
optional[text]
formatted_text
The message text with formatting markup.
optional[text]
sender_name
The resource name of the sender (e.g. "users/123456").
optional[text]
sender_display_name
The display name of the sender.
optional[text]
sender_email
The email address of the sender.
optional[text]
thread_name
The resource name of the thread this message belongs to.
optional[text]
thread_reply
Whether this message is a reply in a thread.
optional[boolean]
space_name
The resource name of the space containing this message.
optional[text]
create_time
When the message was created.
optional[text]
last_update_time
When the message was last edited.
optional[text]
Google chat reaction
A Google Chat Reaction represents a reaction on a message.
name
The resource name of the reaction.
text
emoji_unicode
The unicode string of the emoji (e.g. "👍").
optional[text]
emoji_custom_name
The name of the custom emoji, if applicable.
optional[text]
user_name
The resource name of the user who reacted.
optional[text]
user_display_name
The display name of the user who reacted.
optional[text]
Google chat space
A Google Chat Space represents a conversation space in Google Chat.Spaces can be named spaces (rooms), group chats, or direct messages.
name
The resource name of the space (e.g. "spaces/AAAAAAAAAAA").
text
display_name
The display name of the space.
optional[text]
space_type
The type of space (SPACE, GROUP_CHAT, or DIRECT_MESSAGE).
optional[text]
threading_state
The threading state (THREADED_MESSAGES, GROUPED_MESSAGES, or UNTHREADED_MESSAGES).
optional[text]
description
The description of the space.
optional[text]
guidelines
The space's rules and expectations.
optional[text]
create_time
When the space was created.
optional[text]
last_active_time
Timestamp of the last message in the space.
optional[text]
member_count
The number of human members in the space.
optional[number]
space_uri
The URI for a user to access the space.
optional[text]
Google chat space read state
A Google Chat Space Read State indicates the last read time for a user in a space.
name
The resource name of the space read state.
text
last_read_time
The time when the user last read the space.
optional[text]
Google chat member
A Google Chat Member represents a membership in a Google Chat space.
name
The resource name of the membership (e.g. "spaces/AAAA/members/BBBB").
text
member_name
The resource name of the member user (e.g. "users/123456").
optional[text]
display_name
The display name of the member.
optional[text]
email
The email address of the member.
optional[text]
member_type
The type of member (HUMAN or BOT).
optional[text]
role
The role of the member in the space (ROLE_MEMBER or ROLE_MANAGER).
optional[text]
state
The membership state (JOINED, INVITED, or NOT_A_MEMBER).
optional[text]
Last updated
Was this helpful?

