Node-Red node for Amazon Alexa Skills Kit (ASK).
The library makes use of the alexa-app package to format requests as well as define your schema and utterances
Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-alexa
For an example, see the node-red-alexa fork of node-red that includes this library
The pattern of usage is similar to using node-reds http in and out nodes.
To verify incoming requests are coming from Amazon, you can set alexa.verifyRequests
to true in your node-red settings.
(add the alexa key if it doesn't already exist)
// node-red settings file
},
alexa: {
verifyRequests: true
},
This node is used to define your skill, and can be used across multiple Alexa Request nodes. The skills tab will format you schema and untterances to make it easier to submit them to amazon.
The nodes within this library map to the ASK documentation
This node receives a LaunchRequest when the user invokes the skill with the invocation name, but does not provide any command mapping to an intent.
This node receives an IntentRequest when the user speaks a command that maps to an intent. The request object sent to your service includes the specific intent and any defined slot values.
Your service receives a SessionEndedRequest when a currently open session is closed
Tell Alexa to say something. Can use multiple say
nodes and the phrases will be appended to each other
Adds a card to the users Alexa app
Adds a card to the response instructing the user how to link their account to the skill.
Completes a response from an alexa request. Required for any Launch, Intent or SessionEnd request.