Dynamic Loading Messages with Typing Indicator

Updated 

Dynamic Loading Messages enhance the typing indicator experience by displaying real-time status updates while a response is being processed. The status message is populated from a variable and displayed alongside the typing indicator, helping users understand the current stage of processing.

This feature improves transparency during response generation by providing contextual progress updates instead of showing only a generic typing indicator.

How It Works

When a user submits a request, the system may perform one or more processing steps before returning a response. During this time, the typing indicator can display a dynamic loading message retrieved from a variable.

For example, users may see status messages such as:

  • Searching for information...
  • Retrieving data...
  • Processing request...
  • Generating response...
  • Preparing results...

These messages help users understand that the system is actively processing their request.

Key Capabilities

Display Dynamic Status Messages

Display status messages stored in variables to provide contextual progress updates during processing.

Show Typing Indicator and Status Message Together

Display the typing indicator alongside the loading message to clearly indicate that processing is in progress.

Support Variable-Based Updates

Update loading messages dynamically based on the current workflow stage or processing status.

Fallback to Standard Typing Indicator

If no loading message is available, the system continues to display the standard typing indicator.

Example

A user submits a request.

While the request is being processed, the interface displays a typing indicator along with a status message, such as Generating response....

After processing is complete, the final response is displayed and the loading message is removed.

Benefits

Dynamic Loading Messages help:

  • Provide greater visibility into processing progress.
  • Improve the user experience during longer-running operations.
  • Reduce perceived wait times.
  • Create a more transparent and responsive interaction experience.

Common Use Cases

Dynamic Loading Messages are useful when a workflow performs multiple operations before returning a response, such as:

  • Retrieving information from external sources
  • Processing data from integrated systems
  • Executing multiple workflow steps
  • Generating responses or recommendations
  • Processing media or structured content

By displaying contextual status updates, users remain informed throughout the processing lifecycle.