How to Capture Address Details with Haptik Bot
- Getting Started
- Bot Building
- Smart Agent Chat
- Conversation Design
-
Developer Guides
Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
- Deployment
- External Agent Tool Setup
- Analytics & Reporting
- Notifications
- Commerce Plus
- Troubleshooting Guides
- Release Notes
Table of Contents
Overview
Delivery-related concerns are common for e-commerce businesses because customers usually want to know whether their order will reach the expected place at the right time. Well, you can handle this kind of expectation with ease as you just need to add our newly-created smart skill i.e. fetch address details to your Haptik bot.
Simply put, address messages are interactive messages designed to ease up the address-capturing process for businesses.
Note: This feature is only available for business numbers in India (+91) and Singapore (+65).
Key Features
- We can initiate the address message with call to action that opens up the form.
- We can pre-fill fields e.g. PIN code or city or country etc. that already known to us.
- We can also send along saved addresses. In this case, WhatsApp will prompt the user with an option to select among the saved addresses or add an address option.
- We can make use of validation_errors by which businesses can throw errors in the address fields and WhatsApp will prevent the user from submitting the address until the issue(s) are/is resolved. This validation is done upon submitting the form on the server side.
Below table outlines which fields are supported in which country specifically.
Using Address Messages on Haptik Platform
A Send Address Capture HSL has been defined on the platform to trigger Address Messages on WhatsApp bots. This HSL will be composed using Message details (header, footer, body), Saved Addresses, and any Pre-Filled Values. Below is a sample raw JSON to be used to trigger a Address Message as a Bot Response.
{
"type":"WHATSAPP_ADDRESS_MESSAGE",
"header":"Header text goes here",
"text":"Body of the Address CTA messages goes here",
"footer":"Footer text goes here",
"action":{
"name":"address_message",
"parameters":{
"country":"IN",
"values":{
"name":"Viki",
"phone_number":"9988776655"
},
"saved_addresses": [
{
"id": "address_id",
"value": {
"name": "CUSTOMER_NAME",
"phone_number": "+919876543210",
"in_pin_code": "11001",
"house_number": "104",
"floor_number": "3",
"tower_number": "1",
"building_name": "Delhi Tower",
"address": "Janpath Rd Janpath",
"landmark_area": "Khurshid Lal",
"city": "Delhi"
}
}
]
}
}
}
The HSL has been further packaged in Smart Skill to capture end-to-end flow and faster implementation.
Steps to Use Address Capture Smart Skill
- Log in to your Haptik account and choose the bot to which you want to add a smart skill.
- Click on Add Skill and enter send address wa (Generic) in the search box. Once you find this option, click it to proceed further.
- A pop-up with relevant details appears. Click on Add Smart Skill to add it to your bot.
In case you are unable to proceed in any of the steps above, contact your Haptik SPOC.