Skip to content

Instantly share code, notes, and snippets.

@memodoring
Created May 9, 2018 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save memodoring/425761914e4094324bb67b483e6caefe to your computer and use it in GitHub Desktop.
Save memodoring/425761914e4094324bb67b483e6caefe to your computer and use it in GitHub Desktop.
A sample of building a response with the Alexa SDK V2 for Node.js
return handlerInput.responseBuilder
.speak(speechOutput)
.withSimpleCard(SKILL_NAME, randomFact)
.reprompt(‘Would you like another fact?’)
.getResponse();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment