whaticket-community
whaticket-community copied to clipboard
[Feature Suggestion] Webhooks for automation
I would like to suggest and ask for guidance on where to start looking for implementing webhooks, the idea is to push automated messages like this api.backend.com/?num=xxxxxxxx&action=quickreply1
we can also use the same to activate quick replies from the frontend as well.
I would like to suggest and ask for guidance on where to start looking for implementing webhooks, the idea is to push automated messages like this
api.backend.com/?num=xxxxxxxx&action=quickreply1
we can also use the same to activate quick replies from the frontend as well.
@deepesh-agarwal Really nice suggestion, that will be very very useful so that we could perform actions via http request.
I tried out https://github.com/pranavms13/whatsapp-node-api and it worked pretty well. But im not using it in real environment/situation, im using Whaticket instead, because it fits better in my use-case.
Would be awesome to have webhooks in Whaticket in the future!
@deepesh-agarwal i've just implemented an Webhook API, take a look and see if it works for you, the files that changed are just the wbotMessageListener.ts, i tested in my machine and it all works good.
please tell me how it works..
Ola, essa função foi implementada?
Ola, essa função foi implementada?
@esteves67 I have the same doubt. Could you confirm please? And in what way is it used? From already thank you very much
Ola, essa função foi implementada?
@esteves67 I have the same doubt. Could you confirm please? And in what way is it used? From already thank you very much
https://github.com/canove/whaticket/pull/103/files
I got it, this link contains the working file.. put it in the backend/src/services/WbotServices/ folder and then run the npm run build command
npm run build..
error