Webhook Setup for Wa Gateway | Multi device BETA | V3.0 MPWA MD

tpetualang

Active member
Mar 30, 2019
448
209
43
Wakanda
temanpetualang.com
Follow the step it is working normally on localhost and VPS. (For shared hosting auto reply works sometime and stops after 1 minute after reloading scan page and restarting nodeJS)

1. Create "listen.php" then copy paste code from Rest Api-> webhook.
2. Add webhook link as "http://yourwebsite.com/listen.php" in link field as shown in screenshot below
1653016752850.png
3. Create "whatsapp.txt" in the same location of "listen.php" file and give permission as 777.
4. Restart NodeJs and now send keywords that are in the "listen.php".
I follow this step
 

Joaquop

New member
Banned User
May 2, 2022
14
14
3
How can i send a pdf or document?
autoresponder is working fine, but i need to send documents with command.
any idea?
 
  • Like
Reactions: tpetualang

javade

New member
May 25, 2022
29
3
3
How to integrate MPWA with Gravity Form

1. Download Gravity WebHook https://babiato.tech/resources/gravity-forms-webhooks-add-on.4854/
(Download - Upload - And Activated)
2. Go to the form - setting - webhook
3. Follow this seting
1652889129818.png 1652889202905.png
Request URL(Required) : http://yourdomain.com/send-message
Request Method(Required) : POST
Request Format(Required) : JSON

Request Body :
api_key = YOUR_API_KEY
sender = NUMBER_ON_MPWA
number = NUMBER_RECIVER_GET_FROM_FORM
message = GET_FROM_FORM

You can customize message with merge tag,

and make sure there is no whatsapp gateway plugin for gravity forms from other platforms, because it can make the Rest API not run normally.

Thanks for @Morehere
thank you If possible, add Digits plugin settings (to send to WhatsApp).
 

javade

New member
May 25, 2022
29
3
3
I follow this step
I made a gravity form and installed the web hook plugin and I made a form to send messages But if I add 2 or more recipients instead of one recipient in the number field, it doesn't work anymore Is there a way to send a message to multiple people via gravity webhook?
 

javade

New member
May 25, 2022
29
3
3
How to integrate MPWA with Gravity Form

1. Download Gravity WebHook https://babiato.tech/resources/gravity-forms-webhooks-add-on.4854/
(Download - Upload - And Activated)
2. Go to the form - setting - webhook
3. Follow this seting
1652889129818.png 1652889202905.png
Request URL(Required) : http://yourdomain.com/send-message
Request Method(Required) : POST
Request Format(Required) : JSON

Request Body :
api_key = YOUR_API_KEY
sender = NUMBER_ON_MPWA
number = NUMBER_RECIVER_GET_FROM_FORM
message = GET_FROM_FORM

You can customize message with merge tag,

and make sure there is no whatsapp gateway plugin for gravity forms from other platforms, because it can make the Rest API not run normally.

Thanks for @Morehere


Hello I tested it and it was ok Thankful But he only sent a message to one ewe number in each message Is there a way to send a message to multiple numbers in one message? And is it possible to send 10 messages to 10 numbers in their own name by sending the form once? For example, for an attendance form
 

javade

New member
May 25, 2022
29
3
3
Open Rest API > Webhook
after that upload the webhook to the application you want to integrate with wa gateway

then your url will be like this

yourapplication.com/webhook

Thanks to @kafuuchino
Is it possible to automatically divert or forward received messages to a specific number and view received messages through a form in WordPress?
 

starkids

Active member
Sep 21, 2020
122
40
28
Is it possible to automatically divert or forward received messages to a specific number and view received messages through a form in WordPress?
If you use a gravity form, you can create a new webhook, and set the receiver number for the number you want to send.
 

javade

New member
May 25, 2022
29
3
3
How to integrate MPWA with Gravity Form

1. Download Gravity WebHook https://babiato.tech/resources/gravity-forms-webhooks-add-on.4854/
(Download - Upload - And Activated)
2. Go to the form - setting - webhook
3. Follow this seting
1652889129818.png 1652889202905.png
Request URL(Required) : http://yourdomain.com/send-message
Request Method(Required) : POST
Request Format(Required) : JSON

Request Body :
api_key = YOUR_API_KEY
sender = NUMBER_ON_MPWA
number = NUMBER_RECIVER_GET_FROM_FORM
message = GET_FROM_FORM

You can customize message with merge tag,

and make sure there is no whatsapp gateway plugin for gravity forms from other platforms, because it can make the Rest API not run normally.

Thanks for @Morehere
I want to enter several numbers instead of one number in the number field To send a message to several people after sending the form Is there a way?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu