Issue with Azure Flask Webhook Setup for WhatsApp API - Receiving and Managing Event Payloads

Copper Contributor

Hello Azure community,

I hope you're all doing well. I am currently working on a project to build a WhatsApp bot using Python and the WATI API. While I've made progress on many aspects of the project, I'm facing some challenges when it comes to implementing a webhook server using Flask on Azure to receive event payloads from WATI.

 

The Challenge:
To trigger the webhook in WATI, I need to provide an HTTPS link with an endpoint defined in my Python flask route code. Previously, I tried using Railway, which generated the URL automatically, but I'm having difficulty achieving the same result on Azure. I have attempted to create both an Azure Function and a Web App, but neither seems to be able to receive the webhook requests from WATI.

Here is the link to the process for deploying on Railway: Webhook Setup

I have attempted to create both an Azure Function and a Web App, but neither seems to be able to receive the webhook requests from WATI.

I'm reaching out to the Azure community in the hope that someone with experience in building webhook servers on Azure could provide some guidance or insights. Your input would be greatly appreciated.

0 Replies