Step 4: Create a flow - Amazon Connect

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.

  1. On the Amazon Connect navigation menu, go to Routing, Flows.

    The navigation menu, Routing icon, flows option.
  2. Choose Create flow.

    On flows and flow modules page the create flow button.
  3. The flow designer opens. Enter a name for the flow, such as Test flow.

    The flow designer, the option to edit the name of the flow.
  4. Use the search box to search for the following block, and drag them onto the grid: Set logging behavior, Set voice, and Play prompt.

    The flow designer, set logging behavior block, set voice block, play prompt block.
  5. Use your mouse to drag an arrow from the Entry block to the Set logging behavior block.

    The flow designer, set logging behavior block.
  6. Connect the remaining blocks, as shown in the following image.

    The flow designer, set logging behavior block, set voice block, play prompt block all connected.
  7. Choose the Play prompt title to open its properties page.

    The flow designer, play prompt block.
  8. Configure the Play prompt block, as shown in the following image, and then choose Save. Choose Text-to-speech or chat text, choose Set manually, enter Welcome to the IT Help desk.

    The play prompt block, properties page, text-to-speech or chat text, set manually, Welcome to the IT help desk.
  9. Add a Get customer input block and connect to the Play prompt block.

    The play prompt success branch connected to the Get customer input block.
  10. Choose the title of the Get customer input block to open the properties page.

    The Get customer input block.
  11. 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 Properties page of the Get customer input block.

    The following image shows the Amazon Lex tab. Choose the name of your Amazon Lex bot from the dropdown list. For Alias enter $LATEST.

    The Amazon Lex tab, the name and alias of the bot.
  12. While still in the Get customer input block, choose Add an intent.

    The Intents section, the Add an intent option.
  13. Enter the names of the intents that you created in the Amazon Lex bot, such as PasswordReset and NetworkIssue. They are case sensitive!

    The Intents section, the PasswordReset intent and NetworkIssue intent.
  14. Choose Save.

  15. Add a Play prompt block and connect it to the PasswordReset branch.

  16. 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.

  17. Add a second Play prompt block and connect it to the NetworkIssue branch.

  18. 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.

  19. Add a Disconnect / hang up block to the grid. Connect the Default and Error branches to it.

  20. Add a Set working queue block to the grid. Connect the Play prompt block for PasswordReset.

  21. 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

  22. Add a Set working queue block for NetworkIssue, and configure it with the NetworkIssue queue.

  23. Drag two Transfer to queue blocks (from the Terminate/Transfer group) onto the grid.

  24. Connect each of the Set working queue blocks to a Transfer to queue block.

  25. Drag another Disconnect/hang up block onto the grid. Connect all of the remaining Error and At capacity branches to it.

  26. The completed flow looks similar to the following image.

  27. Choose Save, and then choose Publish.

    The Publish and Save buttons on the flow designer.
    Tip

    Any blocks that aren't connected or configured correctly generate an error. If this happens, double-check that all branches are connected.

  28. When the flow publishes, it displays the message that it saved successfully.

    The message Flow 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.