Copy Company property to Contact and keep updated

We have a company property called HubID. I have also created a Contact property called HubID. I then made a workflow where the trigger is that the Contact HubID is unknown and the Company HubID is known. Then, it copies the HubID from the Company to the Contact.

That part works fine. But what do I do when a Contact moves? If they go to a different company, the workflow won’t run b/c they already have the Contact HubID filled in. So it’s known.

If I turn off the Contact HubID is known as the Trigger, and turned on re-enrollment, would that work? So the HubID is known for the company so copy to the Contact HubID property. My concern is that it would be running the workflow constantly, since re-enrollment was on.

Hi @esealpha,

Here’s how I like to solve for this: In your company-based workflow, set re-enrollment triggers for “Number of associated contacts is known AND HubID is known”. Then add the action that copies the HubID from company to all associated contacts.

When you re-associated a contact, the number of associated contacts will change both for the “old” and the “new” company of the contact. The re-enrollment for the “old” would be redundant, it would re-update all associated contacts. The re-enrollment for the “new” would mean that the contact would receive the HubID their new company.

In terms of setup, I don’t believe there’s a simpler option and it makes sure that associated contacts are updated as their added or re-associated.

Best regards!

So basically, is this all that should be required? It seems so simple. I was definitely trying to overcomplicate it.

Exactly @esealpha :slightly_smiling_face: (if re-enrollment is enabled for both)