Skip to content

Deal record locked from edits after Closed Won (data integrity)

One of 565 written HubSpot workflow specs, by a collective of independent HubSpot consultants.

Enterprise

Seat pricing: Enterprise edition. To build it, a GTM Seat or an Ops Seat (an Ops Seat cannot create marketing emails or sequences). Per-hub plans: Sales Hub Enterprise.

Deal8 stepsUpdated for HubSpot seat pricing
OutcomeA key financial field edited on a deal after it closes won gets reverted to its closing value automatically and the change gets flagged for review, so a record that finance already acted on cannot silently drift after the fact.
Workflow mapdeal-hygiene-049
Deal stage is Closed Won leads to Amount Locked Snapshot unknown?. Amount Locked Snapshot unknown? leads to yes: Set snapshot to current Amount, exit; no: Amount differs from snapshot?. Amount differs from snapshot? leads to yes: Revert Amount to snapshot value; no: Exit, no change. Revert Amount to snapshot value leads to Set Post Close Edit Flag = true. Set Post Close Edit Flag = true leads to Notify manager. Notify manager leads to Create review task. yes no yes no Deal stage is Closed Won Amount Locked Snapshot unknown? Set snapshot to current Amount, exit Amount differs from snapshot? Revert Amount to snapshot value Exit, no change Set Post Close Edit Flag = true Notify manager Create review task
Deal stage is Closed Won leads to Amount Locked Snapshot unknown?. Amount Locked Snapshot unknown? leads to yes: Set snapshot to current Amount, exit; no: Amount differs from snapshot?. Amount differs from snapshot? leads to yes: Revert Amount to snapshot value; no: Exit, no change. Revert Amount to snapshot value leads to Set Post Close Edit Flag = true. Set Post Close Edit Flag = true leads to Notify manager. Notify manager leads to Create review task. yes no yes no Deal stage is Closed Won Amount Locked Snapshot unknown? Set snapshot to current Amount, exit Amount differs from snapshot? Revert Amount to snapshot value Exit, no change Set Post Close Edit Flag = true Notify manager Create review task

One of 565 written HubSpot workflow specs, by a collective of independent HubSpot consultants.

When to use it, when not to

Use it

  • Use it once Amount, Close Date, or another field finance or ops relies on at close is at real risk of being edited after the fact, whether by mistake or to quietly adjust a number after invoicing.
  • Read this as what it actually is: a workflow cannot lock a record. HubSpot's real mechanism for restricting who can edit which properties is field-level permissions inside a permission set (Enterprise, Settings > Users & Teams > Permission Sets), which is the correct control if the goal is to stop most users from editing a field at all, permanently, not conditionally on deal stage. What this fiche adds is different and complementary: a detect-and-revert pattern that watches for edits specifically after Closed Won and reverses them, functioning as a soft lock for the small number of users, such as admins, whom a permission set cannot practically exclude.
Read more on when to use itShow less

Skip it

  • Do not use this fiche as your only control if a hard, permanent restriction is what you actually need, build the permission set first, this fiche is the safety net for edits a permission set does not or cannot cover.
  • Do not use it on every deal property, pick a short list of fields that genuinely must not change post-close, locking everything makes correcting a real data-entry mistake after close needlessly painful.
Read more on when to skip itShow less

The rest of this spec

Prerequisites · 3 items

Every property with its label, internal name, type and options, plus the assets the workflow needs.

Enrollment · 4 parts

The trigger, the criteria as ticked in the UI, the re-enrollment rule and the suppression list.

Steps · 8 numbered actions

Each action in order with its parameters, branches and delays.

Known pitfalls · 5

Traps seen in production, each with what breaks and what to do instead.

Test plan and UAT script · 5 cases, 3 variants

How to prove it works in a test portal, one case per branch, and a sign-off sheet.

Files · PDF, Markdown, JSON, CSV

The properties JSON creates the fields in one call. The workflow JSON documents the build.

Install · 1 click, switched off

The installer creates the properties and the workflow, switched off, then opens a task for what it cannot create. Nothing is deleted, enabled or enrolled.

Unlock all 565 specs, 149 EUR

One-time, excl. VAT. 30-day refund. Installs in 3 portals. Founding price until 30 November.

Read the free Deal hygiene spec

Read 12 complete specs before you pay.

One per category, same format as the paid ones. Email only, no card.

We email the link, then a short note when specs change. Nothing else.

149 EUR199

Full library, 565 specs
Get the full library