FlowsEditor

Version History

Browse, compare, and restore previous flow versions

Wexio tracks every change to your flow through two complementary systems: versions (published snapshots) and activities (individual edit audit log). Together they provide full history and rollback.

Version history panel

Key Concepts

Versions

  • Immutable snapshots created each time you publish
  • Contain a full copy of all cards, connections, triggers, and settings
  • Each version has a sequential number (v1, v2, v3, …)
  • One version can be marked as Live — the one the bot is executing
  • You can switch to any version to restore it

Activities

  • Immutable audit log entries — one per mutation
  • Record: who made the change, what the change was, and when it happened
  • Each activity stores a full post-mutation snapshot of the flow
  • Activities with versionNumber: null are draft edits (not yet published)
  • When you publish, all draft activities are stamped with the new version number
  • You can restore draft to any activity's snapshot

Draft

  • The live, editable state where all your changes happen
  • The bot never executes the draft — only published versions run
  • hasUnpublishedChanges is true when the draft differs from the live version

Version History Panel

Open the version history panel from the toolbar or header. The panel shows three sections:

Live

The currently published version (if the flow is published). Shows version number, publish date, and who published.

Draft

Current unpublished work. Shows a list of draft activities (recent edits) with options to Reset Draft or Discard Changes.

Previous Versions

A paginated list of all past published versions. Each entry shows:

FieldDescription
Version numbere.g., v1, v2, v3
LabelOptional label set at publish time (e.g., "Holiday campaign")
Published byWho published the version
Published atWhen the version was published

Publishing

When you click Publish, Wexio:

  1. Validates the flow (checks for disconnected cards, empty flows, etc.)
  2. Creates an immutable snapshot of the current draft (all cards, triggers, settings)
  3. Saves it as a new version with the next version number
  4. Makes that snapshot the live version — the bot starts executing it immediately
  5. Stamps all draft activities with the new version number
  6. Sets hasUnpublishedChanges to false

You can optionally add a label and description when publishing to help identify the version later.

After publishing, you can continue editing the draft. Your edits won't affect the live version until you publish again.

Unpublishing

Unpublishing a flow:

  • Stops the bot from executing it — no new triggers fire
  • Clears the published snapshot
  • Does not remove version history — all versions are preserved
  • Does not touch the draft — your edits remain intact
  • Active conversations are allowed to complete gracefully

Switching to a Previous Version

Click the Restore button on any version to switch to it. This is a combined operation that:

  1. Replaces the draft — All current cards and triggers are replaced with the version's snapshot
  2. Makes it live — The version becomes the published snapshot the bot executes
  3. Discards draft activities — Unpublished draft editing history is removed

Switching to a version replaces your current draft. If you have unpublished changes, you'll see a warning dialog — confirm before proceeding.

Version numbers always increment. Switching to v1 doesn't "go back" — it means "use v1's content as the current state." The next publish after switching to v1 will create v5 (or whatever the next number is).

Restoring Draft from an Activity

You can also restore the draft to the state captured at any specific activity. Unlike version switching, this only changes the draft — the published (live) version remains unchanged.

After restoring from an activity:

  • The draft is replaced with the activity's snapshot
  • hasUnpublishedChanges becomes true
  • The bot continues running the current live version
  • You must publish separately to make the restored state live

Activity Log

The activity log records every mutation with a descriptive action:

ActionDescription
Card AddedNew card added to the flow
Card UpdatedCard content or settings modified
Card DeletedCard removed from the flow
Card RestoredSoft-deleted card restored
Cards Bulk DeletedMultiple cards removed at once
Cards Bulk RestoredMultiple soft-deleted cards restored at once
Trigger AddedNew trigger added
Trigger UpdatedTrigger configuration changed
Trigger DeletedTrigger removed
Flow Settings UpdatedTitle, description, timeout, or other settings changed
Flow PublishedNew version published
Flow UnpublishedFlow deactivated
Version SwitchedReverted to a previous version

Each activity entry includes the actor (user or AI assistant), the action, relevant details (e.g., card title, changed fields), and a timestamp.

On this page