Account & Settings

aelrefai
Member | Platinum Partner
Member | Platinum Partner

How do I lock a deal property based on a trigger?

I want to lock some deal properties from being edited after the contract for said deal becomes active. Is this possible?

0 Upvotes
3 Replies 3
GerardoMuro
Contributor | Gold Partner
Contributor | Gold Partner

How do I lock a deal property based on a trigger?

Unfortunately, you can't lock a deal property based on a trigger like a stage change or contract status in HubSpot.

What you can do (on Professional or Enterprise plans) is restrict editing access to certain deal stages — so only specific users or teams can edit deals in those stages. But this doesn’t apply to individual properties, and it’s not dynamic at the property level.

A common workaround is using workflows to revert changes or notify admins if a "locked" property is edited after a certain stage.

Hope that helps!

0 Upvotes
BérangèreL
Community Manager
Community Manager

How do I lock a deal property based on a trigger?

Hi @aelrefai @GerardoMuro, I hope that you are well!

Thanks for asking the HubSpot Community @aelrefai!

@GerardoMuro, thanks for your help! Could you share more details on how to setup the workflow to help @aelrefai, please?

Also, I wanted to share the article to "Manage view and edit access for properties" which I think it's the one you were referring to @GerardoMuro.

This article "Restrict deal, ticket, and custom object editing access by pipeline stage (Professional and Enterpri..." might be of interest to you @aelrefai!

Have a great day and thanks so much!
Bérangère


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres! !
0 Upvotes
GerardoMuro
Contributor | Gold Partner
Contributor | Gold Partner

How do I lock a deal property based on a trigger?

Hi @BérangèreL @aelrefai ,
Of course, I can help!

To solve this issue, we need to follow a few preliminary steps:

  1. Create backup properties:
    In this case, you’ll need to create backup properties that will store the original values. These values should be copied using a workflow triggered when a deal enters a specific stage. The workflow should copy the value from the original property into the corresponding backup property.
    GerardoMuro_0-1749133410910.png

    • For added security, you can restrict access to the backup properties in their configuration settings.
      GerardoMuro_1-1749133518379.png

  2. Restore the original value if it changes:
    Set up a second workflow that triggers whenever someone changes the original property. This workflow should restore the original value from the backup property. Additionally, you can add an action to send a notification to an admin or another responsible person.

    GerardoMuro_3-1749134719401.png

     

Let me know if you'd like help setting up these workflows or if this approach meets your requirements.