Create inbound and outbound Amazon Connect contact flows
Create the inbound and outbound Amazon Connect contact flows to set up IVR (Interactive Voice Response).
始める前に
Role required: admin
手順
-
Log in to your AWS account and select
Contact Flows.
-
Select the region where the Lambda function/LexBot was created.
For more information see, Create an Amazon S3 bucket.注:Ensure that the region that you selected matches across the Amazon Connect setup.
- In the Amazon Lex section, search and select your bot (for example: SN_CI_CC_LexBot) in the Bot drop-down, select SN_CI_CC_LexBot_Prod_Alias file from the Alias drop-down, and click Add Amazon Lex Bot.
- In the AWS Lambda section, search for your Lambda function (for example: SN_CI_CC_Process_Request) from the drop-down and click Add Lambda Function.
-
Navigate to the Approved Origins section, click Add
Domain to add your ServiceNow
instance URL and click Add Domain.
注:Do not select the Enable Contact flow logs check box under the Contact flow logs section.
-
Select the region where the Lambda function/LexBot was created.
-
Log in to your Amazon Connect Instance as an Administrator.
-
Hover over the Routing
icon on the left navigation bar and select Prompts.
-
Click Create new prompt, upload a prompt file of
your choice with .wav file extension, and click
Create.
注:Ensure that the .wav audio file is no more than 10 seconds for optimal results.
-
Hover over the Routing
icon on the left navigation bar and select Contact flows.
- Click the drop-down next to Create contact flow button and select Create customer queue flow.
- On the Contact flow form, click the drop-down next to the Save button and select Import flow (beta).
- On the Import flow (beta) pop-up screen, select a contact flow JSON file of your choice (for example: SN_CI_CC_Inbound_Customer_Queue_Flow) and click Import.
- After the JSON is uploaded, locate and click the Loop prompts tile.
-
On the Loop prompts pop-up, select an audio file of your choice with
the .wav extension (for example:
SN_CI_CC_Inbound_Prompt.wav) from the Audio recording drop-down and
click Save.
注:Ensure that the .wav audio file which you upload, does not exceed more than five-minutes duration.
- Click Save to save the Contact flow and click Publish to publish the Contact flow.
- Navigate to Routing > Contact flows, click Create contact flow and import the SN_CI_CC_Inbound_Contact_Flow JSON file that you downloaded from the KB article.
- Locate and click the Set customer queue flow tile.
- In the Set customer queue flow pop-up, select the customer queue flow from the drop-down (for example: SN_CI_CC_Inbound_Customer_Queue_Flow) and click Save.
- Locate and click the Invoke AWS Lambda function tile.
- In the Invoke AWS Lambda function pop-up, select the SN_CI_CC_Process_Request lambda function file from the drop-down, that you have already added at Step 1, C, and click Save.
- Locate and click the Get customer input tile.
- In the Get customer input pop-up, navigate to the Lex bot section and select the SN_CI_CC_LexBot file from the Name drop-down and SN_CI_CC_LexBot_Prod_Alias file from the Alias drop-down and click Save.
- Click the Play Prompt tile next to the Set Working Queue tile.
- In the Audio prompt drop-down, select the .wav file of your choice and click Save.
- Click Save to save the Contact flow and click Publish to publish the Contact flow.
- Navigate to Channels > Phone numbers and click Claim a number.
- On the Claim Phone number form, select either the Toll free Country or the DID (Direct Inward Dialing) Prefix and select the number.
-
Provide a description of your choice in the
Description field, select
SN_CI_CC_Inbound_Contact_Flow from the Contact flow /
IVR drop-down, and click
Save.
You can edit the number description and also associate it with a new contact flow on the Manage Phone numbers page.After the number is published, customers can make a call and start conversations with the Virtual Agent.
For more information about creating a Contact Flow, see Amazon Contact flow documentation.
For more information about creating Prompts, see Create prompts in Amazon Connect documentation.
-
Hover over the Routing
次のタスク
Invoke an automated caller interaction with bots to fulfill the caller's request within the ServiceNow instance. For more information, see Configure a contact flow for an automated caller interaction.