Amazon Alexa is a voice assistant enabled on wide range of Amazon Echo devices.

Alexa skills

Aimylogic enables you to create voice skills for Alexa connecting your bot to the Alexa Channel. Skill adds voice features to Alexa allowing the user to invoke your service. Please learn more about Alexa skills here.

How to create skill for Alexa

Aimylogic provides Alexa channel that can be connected to your bot. Just click on Channels item in the left menu and then - Alexa. Configuration screen appears.



Here you can customise an invocation name of your skill (the name user has to say to invoke your skill), skill's locale and the name of the channel. Then you have to click Connect button and grant Aimylogic to build an Alexa skill for you.

Please note that you have to have Amazon Developer account to create skills for Alexa, not a regular Amazon account

Once the skill was created, a new channel is added to your bot.



How to test a skill

You can click on Open Test Console button to test your skill in the Alexa Developer Console.

Note that skill building process make take up to 5 minutes before your skill becomes active

You can also use a physical Echo device under your developer account to test a skill through the voice commands. There is also Reverb application for phones and tables that emulates Alexa's behaviour and voice.

Please note that built-in test widget of Aimylogic uses different NLP engine, that is why it's better to use Amazon's test console or Echo device to test your skill during development

How to use Amazon's entities in your skill

Amazon provides a set of built-in entities that can be extracted by Alexa from the user's voice query. You can use any of this entities as a regular entities in Aimylogic. For example



Here we use $AMAZON.MusicRecording slot type as an entity in Aimylogic to extract the title of music track from the user's input.

You can also use your own Custom entities and System entities in your scenarios.

Please note that you can use TEXT entity with prepended or appended words only

SSML in Alexa

You can use SSML tags to create a rich voice response in your skills. Use these tags in the Speech Synthesis Markup field of the Text block.

SSML tags in Text block

How to play audio tracks

Alexa allows skill to play short MP3 tracks (up to 90 seconds length). But you have to convert your MP3 file previously to the format that is suitable for Echo devices. Please learn how to insert audio tracks in your bot's response and convert an MP3 files Audio converter.

How to publish your skill

During testing the skill is available only for you. Thus other users cannot interact with your Alexa skill. To make it public please go to the Alexa Developer Console, select your skill and click on Distribution tab. Here you have to provide some data regarding your skill and send it to Amazon review. Once review is passed your skill becomes available for the all users.

How to add another locale to your skill

If you'd like your skill could work in other locales, please create a new Alexa channel and provide your skill's ID in the channel settings. Select another locale, customise an invocation name and click Connect.

Aimylogic won't create a new skill, it adds a new locale to the existing one
Was this article helpful?
Thank you!