Undoing AI actions
December 2, 2026
24-hour undo window
When the AI Assistant writes to your store, the action is logged in your audit log AND becomes undoable for 24 hours. After 24 hours, restoring the change requires manual work from the audit log's oldValue snapshot.
How to undo
Two paths:
- From the chat panel — each AI write shows an Undo button on its tool-result card. Available for the full 24-hour window.
- From the activity page — go to AI Assistant → Activity. Filter by tool name or date. Each undoable row has an Undo action.
What can be undone
Most AI write actions are reversible — product creates / updates / deletes, category and discount mutations, content-page edits, customer notes, order comments and more. Some tools use a one-click automatic reverse handler; others restore the previous value from the audit log when you click Undo. The activity page shows which actions are still undoable.
What cannot be undone
- Anything older than 24 hours (use the audit log and manually restore)
- Email sends (once sent, cannot be unsent)
Concurrency
If two team members try to undo the same action simultaneously, only one succeeds — an atomic lock per audit row prevents double-reversion. The other gets an "already undone" error, with no harm done.
Activity export
For audit trails or compliance reports, the activity page can export the AI history as JSON or CSV.