continuing-cyan
continuing-cyan17mo ago

Retrieving and Utilizing User-Provided Data from Voiceflow Chatbot on Shopify

Hello Voiceflow Support Team, I am currently using a Voiceflow chatbot integrated into my Shopify site via a JavaScript tag in my theme.liquid file. I'm looking to dynamically utilize data that users provide through the chatbot. For instance, if a user inputs their age into the chatbot, I'd like to use this data to update certain information on the Shopify front end immediately. Could you guide me on how I might capture this user input from the chatbot and then utilize it within my Shopify platform? Specifically, are there any API callbacks, events, or methods provided by Voiceflow that would allow for real-time data capture and utilization? Any examples, particularly related to handling real-time updates on Shopify after collecting data like age or preferences from the chatbot, would be highly beneficial. Thank you for your support and assistance ! Seb
2 Replies
W. Williams (SFT)
I believe the only way to "easily" do this is to create an extension to comunicate with your Shopify store. @NiKo | Voiceflow ?
NiKo | Voiceflow
NiKo | Voiceflow17mo ago
You can set variables in Voiceflow and then use Shopify API in an API Step to make a call to update user data (if that's an option in their API). You can also use Custom Actions with a custom extension to run a specific code/action on the front end (web page).

Did you find this page helpful?