I got interested in customizing the Amazon Alexa reading Google Sheet. I tried to create codes to enable some of the Alexa functions such as read, edit and list but I was not able to complete and run the output properly.
I have the code in separate working chunks. I tried to use the Alexa Node JS and Google Node JS. Do you think it is possible to combine them together and get it working? I would like to ask for help since I am stuck for in this for months already.
For the Alexa:
'use strict';
var Alexa = require("alexa-sdk");
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.registerHandlers(handlers);
alexa.execute();
};
var handlers = {
'ReadFileIntent': function () {
console.log ('In Read File Request')
this.emit(':tell', 'Read');
},
'LaunchRequest': function () {
console.log ('In Launch Request')
this.emit(':tell', 'SayHello');
}
};
For the Google, I followed the below link for a step by step guide https://developers.google.com/sheets/api/quickstart/nodejs