Enter Your Alexa Responses/Facts

Amazon recommends adding close to 100 responses/facts to prevent them from repeating too often. To add facts, edit the name of the array. Change the name SPACE_FACTS to something that represents your fact type. Then use “Find” to locate the other instances of SPACE_FACTS in the code and rename them as well.

Change references of “Space Geek” to the name of your skill. Go back to your Alexa skill in the developer console and select the Skill Information area (from the left sidebar). Copy your Application ID (It will look something like this: “amzn1.echo-sdk-ams.app.2e4bc136..”).

Upload the New ZIP File Containing Your Custom Facts to the Lambda Function

In the index.js file, look for this bit of code:


Replace “undefined” with your Application ID [inside the quotes], followed by a semicolon. Click Save.

Zip your newly updated index.js file and nd node_modules folder (from the ZIP archive you downloaded earlier) into a new ZIP archive. Pdf checkpoint 1 9 7 0. Your new .zip file should have your customized index.js file and node_modules folder.

Go back to your Lambda function in the AWS console, and under the Code tab, upload the new zip archive. Click Save.

Test your skill as you did earlier, tweaking your code where necessary. Click “Next” when you’re done testing to publish your Alexa skill!

Action Items for Building Your Own Amazon Echo Skill (Part 3)

Following the steps above, test your Alexa skill to make sure it works the way you intended it to. Then, you can customize it with your own responses to the voice commands:

1. Replace space facts with your own.

2. Enter your Alexa responses/facts.

Mac

3. Upload the new zip file containing your custom facts to the Lambda function.

4. Test your skill as you did earlier, tweaking your code where necessary.

We've written up the above secrets as part of a free help guide on designing your own Alexa Skills. You can download it here: How to Build your First Amazon Alexa Skill.

iot,amazon echo,alexa skills,tutorial,software testing
Opinions expressed by DZone contributors are their own.

Validate your ability to build, test, and publish Amazon Alexa skills.

The AWS Certified Alexa Skill Builder - Specialty certification is intended for individuals who perform a role as an Alexa skill builder. It validates a candidate’s ability to build, test, and publish Amazon Alexa skills.

Abilities Validated by the Certification

Recommended Knowledge and Experience

Prepare for Your Exam

Download Alexa On Mac

There is no better preparation than hands-on experience. There are many relevant AWS Training courses and other resources to assist you with acquiring additional knowledge and skills to prepare for certification. Please review the exam guide for information about the competencies assessed on the certification exam.

Use Alexa On Mac

Exam Details

Delivery Method
Testing center or online proctored exam