How to use Store Locator Smart Skill?
- 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
Store LocatorRequirementsLimitationsHow to use the skill?How to make changes to the skill?How to analyze your skill post go-live?The Ecommerce Smart Skills are eligible to fulfill critical customer support queries. The Smart Skills are selected based on market research and user behavior of the retail vertical.
Store Locator
The Bot will assist the user in locating the nearest store. The user would ask the Bot to suggest the nearest store and also shares the store detail. The Bot will then process this data and will respond with the nearest store options.
Name of the skill on Conversation Studio - ecommerce_store_locator
Purpose of the skill: This Smart Skill is built to simplify the process of finding a store nearby.
- This Smart Skill has been designed to help any user identify a store near their address or a specific store that they want to explore using a custom location.
- The users will be asked for their location and it is mandatory to provide one as the smart skill needs to move forward with the flow.
- Another edge case where the user fails to provide their location has also been added.
- After the location has been passed through the API, the user will be given options of nearby stores for them to explore and they can also view other details related to those stores easily.
- A link to navigate to the store has been provided to make it easy for any user to find their store on the map.
What’s the design template going to look like?
This Skill is designed to keep in mind quick resolution & added value to the user. Please reach out to the Conversation Designer to get access to the design lucidchart or PDF.
Requirements
The Smart Skill assumes that the end-user is authenticated already.
- If you wish to add an authentication flow within the bot, you can combine this with the OTP authentication Smart Skill
The business already has 1 API developed with them:
- Fetch nearby stores based on the user-selected location.
Limitations
This is a no-code Smart Skill if the APIs are developed to match the structure previously added in the skill. If you have any additional rules or logic to be implemented for this use case, you will have to make changes to the Smart Skill(read more in the changes section) accordingly. If you want to add further APIs, you will need to add more steps to this Smart Skill.
How to use the skill?
- The user selects the “Find a Store Nearby” option from the menu.
- The bot will greet the user with a message and ask for their location.
- The user presses “Select Location” to select their desired location.
- In the next screen, select the preferred location from the map and confirm it.
- This will show different cards with details of nearby stores.
- The user can select the store of their choice to shop and get directions for the same.
How to make changes to the skill?
What are all entities?
- origin_lat - This is taking the users' latitude.
- origin_lng - This is taking the users' longitude.
- store_locator_try_again - This entity is used to handle the "Try Again" loop if there is an API Error or API Timeout.
API calls are made on 1 Code Step in the skill
Name of Step: get_nearby_stores
-
Section 1: Contains the main function code body.
- Gets body and entities object from the event body to be used in processing the data.
- Calling the get_nearby_store function in order to fetch data from the API.
-
Section 2: Contains the get_nearby_store function code body.
- Can be used to change the METHOD_TYPE of the API. Eg: GET, POST, etc.
- Can be used to configure the API payload details.
- Can be used to configure the API headers details.
-
Section 3:Contains the generateResponseHsl function code body.
- Can be used to configure the title, description, image, and button text for the carousels.
- Can be used to adjust the dimensions and the type of the HSL.
- Section 4: Contains the get_final_response function code body which can be used to configure the final response variables that need to be passed to the corresponding output nodes.
-
API Format:Request PayloadAPI Response
payload_params = {
"user_id": "1234",
"coordinates": [
{
"latitude": “ “ ,
"longitude": “ “
}
]
}{
"status": "success",
"stores": [
{
"title": "Ratnadeep Supermarket",
"address": "1-144, PG Road, Sindhi Colony, Begumpet, Hyderabad, Telangana 500003",
"url": "https://goo.gl/maps/3nDsHBej24GGxQxU6"
}
]
}
How to analyze your skill post go-live?
To track the usage of this Skill on your bot, you can create Smart Funnels on the Intelligent Analytics tool. It will be able to tell you how many users are able to track their orders. You can learn more about Smart Funnels, here.
Smart Funnel suggestion: How many users were able to track their order successfully?
-
Funnel:
- Start point: find_near_by_stores
-
Endpoints:
- Multiple stores
- Single store
- No stores