WhatsApp Webhooks Explained (Business Cloud API)
To receive messages or know the status of a sent message, you must learn in detail how webhooks work! Today I'm going to explain to you what you must know in order to start using them in your application. In this video I'm going to teach you:
* What a webhook is
* How integrate it into your application
* How to validate whether your messages have been sent, delivered or read
* How to receive text messages, images, audio, videos and buttons
* I answer the most frequently asked questions people leave in the comments!
* I show you the easiest way in which you can save yourself 95% of the time that it would take you to implement WhatsApp API in your app.
This is the seventh video of the video series in which we explore in detail the new Meta WhatsApp Business API to automate marketing operations, communicate with users and customers, among other things!
➡️ Try Wasapi for 7 days at no cost at: bit.ly/477IzUY
➡️ If you want information about the course (From Zero to Expert in the WhatsApp API), CLICK HERE » bit.ly/cursoApiWhatsApp
If you want to watch the entire playlist follow this link: • WhatsApp Business API
Links:
- WASAPI: bit.ly/477IzUY
- API Documentation: / cloud-api
- Developer Account: developers.
Chapters:
0:00 What we'll learn
0:48 Recap
1:27 Setting up the test scenario
2:54 Running ngrok locally
4:40 What is a web hook and its configuration
7:44 Sending messages and analyzing responses
16:02 Analyzing text messages, images and audio
23:21 Wasapi for developers!
Пікірлер: 29
⚠ Pro Tip: In order to reproduce the different test scenarios, you just need to set up a GET and POST endpoint that always return a 200 OK response.
I wonder when I send a msg from the cloud api, do I receive any notification about that?
Hey, Juan! Great videos! I'm already in the waiting list for Wasapi! I have a question. Can we integrate whatsapp cloud api with slack? maybe use slack as an interface to send and receive messages.. what do you think? thank you!!
@VinixCode
2 жыл бұрын
Harllos, that’s an interesting idea! It may be possible to integrate it with Slack although I think it would be very basic in terms of features… I don’t know, I could be wrong. Would have to think more about it. But you can also use Wasapi! It already does all that work for you 😉
im confused because ur using a website that will be fetched from the user event (callback url) and using it to confirm tokens etc how can that be or im missing something
im using 2 apps with the same meta account, when i send a message instantly triggers both webhooks. how can i fix this?
I am not a coder and not have technical knowledge . BUt I want to send bulk messages . My business is verified and number is also verified . HOw to do that
Hola Juan! Excelente video! Te hago una consulta. Existe una manera de restringir cuales "numeros de Telefonos" estan habilitados para comunicarse con el la API/boot/Webhhook? Es decir, que de esa manera, se puede tener una algo asi como una white list/segmentar clientes y de paso ahorrar costos
@VinixCode
Жыл бұрын
Gracias! No es posible. Tendrías que implementar un sistema en el webhook de tal manera que ignore los mensajes de ciertos contactos, pero esto no reducirá tus costos.
Hello dear, Hope you doing well. Please is there a way to automatically save the contacts from conversations??
@VinixCode
Жыл бұрын
Salifou, yes! Wasapi (our app) does that automatically. You can set up an account here: app.wasapi.io/en/sign-up
Can't we use Make(formerly known as integromat) webhook URL to process the messages ?
@VinixCode
2 жыл бұрын
Of course Akash - make is amazing and you can use it. We’ll be posting videos explaining some other concepts about the API using Wasapi and Make.
@akashk302
2 жыл бұрын
@@VinixCode thats amazing but if I use Make webhook URL what should be the verify token?
I try to edit callback url but it's return error like The callback URL or verify token couldn't be validated. Please verify the provided information or try again later. this so what can do for this?
@VinixCode
Жыл бұрын
Unfortunately it’s hard to say what could be causing this just based on your comment, but make sure that you’re accepting and correctly processing the GET request FB makes when validating the callback URL.
How’s can do that for my company network I pay for it.
@VinixCode
Жыл бұрын
I'm sorry, what exactly do you want to do?
hlo juan great video.... so basically we have to reply to the customer using the type of response we receive? there is no other way to do that?
@VinixCode
Жыл бұрын
How do you mean, Naveen? Any kind of reply that you send, will work.
@tamilkids8453
Жыл бұрын
@@VinixCode I mean.. like I am working on automation of whatsapp convo which will go back and forth for 4 times. So I want to send a correct reply to them, is there a way to send response without storing the message details in the first place?
@VinixCode
Жыл бұрын
@@tamilkids8453 There isn't. You'll have to somehow store the conversation in order to evaluate which response to send.
@tamilkids8453
Жыл бұрын
Yeah okay I will design a simple DB to store that then
@tamilkids8453
Жыл бұрын
Thanks a lot
Hi buddy, Can you please tell how can I stop webhook triggering and also stop sending old message again and again
@VinixCode
Жыл бұрын
The API will continue to send you webhooks until it gets a 200 OK response, confirming that the message was successfully received by your server.
Is there a way to opt out a user? I want to test feature that requires me to go back and forth, I can’t wait 24 hours each time.
@VinixCode
Жыл бұрын
What specifically do you mean by opt out, Danil?
@danilredko5776
Жыл бұрын
@@VinixCode I have this workflow, I try to send a message to the user, based on webhook call if I get an error that it’s been more than 24 hours, so I can only send templates, I send a template message. How do I test this 24 hours wait? Cause once I sent a message and replied to it, I need to wait another 24 hours to repeat this workflow.