Response for Alexa
Amazon Alexa is an intelligent voice assistant that powers Amazon Echo – voice-enabled smart speaker developed by Amazon.com. This action lets you form a custom response (and reprompt) for Alexa. It lets you use the JSON output of other actions, and format the output in a way that Alexa understands and requires to respond. To do this, add this action to the canvas and configure it.
Field data
Let’s look at the fields that you can use to create your custom response and reprompt.
Response Speech:
- Speech Type (Mandatory): Select the type of the response speech from the drop-down list. Available options are ‘Plaintext’ and ‘SSML’. By default, the value is set to 'Plaintext'.
- Enter Response Speech (Mandatory): Enter or add the text that Alexa will render as voice response to a user’s request.
Reprompt Speech:
- Speech Type (Optional): Specify the type of the reprompt speech from the drop-down list. By default, the value for this field is set to 'None'.
- Enter Reprompt Speech (Optional): Enter or add the text that you wish to render as a reprompt from Alexa. Reprompt is a prompt that is used by Alexa in case the user’s response is not audible or not understood by Alexa.
- Should End Session (Optional): Specify if you wish to end the session or keep it active. By default, the value for this field is set to 'True'.
Once you have entered all the details, click on 'Done' and 'Run' the workflow. This will convert your service response to JSON format.
Output:
-
Response for Alexa
-
version string
-
response object
-