@mention monitoring in Gchat

75 Views Asked by At

I would like to monitor @mentions on gchat spaces and call an API for triggering phone call. It shouldn't require any modification on existing spaces like adding a separate user. Can someone share how we could achieve this? Can we create bots or using webhooks or web scrapping?

1

There are 1 best solutions below

0
Muhammad Dyas Yaskur On

As of now, there isn't a specific feature available for that purpose, and it may not be introduced in the future. However, you can utilize the spaces.messages/list endpoint to run a cron job at specified intervals. By checking each message retrieved and identifying if a mention is present, you can then trigger a phone call using Twilio or a similar service.