Customize the IVR integration-specific keywords that are provided by default for better conversation in another language with the Virtual Agent.
Before you begin
Role required: admin
Ensure that you have completed the IVR setup on both
AWS Console and
ServiceNow instance.
Note: Any customizations done to the Lex bot must be redone in case of any updates to the Lex bot resource in the future versions of the application.
Procedure
-
Log in to the AWS Admin Console and open the Amazon Lex bot named SN_CI_CC_LexBot.
-
If you want to customize the default keywords, you can edit the amz_ivr_keywords slot type and give preferred values, and here's how you can do that.
-
Under the Conversation structure section in Slot types, select View slot types.
-
On the Slot types page, select AMZ_IVR_KEYWORDS slot type.
The slot type is used for customizing the IVR integration-specific keywords namely
next,
repeat,
back, and
skip. These keywords can be
used when talking to the Virtual Agent to navigate the paginated options/list of choices to skip a control.
Important: Ensure that you are editing the values only on the right column. Do not edit the values on the left column as they should not be changed regardless of the language.
By default the slot type values (on the
right column) are in English. If the values on the right are not suitable for the another, change them to equivalent appropriate values, which shall be spoken by you when talking to the Virtual Agent.
If you have edited the slot type values on the right column, you must also ensure that you edit their respective bot messages on your instance to reflect these changes. For more information, see Manage bot messages for Conversational IVR.
-
Click Save Slot type and click Build on the top right of the page.
Note: You must build the Slot types for any new changes you made.
The language is successfully built and on the All languages page, you can notice the Successfully built status against the language you have customized.
-
Create a new version of the bot to include both the languages.
-
On the left navigation, select Bot versions.
-
On the Versions page, select Create version on the top-right.
Note: Ensure that all the languages that you need in this bot have the Successfully built status before creating the version as only the built languages will be included in the version.
-
On the Create version page, provide a Description for the version and click Create.
A version gets created with the next number. For example, Version 2 when there is only the default version 1 on your AWS instance.
-
Associate the version that you created with the production alias.
-
One left pane, navigate to and select SN_CI_CC_LexBot_Prod_Alias, the default production Alias associated with Version 1 for a newly set up integration.
-
On the Alias page, select Associate version with alias and select the version you created for the language being customized.
Note: Ensure to always have the production alias to point to the latest version number.
-
On the Associate alias to version pop-up, select the version and select Associate.
At this step, the bot is available for use in the language that you customized.