Getting messages from google chat

Hello!

I am looking for a way to take messages from a google chat into n8n. How could i do this? I have the google chat node fully set up, but the bot in google chat is “not responding” when i at it with a message, and no executions are starting in n8n

Hello @Ethan_Cohen ,

Would you mind pasting your Workflow or the node so we could have more context please

Jm

1 Like

Yes will do so. For more context, I am looking to have a message directly in google chat trigger this workflow, so i can take the message and feed it into an Ai model for content generation.

{
“name”: “Social Media Bot”,
“nodes”: [
{
“parameters”: {
“operation”: “get”
},
“type”: “n8n-nodes-base.googleChat”,
“typeVersion”: 1,
“position”: [
-100,
140
],
“id”: “853c6f28-4f75-49f8-89ee-0c370b7ec783”,
“name”: “Google Chat2”,
“webhookId”: “24659b42-15a9-4b4f-8813-dac589e8df0d”,
“credentials”: {
“googleApi”: {
“id”: “eVQk9G9LxKYNk5Gq”,
“name”: “Chat account 4”
}
}
},
{
“parameters”: {
“path”: “985aac39-072c-4282-a501-2096d22a99bc”,
“options”: {}
},
“type”: “n8n-nodes-base.webhook”,
“typeVersion”: 2,
“position”: [
-140,
-80
],
“id”: “1628226d-d5da-4157-8f00-7e887484aac5”,
“name”: “Webhook”,
“webhookId”: “985aac39-072c-4282-a501-2096d22a99bc”
},
{
“parameters”: {
“respondWith”: “text”,
“responseBody”: “HI”,
“options”: {}
},
“type”: “n8n-nodes-base.respondToWebhook”,
“typeVersion”: 1.2,
“position”: [
140,
-80
],
“id”: “869be5e8-c1fa-4871-b998-44d2677253aa”,
“name”: “Respond to Webhook1”
}
],
“pinData”: {},
“connections”: {
“Webhook”: {
“main”: [
[
{
“node”: “Respond to Webhook1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Respond to Webhook1”: {
“main”: [

]
}
},
“active”: true,
“settings”: {
“executionOrder”: “v1”
},
“versionId”: “dae8b90a-d23a-4612-acb2-e4fb17d54918”,
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “6dafe305629f5866f0c78f75523c5887006a951fa1576adfbae0456b3ba2225c”
},
“id”: “Qu9z8u7wpB4eEh7M”,
“tags”:
}

Hey @Ethan_Cohen

Can you paste your code in the preformatted text

Click on the settings :gear: and select preformatted text and paste your json inside please- like that

Hey @Ethan_Cohen

I noticed that your Workflow nodes are not connected
And another point have you used Google chat event subscription ?