Skip to main content

Dynamic avatars

You can decide to change the host avatar dynamically so that your bot can display multiple avatars. Here is a simple example:

Multiple avatars demo

For this, head over to the "Theme" tab and set the host avatar to a variable URL:

Variable URL bot

Then you can set this variable to any URL in your flow so that the host avatar changes dynamically.

Multiple avatars flow example

The first block defines all the avatars that can be displayed. The second block starts by setting the avatar to the wizard avatar. The final block starts by setting the swordsmith avatar.