Chatbot versioning
Versioning lets you change an active chatbot without disrupting live conversations. Instead of duplicating a chatbot and switching senders, you create a new version of the same chatbot, activate it when ready, and roll back if needed.
Each chatbot keeps one identity. Its versions share the same chatbot and sender configuration; only one version is active at a time.
Version states [#version-states]
The following states apply to chatbot versions:
| State | Description |
|---|---|
| Draft | A work-in-progress version you can edit freely. Shown with a gray status chip. Editing an active chatbot creates a draft version in the background. |
| Saved version | A snapshot of a draft. Saved versions cannot be edited. |
| Active version | The version serving live conversations. Only one version is active per chatbot at a time, shown with a green status chip. |
Create a version [#create-version]
To create a new version of a chatbot:
- Log on to the Infobip web interface.
- In the menu on the left, go to Answers > Chatbots.
- Open the chatbot you want to change.
- Make your changes in the chatbot editor. Your changes are saved to a draft version.
- Select Create version.
- Optionally, enter a Version name and Description.
Activate a version [#activate-version]
Activating a version makes it the one that serves live conversations. Only one version is active per chatbot at a time.
-
Open the chatbot and select the version you want to activate.
-
Select Activate.
-
If another version is already active on the sender, choose how to handle open conversations:
- Terminate sessions gracefully: open conversations on the previously active version continue for a grace period. New conversations use the newly activated version. When the grace period ends, remaining open conversations close.
- Terminate sessions immediately: all open conversations on the previously active version stop at once and move to the newly activated version.
Activating a different version does not delete the previous one. You can roll back by activating an earlier version.
Roll back to a previous version [#roll-back]
If a newly activated version causes problems, activate a previous version to restore the earlier behavior.
- Open the chatbot and open the version history.
- Select the version you want to return to.
- Select Activate to make it the active version again.
View version history [#version-history]
The version history lists all versions of the chatbot, with the active version marked. For each version you can see its name, who created it, and when.