fair-rose
fair-rose2y ago

How to make your chatbot more connected through ecommerce

Hello guys, how can i make my shopping assistant for an ecommerce store be able to add products to user's carts, redirect users to other pages on the on the store, know which product page the user is on, and more all by its self? If you don't get what i mean, the attached video shows a shopping assistant made by hellorep.ai which does all of these functions mentioned as shown in the video. how can i make my voiceflow chatbot do this stuff too? they are really good features and if added, it would make voiceflow the go-to ecommerce AI shopping assistant software
3 Replies
Tico | Voiceflow Assistant
To make your Voiceflow chatbot more connected to your ecommerce store, you'll need to leverage the power of APIs and webhooks. Firstly, to add products to a user's cart, you can use the API of your ecommerce platform. You'll need to create a custom command in Voiceflow that sends a POST request to the API endpoint responsible for adding items to a cart. The payload of this request would typically include the product ID and the user ID. To redirect users to other pages on the store, you can use the 'Send a Message' block in Voiceflow to send a message containing the URL of the page you want to redirect the user to. To know which product page the user is on, you can use a webhook that sends a request to Voiceflow every time a user visits a product page. The request would contain the product ID, which you can then use in your chatbot's responses. Remember, to access these functions, you would have had to select a web chat assistant to start from. Go to the integrations panel of your assistant, where you would be able to see a code snippet that you can copy to your clipboard. Once the code snippet is copied to your clipboard, you can add it to the source code of your website before the closing </body> tag on each page that you want your assistant to appear on. For more detailed instructions, you can refer to the following documents: - How to Embed a Web Chat Assistant to a Website - Step 4 - Deploy Assistant Please note that these are advanced features and require a good understanding of APIs, webhooks, and web development. If you're not comfortable with these technologies, you might want to consider hiring a developer or reaching out to the community for help.
fair-rose
fair-roseOP2y ago
This is a really general answer, i need more help on this
ratty-blush
ratty-blush2y ago
DM'd you

Did you find this page helpful?