⚙ Operations Hub

MCallies
Participant

Comparing Two Properties

SOLVE

I'm looking to put together a custom code that would trigger a notification if two properties are not the same. For example, I have an estimated deal amount and a final deal amount and I want an email notification to be sent if the two properties are not the same. I'm not quite sure how to code this so I'm seeing if anyone else has put this together as it seems like a common nice to have function. T

2 Accepted solutions
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Comparing Two Properties

SOLVE

Hi @MCallies,

 

You might not need custom code for this if the the values you'd like to compare are numbers. You could use a calculation property to subtract one number from the other. If the result is not 0, you could send a notification.

 

Best regards!

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

ArtiumKon
Solution
Participant

Comparing Two Properties

SOLVE

Hey @MCallies,

 

I'm using Make Platform for property comparison.

Using workflow I'm sending a webhook with the object properties to Make and then sending Webhook response from Make with the Result. 

If you need any help you can contact me.

 

View solution in original post

3 Replies 3
ArtiumKon
Solution
Participant

Comparing Two Properties

SOLVE

Hey @MCallies,

 

I'm using Make Platform for property comparison.

Using workflow I'm sending a webhook with the object properties to Make and then sending Webhook response from Make with the Result. 

If you need any help you can contact me.

 

karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Comparing Two Properties

SOLVE

Hi @MCallies,

 

You might not need custom code for this if the the values you'd like to compare are numbers. You could use a calculation property to subtract one number from the other. If the result is not 0, you could send a notification.

 

Best regards!

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

MCallies
Participant

Comparing Two Properties

SOLVE

Thanks Karsten, but that's what I've already got going on with it. I'm looking for a smoother process. I'd like to use the same thing for some other workflows as well, that's kind of why I'm looking to see if someone else has set up any custom code for the comparisons. I'm actually surprised HubSpot doesn't have this feature yet. I've seen a lot of others looking to do the same thing. The only comparison thing they really have is in the calculation property.