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-codeFrequently 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
/bounce-monitoring-workflowBuild a workflow to protect sender reputation through automated bounce monitoring. Auto-suppresses contacts above a configurable bounce threshold, alerts on hard bounces, and flags high-bounce contacts for weekly manual review.
/engagement-suppression-workflowBuild a two-tier sunset workflow that re-engages dormant contacts before suppressing them. Tier 1 triggers a re-engagement campaign after a configurable inactivity window. Tier 2 suppresses contacts that fail to re-engage within a configurable re-engagement window.
/lifecycle-progression-workflowBuild workflows to automate contact progression through the sales funnel: Lead to MQL to SQL to Opportunity to Customer. Each transition is triggered by a specific event (score threshold, meeting booked, deal created, deal won).