Step 4: Create a flow
Although Amazon Connect comes with a set of built-in flows, you can create your own flows to determine how a customer experiences your contact center. The flows contain the prompts that customers hear or see, and they transfer them to the right queue or agent, among other things.
In this step, create a flow that's specific to the IT Help Desk experience that you're creating.
-
On the Amazon Connect navigation menu, go to Routing, Flows.
-
Choose Create flow.
-
The flow designer opens. Enter a name for the flow, such as Test flow.
-
Use the search box to search for the following block, and drag them onto the grid: Set logging behavior, Set voice, and Play prompt.
-
Use your mouse to drag an arrow from the Entry block to the Set logging behavior block.
-
Connect the remaining blocks, as shown in the following image.
-
Choose the Play prompt title to open its properties page.
-
Configure the Play prompt block, as shown in the following image, and then choose Save.
-
Add a Get customer input block and connect to the Play prompt block.
-
Choose the title of the Get customer input block to open the properties page.
-
Configure the Get customer input block, as shown in the following images. Choose Text-to-speech or chat text, Set manually, and enter How can I help in the text box. Set the Interpret as dropdown box to Text.
The following image shows the Amazon Lex tab. Choose the name of your Amazon Lex bot from the dropdown list. For Alias enter $LATEST.
-
While still in the Get customer input block, choose Add an intent.
-
Enter the names of the intents that you created in the Amazon Lex bot, such as PasswordReset and NetworkIssue. They are case sensitive!
-
Choose Save.
-
Add a Play prompt block and connect it to the PasswordReset branch.
-
Choose the Play prompt title to open its properties page. Configure the Play prompt block with the message We’re putting you in a queue to help you with password reset. Choose Save.
-
Add a second Play prompt block and connect it to the NetworkIssue branch.
-
Choose the Play prompt title to open its properties page. Configure the Play prompt block with the message We’re putting you in a queue to help you with your network issues. Choose Save.
-
Add a Disconnect / hang up block to the grid. Connect the Default and Error branches to it.
-
Add a Set working queue block to the grid. Connect the Play prompt.
-
Choose the Set working queue title to open its properties page. Configure the Set working queue block by using the drop-down arrow to choose the PasswordReset queue. Choose Save
-
Add a Set working queue block for NetworkIssue, and configure it with the NetworkIssue queue.
-
Drag two Transfer to queue blocks (from the Terminate/Transfer group) onto the grid.
-
Connect each of the Set working queue blocks to a Transfer to queue block.
-
Drag another Disconnect/hang up block onto the grid. Connect all of the remaining Error and At capacity branches to it.
-
Choose Save, and then choose Publish.
Tip
Any blocks that aren't connected or configured correctly generate an error. If this happens, double-check that all branches are connected.
-
When the flow publishes, it displays the message that it saved successfully.
If the flow doesn't save, double-check that all the branches are connected to blocks. That's the most common reason flows don't publish.