adverse-sapphire•2y ago
Alexa Skills Integration
I'm trying to bring my finished voiceflow project into Alexa Skills. I've followed this (https://xavidop.me/alexa/2023-11-21-voiceflow-alexa/) tutorial, and my project does not seem to work fully in Alexa skills -- there are certain instances where Alexa skills says "undefined" in place of a variable that was kept track of in Voiceflow. Any ideas on why this may be happening? There are other variables in my project that are working fine and were said by the assistant on both voiceflow and Alexa Skills.
2 Replies
Double check that you're using the right names of your variables and if you're correctly passing values to them. "undefined" means that the variable doesn't exist in your project or that you've passed a null value, otherwise the value should be 0.
adverse-sapphireOP•2y ago
I figured it out -- for me, the variables that voiceflow automatically intializes to 0 at runtime (and are not manually set otherwise in the project) have an undefined value once passed through the voiceflow dialogue API.