Multiple webhook per doctype

Is it possible to create multiple webhook per doctype.
Use case
One to send sms
One to send whatsapp text
When a payment is received from customer

Kindly help

Hi @Santhosh_Kumar,

I think you can implement it in few ways.

  1. you can have one webhook then in the function. that the hook being called you define the logic to send sms and whatsapp.

  2. You can do it by using scheduler.

  3. you probably can do in doctype event hook.

  4. you can override the class of the payment doctype and define the function in there and trigger the send via sms and whatsapp.

Hope this will give you some idea how to implement it.