
Prerequisites
- Access to Amazon Alexa.
Restrictions
- This Endpoint uses the Alexa NLU Connector, meaning all Natural Language Understanding (NLU) is processed by Amazon’s NLU engine. Consequently, the Cognigy NLU model can’t be used in this configuration.
- Amazon Alexa passes only the intent name to the Cognigy Flow, not the actual user input. Therefore, any Nodes that rely on user inputs, such as If Nodes, or Intent rules won’t function as intended in this setup.
Generic endpoint settings
Override snapshot connections
If you activate the Override Snapshot Connections toggle, the endpoint overrides the connections in the snapshot with connections from the project. If only the snapshot has a connection, the connection isn’t overridden. If necessary, you need to update such connections manually. To override the connection of the agent in production, you can:- Make the necessary changes in a staging environment, create a snapshot of the same agent, and select the snapshot in the endpoint settings. Deactivate the Override Snapshot Connections toggle.
- Import connections from another agent using a package. Activate the Override Snapshot Connections toggle.
Mocking
In the Advanced Settings section, you can toggle on the Enable Mocking setting to activate mocking for the endpoint. Mocking lets you change node behaviors and test how they perform through the endpoint without changing the original node settings. Make sure that you also activate mocking at the node level.Additional endpoint settings
You can use the following additional settings to customize the endpoint:Endpoint-specific settings
How to set up
1. Create an Alexa endpoint
1. Create an Alexa endpoint
- In the left-side menu of your Agent, click Deploy > Endpoints.
- On the Endpoints page, click + New Endpoint.
- In the New Endpoint section, do the following:
- Select the Alexa Endpoint type.
- Specify a unique name.
- Select a relevant Flow from the list. Save changes.
- In the Endpoint, go to the Alexa Settings.
- Click Login With Amazon and log in to your Amazon Developer Account.
2. Create an Alexa skill
2. Create an Alexa skill
- In the Amazon Developer Portal, click the Alexa tab and select Create Skill.
- Name the skill and select the Custom model for flexibility in building the skill. Save and proceed to the Skill configuration.
- Add the following built-in intents to handle Yes/No questions in your Flow’s Question Nodes.
AMAZON.YesIntentAMAZON.NoIntentYou can use additional Amazon-built-in intents by accessing them viaci.intentin Cognigy.
- Go to the Endpoints page. In the Service Endpoint Type section, select HTTPS.
- In the Default Region field, enter the copied Endpoint URL. From the Select SSL certificate type list, select My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority. You can also configure another region if needed. Save the changes.
3. Finish setup on the Cognigy side
3. Finish setup on the Cognigy side
- Go to the Alexa Endpoint that you created previously.
- Select the target Alexa skill from the Deployment list.
- Click Deploy to automatically configure the skill to use the Endpoint.