Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Washio + Amazon Echo

Washio + Amazon Echo

Alexa, ask Washio to clean my clothes.

Bob Wall

June 02, 2016
Tweet

More Decks by Bob Wall

Other Decks in Technology

Transcript

  1. Should I Make an Alexa Skill? Yes Maybe Not “Alexa,

    ask Tesla to purchase a Model X.” “Alexa, ask Yummly to find a recipe for vegan cupcakes.” “Alexa, ask GrubHub where my food is.” “Alexa, ask New Relic what the status of the servers is.” “Alexa, ask New Relic for a report on the servers from yesterday.”
  2. How Do I Create an Alexa Skill? 1. Register a

    developer account through Amazon’s Developer Console. 2. Create a new Alexa Skill using the Alexa Skills Kit (ASK) 3. Create a AWS Lambda function to handle Skill requests.
  3. Handling Skill Intents: “Alexa, ask Riddlr to tell me a

    riddle.” AWS Lambda alexa = require('alexa-app'); app = new alexa.app(); ... app.intent(“tell me a riddle”, function (request, response) { riddlrApi.getRandomRiddle(request.sessionDetails.pastRiddleIds) .then(function (data) { addRiddleIdToSession(response, data.riddle.id); response.say(data.riddle.text).send(); }); }); ... exports.handler = app.lambda(); NodeJS
  4. Account Linking Incoming Intent Session has Valid User Token? Clear

    Session + Redirect to Linking Page Proceed with Intent “Check your Alexa app to link your account.” User credentials verified + User Token returned No Yes
  5. Special Considerations 1. Use Managed Intents 2. Be careful when

    using Slots. 3. Track user progress using session storage. 4. Handle misinterpreted Intents.
  6. In Conclusion Amazon Echo is all about Convenience Convenience is

    King Amazon Echo is King (And 3rd-party developer support!)