1.2.A. Send order information to WA using Ref-URL
1. Setting Chatbot to prepare to send order information to customers
In this tutorial, I use the chatbot Botcake - Free chatbot platform developed by Pancake Team
1.1. Create Messgener REF URL tool
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
1.2. Create a Customer Field to send order information to customers
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
1.3. Create message flow to send to customers
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
1.4. Connect Messenger Ref URL with Messenger
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.
1.5. Get the Ref URL link from the Botcake and add the recipe to the tail
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
2. Attach the Botcake link to the form in Webcake
2.1 Create Ref URL configuration
Intergrations -> Botcake -> Connect Botcake.io -> Connect with Facebook -> Ref URL
Continue -> Choose page -> Choose Ref URL
2.2. Connect Botcake config to landing
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
Last updated