Hi!
I need to create a workflow that checks all the deals associated to a contact and based on that mark a few contact properties
In contacts i have two custom field called A attending and B Attending (just for the example) and my deals have a field called category. What i want is that the workflow checks the deals associated and mark one or both field depending the deal category
Right now the workflow i have if the contact has one deal and their category is A or B then mark one but if the contact has two or more deals the workflow only check for the first deal, so if the contact has one deal in a category and another in b category the workflow only set one of those field and not both
Can i do that the workflow checks all the deals or this is something that we need to do by custom code?
Hi @MVirginiaBarr
One key question, what infos are you copying over from the deal to the contact?
Are these the same fields and values on both contact and deal level?
Can contacts have multiple deals?
Can deals have more than one contact associated?
Depending on the answers to these there are two options:
- HubSpot Sync Properties
- A deal workflow
Your workflow could look something like this:
If not, the workflow is getting a bit more complex because you need to define that deal property x = A attending, and so on.
Frank
Hi @franksteiner79 thanks for your answer, see my answer to your questions below
One key question, what infos are you copying over from the deal to the contact?
I’m not copy anything, basically the deals are from people who buy a course and those courses can be made in location a or location b, i have a field on my deals called location where i can select a or b, and in the contact i have two field that are a dropdown, one called attended A? yes /no and attended B? yes /no
I also have in the contact a property called cohort that i updated manually and my current trigger workflow is that cohort is known then check the deals in the contact and the idea is that depending the location we mark yes to the attended a/ attended b properties, if the user has two or more deals and if one location is a and the other deal is b then both properties have to be mark as yes
Are these the same fields and values on both contact and deal level?
No, as i mention avobe in the deal we have a location field with two values called A or B, and in the contact i have attended A? with values yes /no and attended B? with values yes /no
Can contacts have multiple deals? - Yes they can
Can deals have more than one contact associated? - No, only one contact per deal
I have a workflow that is running but is like only check the first deal if they have more than one so if the user has attended to both location it only mark one field as yes
Thanks!