I'm building an Alexa Skill, and it requires that I store the userId of a user. I've tried to retrieve it with event.session.user.userId. However, when I call console.log(event.session.user.userId) the output is literally amzn1.ask.account.[u...
Please help, I need to use mqtt protocol in lambda function to send some data to a broker. I use simple code to test it :  mqtt = require('mqtt'); var client  = mqtt.connect('mqtt://test.mosquitto.org');  client.on('connect',...
How can I get data.Item.Name outside of docClient.get() to further use it in other functions.  const docClient = new awsSDK.DynamoDB.DocumentClient();  docClient.get(dynamoParams, function (err, data) {     if (err) {         console.error("faile...
I'm simply trying to get Alexa to say the data that's in my google spread sheet.  I'm using the google-spreatsheet node.js module instead of http.get() method.  Here is my intent function  'GetPainterIntent': function() {...
I am using the "AudioPlayer" of the "Alexa Skill Kit" to stream an HLS audio format URL. I am receiving no errors from the AWS Lambda and from the Developer Portal. I am testing by using the Silent Echo (https://silentecho.bespoken.io...
So I have this intent:        'PlayRadioIntent': function(channel) {                                                       this.setSessionAttribute('RadioName', channel);                 this.followUpState('PlayConfirmationState&#...
Good Morning  I have been coding Alexa skills for a while and i decided to make a Trivia Quiz, I coded it mainly in Javascript and used the Quiz Template to help me with a few modifications.  I have got all my Intents set up and the code is doing wha...
I'm having difficulty right now having Alexa address different slot types that contain some of the same words. I'm building this on the how-to tutorial skill https://github.com/alexa/skill-sample-nodejs-howto Let me explain what I'm tryin...
so I'm pretty new to node.js and javascript in general. I've been trying to write an alexa smarthome skill which turns on my light. I host my Node.js function in the amazon aws cloud using lambda. Alexa calls this function passing an event an...
I am trying to use Twillo programmable SMS to send a message through Alexa. The sample code provided by Twillo works when I just run it in a command line but when I incorporate the same code into the index.js file of an Alexa skill it is not invoking...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.