Skip to content

Await Block

The “Await” Block is a special element in the Grailgun builder that allows you to pause scenario execution for a specific time before moving to the next step. This Block is useful for creating pauses in dialogue, simulating data processing, or creating a more natural pace of bot communication with users.

  • Creating a pause in dialogue for a specified amount of time
  • Simulating bot “thinking” or data processing
  • Improving user experience through a more natural communication pace
  • Managing dialogue flow with time delays
  1. Open the bot builder
  2. From the Blocks panel, select “Await”
  3. The Block will be added to the workspace
  1. Double-click on the “Await” Block in the builder
  2. In the opened form, set the delay value
  3. Click “Save” to apply settings

Typical use case for the “Await” Block:

  1. “Message” Block sends a message to the user (e.g., “Searching for information…”)
  2. “Await” Block creates a pause (e.g., 1 minute)
  3. Next “Message” Block sends the search result
  • Inform the user: Always tell the user that waiting is happening (e.g., “Just a moment, checking information…”)
  • Activity indicators: Use messages with ellipsis or emojis like ⏳ to indicate the waiting process
  • Combine with other Blocks: The “Await” Block is most effective in combination with “Message” Blocks before and after waiting
  • User reminder: The “Await” Block can be used to remind the user about an upcoming event, ask them to answer a question, or perform an action