I would recommend using a Cloud Pub/Sub trigger to run your code inside of a Cloud Run instance (in short add a "Cloud Pub/Sub" notification channel instead of a webhook, then create a Cloud Run instance with the cloud pub/sub channel as a trigger; it's considered an EventArc trigger, you should be able to select Pub/Sub as one of the trigger types in there)
On Wednesday, January 26, 2022 at 5:54:40 PM UTC+1 Felipe Bergallo Corral wrote: > Alright, I've been testing this and my understanding is that the "Add > Webhook" dialog box is to *create *a webhook rather than linking up and > existing webhook... The naming is somewhat confusing, but after re-reading > the docs, that seems to be the intent > > On Wednesday, January 26, 2022 at 4:45:18 PM UTC+1 Felipe Bergallo Corral > wrote: > >> I recognize that dialog(ue) box from the Monitoring section, I don't >> recall it being in the GAE Dashboard. >> Eitherway, I think the issue here is that it's not gonna send the same >> kind of message as the Chat Webhook is expecting (here's what Monitoring >> is sending >> <https://cloud.google.com/monitoring/support/notification-options#webhooks>), >> >> but I've also found this site >> <https://docs.servicenow.com/bundle/rome-it-service-management/page/product/site-reliability-ops/task/sro-configure-google-cloud.html> >> which >> suggests using Auth, so I'm going to test that when I have a moment, but I >> believe that'll post it as a user, not sure. >> >> On Monday, January 24, 2022 at 10:22:39 AM UTC+1 [email protected] >> wrote: >> >>> Hello Felipe, >>> >>> My own bot written using instructions in GAE documentation is working >>> fine for Google chat webhooks. I am facing a problem with Notification >>> Channels on GAE console. >>> >>> This is where I am trying to add the webhook. >>> >>> [image: notification channel.jpg] >>> >>> When I add Google chat room webhook here, and try TEST CONNECTION, I >>> dont receive a message in my Chat space. >>> >>> So, wondering what additional steps may be required for this to work >>> correctly. >>> >>> Thanks >>> >>> Sajal >>> On Monday, January 24, 2022 at 2:25:25 PM UTC+5:30 [email protected] >>> wrote: >>> >>>> Well, there is step-by-step documentation here >>>> <https://developers.google.com/chat/how-tos/webhooks>, but I'm >>>> guessing you already read that so if you're having trouble setting it >>>> up... >>>> Would you mind showing us a sanitized version of your code? (Might be >>>> something in there that's off which is stopping your bot from saying >>>> anything in the chat while technically not being an error) >>>> >>>> On Sunday, January 23, 2022 at 8:26:22 AM UTC+1 [email protected] >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I am trying to setup a webhook notification channel to a google chat >>>>> room/space via its web hook functionality. >>>>> >>>>> When I send a test message, it says that test message has been sent >>>>> but it is not received on the google chat space. >>>>> >>>>> Any ideas or any step by step documentation to set up webhook >>>>> notification channel to send notification to google chat? >>>>> >>>>> Thanks >>>>> >>>>> Sajal >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2e849701-8544-4245-b676-5684a48d01ben%40googlegroups.com.
