Skip to main content

Send Message

Sends a message in a space or user chat.

External Documentation

To learn more, visit the Google Chat documentation.

Basic Parameters

ParameterDescription
File IdentifierThe file identifier of the attachment. You can create a file identifier using the Set File Variable action.
File NameThe name of the attachment, including the file extension.
Message ContentPlain-text body of the message. The first link to an image, video, or web page generates a preview chip.
Send ToChoose the message's destination.
SpaceThe resource name of the space.
Format: spaces/{space}.
Thread NameThe name of the thread to reply to.
If the message is sent, provide another message's thread name to make this message a reply.
Format: spaces/{space}/threads/{thread}.
UserThe email address of the user.

Advanced Parameters

ParameterDescription
Delegated User OverridePerform the action on behalf of another user, overriding the delegated user defined in the connection.

If not specified, the delegated user is the one provided in the connection.

Has no effect when using an OAuth connection.

NOTE: the connection details are not edited by this input.

Example Output

{
"name": "spaces/AAAbnh123/messages/DGLE231_dsa2.DAuNixz5M_U",
"sender": {
"name": "users/3459872039482093512",
"type": "HUMAN"
},
"createTime": "2023-08-27T18:18:46.277295Z",
"text": "test",
"thread": {
"name": "spaces/AAAbnh123/threads/DGLE231_dsa2"
},
"space": {
"name": "spaces/AAAbnh123"
},
"argumentText": "test"
}

Workflow Library Example

Send Message with Google Chat and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop