# Automating contact property

**URL:** <https://community.hubspot.com/t/automating-contact-property/107063>\
**Category:** CRM\
**Tags:** professional\
**Created:** [May 14, 2024, 2:02am UTC](https://community.hubspot.com/t/automating-contact-property/107063 "2024-05-14T02:02:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SK\_ACLI](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@SK\_ACLI](https://community.hubspot.com/u/SK_ACLI)\
**Post date:** [May 14, 2024, 2:02am UTC](https://community.hubspot.com/t/automating-contact-property/107063/1 "2024-05-14T02:02:49Z")

</div>

Hi there,  
I am on a Hubspot Pro and I am trying to set an automation where, when a contact has a ‘Presentation Schedueled’ Lead status, it will automatically update the Deal stage to ‘Open Deal’ and Lifestage as ‘Opportunity’ .  
I have created a workflow but am getting this error. Someone help.

 ![SK_ACLI_0-1715652088043.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/8/f8c0cd54c5618a7c30464e0007aa370ed08bd7b4.png)

This is what i set up:

 ![SK_ACLI_1-1715652123707.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/f/df6aa039abe7b46603a933ae68381e24bd1cce23.png)

- thank you in advance!!

---

<div class="post-metadata">

**Author:** ![Opveng](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@Opveng](https://community.hubspot.com/u/Opveng)\
**Post date:** [May 14, 2024, 4:01am UTC](https://community.hubspot.com/t/automating-contact-property/107063/2 "2024-05-14T04:01:31Z")

</div>

Try creating a filter and identify deals that do not have any contacts associated with it. This could be happening because some of your deals might not have contacts associated with them. Otherwise, the workflow looks good enough, and I’m also assuming that this would be only causing a problem for some deals and not all deals.

If there are no contacts associated to the deal, the workflow cannot make changes to the property and will throw this error.

To identify such deals, the filter you can use on the deals page: # associated contacts \> is unknown. OR # associated contacts is 0

This should do it.

Let me know if this solved your issue.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [May 14, 2024, 4:18am UTC](https://community.hubspot.com/t/automating-contact-property/107063/3 "2024-05-14T04:18:02Z")

</div>

Hi [@SK\_ACLI](https://community.hubspot.com/t5/user/viewprofilepage/user-id/753766),

You’re saying that you’d like to update the deal stage based on the lead status of a contact - currently you’re doing the exact opposite: you’re updating the lead status based on the deal stage.

If you want to look at the lead status and update the deal accordingly, you’d have to create a contact-based workflow.

Generally, the workflow is set up correctly.

The error occurs because some enrolled deals to not have any associated contacts. If you click on “Occurred 2 times in the last week”, you should be able to click through and see which deals those are. If not, you can find them on the workflow details page by filtering for errors: [Understand your workflow details page](https://knowledge.hubspot.com/workflows/understand-your-workflow-details-page)

If there aren’t any associated contacts, you can do two things:

- Simply ignore the error. Where there aren’t any associated contacts, there isn’t anything to update.
- Investigate why the deal is not associated to any contact records and reach out to the owners to make sure they do associate contacts.

If you want to adjust your enrollment criteria to pick up those contacts and update them even later, I’d recommend adding a “Number of associated contacts is known” (and enabling re-enrollment for it) to the enrollment criteria, using the AND operator. That will make the workflow pick up newly associated contacts.

Best regards!

---

<div class="post-metadata">

**Author:** ![Lucila-Andimol](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lucila-andimol/32/69276_2.png) [@Lucila-Andimol](https://community.hubspot.com/u/Lucila-Andimol)\
**Post date:** [May 14, 2024, 9:39am UTC](https://community.hubspot.com/t/automating-contact-property/107063/4 "2024-05-14T09:39:27Z")

</div>

Hey [@SK\_ACLI](https://community.hubspot.com/t5/user/viewprofilepage/user-id/753766)

That error you get is telling you that 2 deals that were enrolled

didn’t have a contact associated to update.

To avoid this you can filter the enrollment criteria to deals with associated contacts

and you can also create a warning for deals being created without contact in the first steps

so that you avoid this error in the workflows of the future steps.

Regarding lifecycle stage this update is a standard HubSpot feature for contacts (set as opportunity once a deal is created) that you can turn on to have it automated. Go to settings\> objects\> contacts \> Lifecycle stage tab

 ![Screenshot 2024-05-14 at 11.38.19.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/d/dde98939ad7bb77a2b6154ccfb74b7a5f6d3b50c.png)

hope this helps
