Is there a method to Compare user properties using workflows and if not can it be added?
SOLVE
I see numerous posts about this and ideas in the forums. While I know I can develop integrations left and right using the APIs and that there are other 3rd party workflow utilities out. Our users are adamant about using the internal tools and are simply trying to clean up accounts that are assigned to a company when they leave that company and the email is modified.
I found another forums post where the moderator said you can compare the users email domain to a companies domain, but it appears to be hardcoded which isn't useful as it needs to be dynamic.
Basically since they want to use and learn the product themselves I can get them a quarter of the way with a workflow, but the product can't do much in the realm of storing a variable or comparing it as everything appears to be manual. What I'm trying to do is an if statement that says if an contact that's caught by the workflow's email domain matches another companies email domain either email the admins, change the email domain, website url, etc. since the product's workflows cannot ASSIGN at all how would someone handle this with the internal tools from the user base?
I used your concept and replicated it with user type properties and can confirm it works!
In the snap below, the "Deal Owner" is the default HubSpot property.
The "Company Owner" is a custom Deal property copy of the one with the same name from the associated Company.
The result of the "cut" formula is saved into another custom Deal property which is set to be single line text.
Finally, if the lookout property is "known" then it means the two values in the "cut" are not the same, and you can send a notification or continue with the desired action.
I have also tested by changing the two Onwer properties to match, and the automation blanked the lookout property as intended!
Jul 24, 20236:09 AM - edited Jul 24, 20236:11 AM
Participant
Is there a method to Compare user properties using workflows and if not can it be added?
SOLVE
Thanks for this suggestion, it helped me create a required workflow.
As an addition, I created a workaround so I didn't have to create a 'interim' field to copy the value of the cut() to.
I added a format action before the (cut) that adds a number to the first property value (email_1), I chose 13371337 (gamer reference) as it should never 'naturally' occur and did not copy this to a property. Refer to this output as Format_1
I then created a format action with the custom cut() where I used the output of the previous format as the first value and then the property to compare it to as the second input, so cut(format_1, email_2). Refer to this output as format_2.
I then used the 'Value equals' branch workflow to determine if the two properties are the same or not, setting the property to check against as the output of format_2, setting branch 1 as value '13371337'.
This way, if the two properties are the same the value of format_2 should be 13371337 (branch 1), if they are not the same it should be <other characters>13371337 (none met).
I also did some additional data formats before on both properties to make sure the values are likely to have the same format (remove whitespaces ' ' and set everything to upper case).
Jul 24, 20236:09 AM - edited Jul 24, 20236:11 AM
Participant
Is there a method to Compare user properties using workflows and if not can it be added?
SOLVE
Thanks for this suggestion, it helped me create a required workflow.
As an addition, I created a workaround so I didn't have to create a 'interim' field to copy the value of the cut() to.
I added a format action before the (cut) that adds a number to the first property value (email_1), I chose 13371337 (gamer reference) as it should never 'naturally' occur and did not copy this to a property. Refer to this output as Format_1
I then created a format action with the custom cut() where I used the output of the previous format as the first value and then the property to compare it to as the second input, so cut(format_1, email_2). Refer to this output as format_2.
I then used the 'Value equals' branch workflow to determine if the two properties are the same or not, setting the property to check against as the output of format_2, setting branch 1 as value '13371337'.
This way, if the two properties are the same the value of format_2 should be 13371337 (branch 1), if they are not the same it should be <other characters>13371337 (none met).
I also did some additional data formats before on both properties to make sure the values are likely to have the same format (remove whitespaces ' ' and set everything to upper case).
I used your concept and replicated it with user type properties and can confirm it works!
In the snap below, the "Deal Owner" is the default HubSpot property.
The "Company Owner" is a custom Deal property copy of the one with the same name from the associated Company.
The result of the "cut" formula is saved into another custom Deal property which is set to be single line text.
Finally, if the lookout property is "known" then it means the two values in the "cut" are not the same, and you can send a notification or continue with the desired action.
I have also tested by changing the two Onwer properties to match, and the automation blanked the lookout property as intended!
This is not possible at that stage to compare properties in workflows, but I'd recommend upvoting this idea that's currently being examined by the Product Team. You can also subscribe to it (Options > Subscribe) to get notifications if the status changes.