Change history and restore
See what changed in your configuration, who changed it and why, then compare versions and roll back.
Octocom records the changes people and AI agents make to your configuration, with who made each one and why. You can review an agent's work, compare versions and roll back a mistake. Three layers work together:
- Change history records every change made through Copilot or MCP, and changes to key resources made in the dashboard or REST API, with the author, the session and an optional note explaining why.
- Versions keep the full content of workflows, articles, bot rules, code and other key resources after every save. You can compare and restore any version.
- Archives replace deletion for most resources. An archived resource keeps its configuration and, in most cases, can be restored.
All of it is available to Copilot and to any MCP client. Versions of the most-edited resources can also be viewed and restored in the dashboard.
Audit what changed
Ask in plain language ("What changed on the returns workflow since Monday, and why?"), or call the tools directly.
List changes
list_configuration_changes returns changes newest first. Filter by resource, by referenced ID or by session:
{
"organizationId": "YOUR_ORGANIZATION_ID",
"entityType": "workflow",
"entityId": "WORKFLOW_ID",
"limit": 20
}| Argument | Meaning |
|---|---|
entityType | The resource type, such as workflow, article, botRule or recurringJob. action matches both Python and API actions. toolExecution selects completed write-tool runs. |
entityId | The resource ID. Also finds write-tool runs that referenced that ID. |
sessionId | A Copilot session or MCP work session: every change made for that objective. |
limit | 1 to 100, default 30. Page with offset and the returned nextOffset. |
includeLegacy | Default true: also include older versions that have no recorded author or session. Their attribution fields are empty. |
Each entry carries the operation, the tool, the optional change note, the author and client, the Copilot session and turn or the MCP work session, and references to the versions before and after the change.
Read one change
get_configuration_change takes a change ID or a version ID. For a resource change it returns the before and after state. For a write-tool run it returns the tool and the IDs it referenced, without claiming a diff. Credential fields of API actions are left out. This tool only reads; it never restores anything.
Both tools need the Read automations and code permission (automations:read), because history can name code and settings.
Find out why
- The session. A change made in Copilot or an MCP work session links to that session.
get_sessionreturns its goal, session notes and other changes. See Work sessions and context notes. - Copilot sessions.
get_copilot_session_contextreturns a Copilot session's author, time and recorded changes. The conversation itself stays private to its owner unless they share a link. - Context notes.
list_context_noteswith anentityReffinds lasting decisions linked to the resource.
What change history covers
Change history records every write made through Copilot or MCP. Changes made in the dashboard or through the REST API are recorded for:
- versioned resources: workflows, articles, bot rules, Python and API actions, condition providers, recurring jobs, HTTP endpoints, phone line routers and Python modules
- email inbox settings, handoff settings, writing style, system prompt settings (including the Python prompt section), follow-up settings, CSAT settings, spam filter instructions and Google Sheets connections
- assignment settings, assignment rules, capacity profiles and help desk settings changed through the REST API
Other dashboard edits, such as changes to tags, macros or web chat settings, are recorded in the user action audit. An empty change history result means no change was recorded there, so check the audit before concluding that nothing changed.
Compare versions
| Resource | List versions | Read or compare |
|---|---|---|
| Workflow | list_workflow_versions | get_workflow_version, diff_workflow_versions |
| Article | list_article_versions | get_configuration_change with a version ID |
| Bot rule | list_bot_rule_versions | get_configuration_change with a version ID |
| Python or API action | list_action_versions | get_configuration_change with a version ID |
| Condition provider | list_condition_provider_versions | get_configuration_change with a version ID |
| Recurring job | list_recurring_job_versions | get_configuration_change with a version ID |
| HTTP endpoint | list_http_endpoint_versions | get_configuration_change with a version ID |
| Phone line router | get_phone_line_router (includes its last 10 versions) | get_configuration_change with a version ID |
| Product sync parser | list_product_sync_parser_versions | get_configuration_change with a version ID |
| Bot QA check | list_bot_qa_check_revisions | Each revision's full wording. Reapply one with update_bot_qa_check |
| Human QA scorecard | list_human_qa_scorecard_revisions | Each revision's full content |
list_workflow_versions shows who made each change, when, and a one-line summary. diff_workflow_versions returns a line-level diff between two versions, including added, removed, edited and reordered variants:
{
"organizationId": "YOUR_ORGANIZATION_ID",
"workflowId": "WORKFLOW_ID",
"fromVersion": 7,
"toVersion": 9
}Omit both version numbers to compare the latest version with the one before it. This is the quickest way to check what a change you just made actually did.
Roll back
Restore a version
Pass a version ID to the matching restore tool:
| Resource | Restore tool |
|---|---|
| Workflow | restore_workflow_version |
| Article | restore_article_version |
| Bot rule | restore_bot_rule_version |
| Python or API action | restore_action_version |
| Condition provider | restore_condition_provider_version |
| Recurring job | restore_recurring_job_version |
| HTTP endpoint | restore_http_endpoint_version |
| Phone line router | restore_phone_line_router_version |
| Product sync parser | restore_product_sync_parser_version |
Restoring saves the old content as a new version marked as restored, so history stays complete and a restore can itself be undone. The restore tools for workflows, articles, bot rules, actions, condition providers, recurring jobs, HTTP endpoints and phone line routers also bring back a resource that was archived.
Restore an archived resource
Most removal tools are named archive_*: they keep the resource and its history instead of deleting it. How you bring one back depends on the resource.
- Versioned resources.
list_archived_workflows,list_archived_articles,list_archived_bot_rules,list_archived_actions,list_archived_condition_providersandlist_archived_recurring_jobsreturn each archived resource with its latest version ID. Pass that ID to the restore tool above. For phone line routers,list_phone_line_routersreturns thelatestVersionIdof archived routers. For HTTP endpoints,list_http_endpoint_versionsalso works on an archived endpoint. - Other resources.
list_archived_configuration_resourcestakes aresourceTypeand returns archived IDs, labels, archive dates and the tool that restores them. It covers organization secrets, comment workflows, review workflows, data collection prompts, event handlers, sidebar widgets, sidebar widget actions, email rules, webhooks, search redirects, merchandising rules, knowledge documents, web chat configurations, virtual try-on configurations and macros. Restore with the matching tool, for examplerestore_webhookorrestore_macro, passingresourceId. - Context notes.
restore_context_notebrings back an archived context note. - QA checks and scorecards. Archiving a Bot QA check or a Human QA scorecard is final, and its past results are kept. To pause one, turn it off instead:
set_bot_qa_check_enabled, orupdate_human_qa_scorecardwithenabled: false.
A restored resource resumes its previous enabled or live state immediately, so review it first. If an active resource now uses the same name, slug or trigger, the restore is refused: rename or archive the active one first. Restore a sidebar widget before restoring one of its actions.
A few tools delete permanently, for example delete_metric_report. Their descriptions say so.
In the dashboard
Workflows, custom actions, custom conditions, knowledge articles and bot rules have a View history option. It lists every version with its change type, author and time, and a Restore button. Workflow versions show what changed in each version. HTTP endpoints show a Version history section in the endpoint editor, with Restore this version.
The REST API lists and restores versions of workflows, articles and bot rules, restores phone line router versions, and restores archived knowledge documents.
What a restore cannot undo
Restoring configuration changes how Octocom behaves from now on. It does not undo what already happened: messages sent to customers, conversations closed or handed off, and calls that actions made to external systems. Use test conversations and the test_* tools before changes reach customers, and read-only connections for audits.