Google Chat
Node: googleChat · Full type: n8n-nodes-base.googleChat · Version: 1
Credentials
googleApi (alias: @google) / googleChatOAuth2Api (alias: @google)
CREDENTIAL @google = googleApi "My Google Chat"
Operations
Resource: member
get
| Parameter |
Type |
Default |
Details |
memberId |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
spaceId |
options |
[] |
required |
returnAll |
boolean |
false |
|
limit |
number |
100 |
|
Resource: message
create
| Parameter |
Type |
Default |
Details |
spaceId |
options |
"" |
required |
jsonParameters |
boolean |
false |
|
messageUi |
collection |
{} |
required; keys: text |
messageJson |
json |
"" |
required |
additionalFields |
collection |
{} |
keys: requestId |
delete
| Parameter |
Type |
Default |
Details |
messageId |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
messageId |
string |
"" |
required |
sendAndWait
| Parameter |
Type |
Default |
Details |
spaceId |
options |
"" |
required |
message |
string |
"" |
required |
responseType |
options |
"approval" |
approval, freeText, customForm |
defineForm |
options |
"fields" |
fields, json |
jsonOutput |
json |
"[ |
|
| { |
|
|
|
| "fieldLabel": "Name", |
|
|
|
| "..." |
|
|
|
formFields |
fixedCollection |
{} |
groups: values |
formFields |
fixedCollection |
{} |
groups: values |
approvalOptions |
fixedCollection |
{} |
groups: values |
options |
collection |
{} |
keys: limitWaitTime, appendAttribution |
options |
collection |
{} |
keys: messageButtonLabel, responseFormTitle, responseFormDescription, responseFormButtonLabel, responseFormCustomCss, limitWaitTime, ... |
update
| Parameter |
Type |
Default |
Details |
messageId |
string |
"" |
required |
jsonParameters |
boolean |
false |
|
updateFieldsUi |
collection |
{} |
required; keys: text |
updateFieldsJson |
json |
"" |
required |
Resource: space
get
| Parameter |
Type |
Default |
Details |
spaceId |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
100 |
|
Common Parameters
| Parameter |
Type |
Default |
Details |
authentication |
options |
"serviceAccount" |
oAuth2, serviceAccount |
Parameter Details
messageUi children:
| Parameter |
Type |
Default |
Details |
text |
string |
"" |
|
additionalFields children:
| Parameter |
Type |
Default |
Details |
requestId |
string |
"" |
|
updateFieldsUi children:
| Parameter |
Type |
Default |
Details |
text |
string |
"" |
|
formFields children:
values group:
| Parameter |
Type |
Default |
Details |
fieldName |
string |
"" |
required |
fieldLabel |
string |
"" |
required |
fieldLabel |
string |
"" |
required |
fieldName |
string |
"" |
|
fieldType |
options |
"text" |
required; checkbox, html, date, dropdown, email, file, hiddenField, number, ... (12 total) |
elementName |
string |
"" |
|
fieldName |
string |
"" |
|
placeholder |
string |
"" |
|
defaultValue |
string |
"" |
|
defaultValue |
dateTime |
"" |
|
defaultValue |
string |
"" |
|
defaultValue |
string |
"" |
|
fieldValue |
string |
"" |
|
fieldOptions |
fixedCollection |
{...} |
required; groups: values |
fieldOptions |
fixedCollection |
{...} |
required; groups: values |
fieldOptions |
fixedCollection |
{...} |
required; groups: values |
multiselect |
boolean |
false |
|
limitSelection |
options |
"unlimited" |
exact, range, unlimited |
numberOfSelections |
number |
1 |
|
minSelections |
number |
0 |
|
maxSelections |
number |
1 |
|
html |
string |
" |
|
" | |
| multipleFiles | boolean | true | |
| acceptFileTypes | string | "" | |
| requiredField | boolean | false | |
approvalOptions children:
values group:
| Parameter |
Type |
Default |
Details |
approvalType |
options |
"single" |
single, double |
approveLabel |
string |
"✅ Approve" |
|
disapproveLabel |
string |
"❌ Decline" |
|
options children:
| Parameter |
Type |
Default |
Details |
limitWaitTime |
fixedCollection |
{...} |
groups: values |
appendAttribution |
boolean |
true |
|
Example
NODE "googleChat" @google AS "Google Chat" {
resource: "member",
operation: "get",
memberId: {{ $json.memberId }},
messageJson: "{}",
messageId: {{ $json.messageId }}
}