How could I track the answers of the users who access the messages of chat app in the google space

Hello!

I created a chat application using Appsheet, integrating Google Chat, and I have also a dedicated space.

I created a table, column useremail, mesage, answer, status, but, when I tested the app with a few users, in the table, there is no tracking of the users who answered in the space (I had a message with a question, then the users clicked on a button - action, but there was no new line added).

Could you, please, help me on this issue, what is it wrong in my app?

Thank you very much!

Ruxandra

Hello @Ruxandra, Please refer to the community discussion linked below to determine if the described scenario aligns with your current situation. I hope it helps!


Thank you for your reply. I don’t use webhooks. I want to use the application to send messages as part of a training and to register each user who participates in this training by identifying them by email.

Regards!

Ruxandra

Hello @Ruxandra, you can refer to the below thread for more information.

Additionally, here is the link to the sample application to facilitate further experimentation. I hope it helps!

It is not clear for me how could I sent messages from the Google chat to the app. I have tried to use an automation: I created a slash command, /started, which should trigger a “Call a Webhook” in order to add a new row in a table, using a json like this:

{
“Action”: “Add”,
“Properties”: {
“Locale”: “en-US”
},
“Rows”: [
{
“useremail”: “<<USEREMAIL()>>”
“no”:“1”
“answer”:“yes”
}
]
}

but it didn’t work, the Automation Monitor there is no registration of the automation, so it seems the bot didn’t work. I mean, there is no error, but it didn’t work either. I don’t understand what happens.

Thank you!

Regards!

Hello again!

I tested the webhook call using an automation triggered by “Data change Type” (I found the issue of my json, I missed some commas), I also added a new step in my Slash command automation , and I saw at slash command /started , I received only the first message of the app, and it means the slash command doesn’t trigger the bot. Do you have any idea why the slash command doesn’t trigger the automation?

Thank you!

Regards!

Ruxandra