We’ve changed our name! API.AI is now Dialogflow. Learn more here.

Alexa Exporter

Our Alexa export feature allows you to export your agent as Amazon(c) Alexa compatible files, which include Intent Schema and Utterances. See official documentation for details.

To export Alexa Compatible files, choose 'Integrations' from the left side menu and click on Amazon Alexa settings. In the settings, click the "Export for Alexa" button.

You will get some files in the zip archive: IntentSchema.json, SampleUtterances.baf and number of .txt files according to used entities. The first file contains intent schema according to The Intent Schema and looks like the following:

JSON

{
  "intents": [
    {
      "intent": "TimeDeliveryTime",
      "slots": [
        {
          "name": "dateslot",
          "type": "AMAZON.DATE"
        },
        {
          "name": "timeslot",
          "type": "AMAZON.TIME"
        }
      ]
    },
    {
      "intent": "SizeSize",
      "slots": [
        {
          "name": "sizeslot",
          "type": "SIZE"
        }
      ]
    },
...

The second file will contain sample phrases with specially allocated slots, and will look like this:

Text

Pizza deliver pizza
Pizza i love pizza
Pizza i want to eat pizza
Pizza pizza
Pizza pizza delivery
CrustPizzaCrust {crustslot} pizza
CrustPizzaCrust {crustslot}
CrustPizzaCrust i like {crustslot}
CrustPizzaCrust i like {crustslot} pizza
CrustPizzaCrust i want {crustslot}
CrustPizzaCrust i want {crustslot} pizza
...

Another file contains Custom Slots according to Custom Slot Type format.

You can use this files to create Alexa Skill in the Amazon Developer Dashboard.

Press the Add a New Skill button and fill in the description fields on the Skill Information step.

On the Interaction Model step, fill in the Intent Schema from IntentSchema.json file.

For each .txt file create appropriate Custom Slot Type.

Paste content from SampleUtterances.baf file to Sample Utterances field and press the Save button.

Make sure the model successfully pass checking and press Next button.

Answer the question about certificate, make some test calls and fill in publishing information.