npm install
npm run test
(node testflow.js)
- in order to run/test the code:
-
- Copy data/aws-config-template.json and rename it aws-config.json
-
- Edit the appId field
{
"region": "us-east-1",
"appId": "[your skill's app id]"
}
-
provided by amazon in the alexa-cookbook repo
-
invokes the intents specified in dialogs/default.txt
-
requests a valid alexa skill/app id (optional)
var appId = '[your skill's app id]';
- not part of the lambda build/test process but are helpful when creating the skill
- speechAssets/InteractionModel.json (can be pasted into a new skill)
- speechAssets/SampleUtterances.txt
- copy lib/index.js to the lambda code editor
- (or set up the aws CLI ...)