Progress Bar Message
This page describes where to use and find a progress bar message type
What is a progress bar message
Progress bar messages can give the user a sense of how far they have advanced through the interaction.
When to use progress bar messages
For some interactions it is important to give the user information about the conversation itself to keep them engaged or reassure them that they are making progress towards completing their task with the chat bot.
This can be especially useful for conversations that involve answering a longer string of questions when we are collecting data from the user or for tasks that are made up of multiple steps e.g. giving identifying information, then filling out a form and finally uploading documents.
![](https://docs.opendialog.ai/~gitbook/image?url=https%3A%2F%2F3203401256-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FdP6xFXXyeBbibro1Ywnq%252Fuploads%252FqZgceohNenLno95XXa7E%252FScreenshot%25202023-12-20%2520at%252014.19.39.png%3Falt%3Dmedia%26token%3Dfa72b492-d58e-4d14-ab80-095c515025c8&width=768&dpr=4&quality=100&sign=22724ed7&sv=1)
How to create a progress bar message
Via the custom message in Message Editor
Navigate to the Message Editor and create a Custom Message. Copy the XML snippet at the bottom of this page into the black box and your chat message will appear in the Preview panel.
Fill in the template with the properties of your particular message and when you are happy with it make sure to save your message and test it in the Test Preview chat window.
![](https://docs.opendialog.ai/~gitbook/image?url=https%3A%2F%2F3203401256-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FdP6xFXXyeBbibro1Ywnq%252Fuploads%252FjD4DfVvIKznmzvoAB3SM%252FGroup%252021.png%3Falt%3Dmedia%26token%3D3e199683-1f52-4240-ba07-c9b447580636&width=768&dpr=4&quality=100&sign=ed7f183b&sv=1)
Open your OpenDialog application
Select the Scenario that you wish to edit
Select Design from the left hand panel and select Messages
Go into the message that you want to add a message block to
Add a 'Custom Message' block
Select 'Progress bar' from the drop down
Add in your own text to the fields you want to customise
To preview your message, go to the Preview section
XML Snippet
Properties
< data name=
this is the 'title' of the data you are presenting.
<data>
this is the value you would like that data to display at this point in the conversation
If you change your mind and select a different message type after generating the XML code, the new message code will be appended in the same window so make sure to delete the old message code.
How to use a progress bar message
Saving a message: Always remember to hit 'Save Message' before closing or navigating away from the edit screen.
How to construct a progress bar message
For all message types, a key element to take into consideration is Accessibility, especially for messages that include customisation with multimedia types such as buttons, images and links. For all information on accessibility within OpenDialog, please click here.
Last updated