I was wondering if it’s possible to use webhooks in Taiga to send notifications to Google Chat. If so, how can it be done?
Hi @Questbibek , I just wrote a plugin for Google Chat, based heavily on the Slack plugin.
You can find it at GitHub - mig5/taiga-contrib-googlechat: Taiga plugin for sending events to Google Chat, based heavily off of the Slack plugin . You will need to do ‘npm install’ and ‘npm build’ on the frontend, and ensure you set ENABLE_GOOGLECHAT to “True” in the backend (and to “true” in the frontend)
You can configure the plugin for each project in the project settings, all you need to do is paste in a Google Chat space URL.
Let me know if it works for you!
I also have an alternative approach which I developed first. This involved:
- Creating a user in Taiga and adding them to a project
- Ensuring that user has configured their notifications to ‘send email for all events’ on the project (not just ones they are ‘involved’ in)
- Using a Python script to poll that user’s IMAP mailbox for Taiga email, and convert them into Google Chat webhook notifications.
This method works as well, but is less elegant. I can share the script with you if you need it.