WhatsApp Starter Message and Conversation ID
# 📖tutorials
s
Been working with botpress for a while, and UNTIL NOW i still see fellow builders like me getting stuck with Botpress and WhatsApp when it comes to sending the starter message So finally I recorded a video about this

https://youtu.be/pH9ZCT2JT94

I hope this is gonna be useful to you all. Linking all important resources here too 1. Why do I even start exploring this https://discord.com/channels/1108396290624213082/1362739966802788464 2. Understanding on WhatsApp Starter Card in Botpress https://discord.com/channels/1108396290624213082/1346383512571351071 3. Understanding WhatsApp API and Send Message Template https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates/ 4. Requesting WhatsApp Permanent Access Token https://forum.pabbly.com/threads/whatsapp-cloud-api.5745/ 5. Botpress Get or Create https://botpress.com/docs/api-reference/runtime-api/openapi/getOrCreateConversation One more thing to add on, I don't think i explained the botpress' conversation ID and workflow timeout well. But basically what I notice is, if we do not expire or timeout our workflow, botpress will pick up with where we left off based on the provided conversation ID By using the conversation ID this way, we tell botpress that "hey, in this conversation, we want to move into this node now." This will stop botpress from keep trying to pick up with where we left off with. Or where it tried to follow our flow, but got stopped cause the conversation ID is not applied in specific card (especially transition card, which is CRITICAL) That's why passing the conversation ID through webhook is the best way, since whenever the use case needed us to send starter message, we definitely have an intention to converse with our customer right. Else, how will we be willing to spend on WhatsApp API just to send one message out? Straying the direction of conversation is very crucial. Else it is just really an FAQ AI Agent. It's only then we can encourage sales to happen
r
It's great guide.
I am trying to implement in code - the WhatsApp integration.
6 Views