How do I add a wait indicator to my chat bot?

If you want to add a wait time indicator when there is a delay in your chat bot's responses, you can specify a delay indicator with the waitTimeNoAnimation global setting in the Bot out Parser in Bot Provider V2 node or App Settings nodes.

A waitTimeNoAnimation specified in Bot out Parser in Bot Provider V2 node overrides a waitTimeNoAnimation specified in App Settings.

  1. In your Orbita Voice project, open Experience Designer.

  2. Open the Bot out Parser in Bot Provider V2 node, or the App Settings node.

  3. Add the waitTimeNoAnimation parameter to the settings JSON (for example, waitTimeNoAnimation: false). The value is specified in boolean.

The following images show code samples for Bot out Parser in Bot Provider V2 node and App Settings nodes.

Bot out Parser in Bot Provider V2 node code sample with waitTimeNoAnimation

 

App Settings code sample with waitTimeNoAnimation