Someone edited a workflow and nobody knows what changed

Workflows are production logic with no history: an edit or deletion is just gone. This skill exports every workflow definition to versioned JSON via the v4 API’s batch reads, diffs exports over time, and can recreate a workflow from backup (disabled, for review).

Workflows are production automation, but most portals treat them like disposable UI configuration: no backups, no change history, no review. One mis-click in the workflow editor can silently break lead routing or suppression for weeks. The v4 Automation API supports full read and create of workflow definitions, which makes a code-like lifecycle possible: export → version → diff → restore. — from the Workflows as Code skill

Fix it with one command

The workflows-as-code skill walks Claude Code through the entire fix — audit, CSV baseline, execution, and verification. Ready-to-run Python scripts included.

/plugin marketplace add tomgranot/hubspot-admin-skills
/plugin install hubspot-admin@hubspot-admin-skills
/workflows-as-code

Frequently asked questions

Does HubSpot have a recycle bin for deleted workflows?

No — a deleted workflow is unrecoverable. A scheduled JSON export is the only real safety net, which is why the cleanup-workflows skill requires an export before any deletion.

Can I restore a HubSpot workflow from an export?

Yes, with caveats: the skill recreates the workflow from its exported JSON via the v4 API, always disabled. A few UI-only action types may need manual re-adding; the restore report lists them.

More automation workflows skills