Version Control in Studio
Studio is a collaborative tool and is designed to enable multiple users to work on an assistant at the same time. Flow Version Control in Studio keeps track of your work as you build and allows you to review your changes, and if necessary, revert to a previous version.
This guide will lead you through Studio's version control features and how to manage your assistant changes with a team.
Best Practices for Version Control
- Save frequently: Make it a habit to save versions after completing major edits or before testing new ideas.
- Use clear descriptions: Add notes to versions (if the feature supports it) to make it easier to identify important saves.
- Communicate with your team: Ensure everyone working on the assistant understands how to use version control to avoid conflicts.
View the Flow History
Flow History lets you view all changes made to a flow by any user.
- Open your flow in Studio.
- Click the “History” button located in the flow editor.
A panel will slide out from the left side of the screen, showing a detailed timeline of changes. This includes edits made by all users, so you always know who did what.
Save a Version
Saving a version of your flow ensures that you can restore it later if needed.
-
Once you're happy with your current flow, click the “Save flow version” button in the editor.
-
Your saved version will appear in the Flow History panel, along with the time, date, and author of the save.
**✨ Pro Tip ✨ **Save versions before making significant changes so you can easily return to a stable state.
Revert to a Previous Version
If something goes wrong or you want to go back to a previous flow setup, reverting is simple.
-
In the Flow History panel, locate the version you want to restore.
-
Click the “Revert” icon next to that version.
-
Confirm your choice in the modal that appears.
Once reverted, the flow will be restored to the selected version, and a note will appear in the Flow History to track the event.