1.2.A. Send order information to WA using Ref-URL
Last updated
Last updated
In this tutorial, I use the chatbot Botcake - Free chatbot platform developed by Pancake Team
This is a tool that allows you to create an access link to the Messenger of the Page with a Ref code to format the access source.
Chatbot will recognize the link by following Ref code and send a pre-installed message corresponding to this link.
Go to Botcake.io -> Tools -> Create new tools -> Messenger Ref URL -> Temporarily leave it and set up the next step
Customer Field is used to send order details to customers outside of the fields: Name, phone number, address.
Access: Botcake -> Configuration -> Custom Field -> Create custom field -> Name, description -> Select data type: Character string -> Save
Create Message stream to send the information from Chatbot to customers who are from Ref URL.
Go to: Botcake -> Flow -> Create new flow -> Flow name-> Access editing
Note: The information you need to put in to automatically send information to that customer (refer to the photo below)
Full name
Phone number
Address
Custom field just created above
B1: Access: Botcake -> Tools -> Messenger Ref URL just created -> Edit -> Opt-In message -> Press "Select" to choose the flow.
B2: Config
Change the Ref URL if desired
Link Payload with Custom field created from above to link Ref URL with Custom field -> send order details
Get Webcake field ID:
Note: It is necessary to turn on the "Start" button for the chatbot or to the frequently asked questions -> The purpose for the customer to click -> Because the customer needs to interact with the page first, then Chatbot can send information to the customer.
Get the Ref URL link from Botcake
In my guide is the link: https://m.me/350832248858242?ref=webcake
Some hidden fields: total_price: Total order value (For orders with products connected with POS)
shipping_fee: Shipping fee of the order
items: List of products in the orders
aff: Affiliate information
discount_code: promotions information on Webcake
Intergrations -> Botcake -> Connect Botcake.io -> Connect with Facebook -> Ref URL
Continue -> Choose page -> Choose Ref URL
Add Ref URL for Form
Click Form -> Advance -> Choose Ref URL config
Add Ref URL for Button
Click element -> Advance -> On Click -> Open Application -> Choose Ref URL config
Publish and use feature