Google Chat
Google Chat is an intelligent and secure communication and collaboration tool, built for teams.
Categories: Helpers
Type: googleChat/v1
Connections
Version: 1
OAuth2 Authorization Code
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
clientId | Client Id | STRING | true | |
clientSecret | Client Secret | STRING | true |
Actions
Create Message
Name: createMessage
Creates a new message in selected space.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
SPACE | STRING | null | ||
messageText | Message Text | STRING | Text of the message. | true |
Example JSON Structure
{ "label" : "Create Message", "name" : "createMessage", "parameters" : { "SPACE" : "", "messageText" : "" }, "type" : "googleChat/v1/createMessage"}
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
name | STRING | Name of the message that was created. |
sender | OBJECT Properties{STRING(name), STRING(type)} | Sender of the message. |
createTime | STRING | Time when the message was created. |
text | STRING | Text of the message. |
thread | OBJECT Properties{STRING(name)} | |
space | OBJECT Properties{STRING(name)} | |
argumentText | STRING | |
formattedText | STRING |
Output Example
{ "name" : "", "sender" : { "name" : "", "type" : "" }, "createTime" : "", "text" : "", "thread" : { "name" : "" }, "space" : { "name" : "" }, "argumentText" : "", "formattedText" : ""}
Create Space
Name: createSpace
Creates space in Google Chat.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
displayName | Space Name | STRING | Name of the space to create. | true |
Example JSON Structure
{ "label" : "Create Space", "name" : "createSpace", "parameters" : { "displayName" : "" }, "type" : "googleChat/v1/createSpace"}
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
name | STRING | Name of the space that was created. |
type | STRING | Type of the space. |
displayName | STRING | Name of the space that will be displayed. |
spaceThreadingState | STRING | |
spaceType | STRING | |
spaceHistoryState | STRING | |
createTime | STRING | |
lastActiveTime | STRING | |
membershipCount | OBJECT Properties{} | |
accessSettings | OBJECT Properties{STRING(accessSettings)} | |
spaceUri | STRING |
Output Example
{ "name" : "", "type" : "", "displayName" : "", "spaceThreadingState" : "", "spaceType" : "", "spaceHistoryState" : "", "createTime" : "", "lastActiveTime" : "", "membershipCount" : { }, "accessSettings" : { "accessSettings" : "" }, "spaceUri" : ""}
Additional instructions
After enabling Chat API in Google API Console make sure you also follow these steps: https://developers.google.com/workspace/chat/configure-chat-api