When building a conversational AI application, you may want to let users exit the current flow or fetch specific information and perform an “interrupt”.

After completing the interrupt, the user can continue where they left off or do something different entirely. Some common examples of this can include, but are not limited to:

In this guide, we explain how you can use interrupts in UI Builder. The following is covered:

  1. creating an intent and setting the metadata property to handle interrupts
  2. creating a child dialog with a prompt that raises an interrupt
  3. using the Allow Interruptions property on a confirmation prompt
  4. resuming a conversation where it left off after an interrupt has occurred

Prerequisites

This guide assumes you are familiar with UI Builder, creating intents, dialogs, using properties, and using the test in web chat feature.