Workflows

How do I set a default value for contacts who have no property value using workflows?

Last updated: May 9, 2018

Applies to:

Marketing Hub: Pro, Enterprise
Sales Hub: Professional

Using if/then branching logic in workflows, you can set a "default" property value for contacts who meet the enrollment criteria of the workflow, but don't already have a value set for that particular property.

In order to set a default value in workflows:

  • In your HubSpot account, navigate to Automation Workflows
  • Click the name of the workflow you'd like to edit.
  • Click the + icon to add an action and select Add if/then branch.
  • Click Contact property, select the property for which you wish to set a default value, then choose is known.
contact-owner-enrollment-trigger
User-added image
  • In our example, we only want to set this property for contacts who don't already have a value, which is why we are using if/then branching logic. In this scenario, if a contact already has a value for this property, they will go down the Yes side of the branch. If the contact does not have a value for the property, they will go down the No side of the branch, which is where we will add an action to set the value for the property. 
  • Click the + icon under the No branch to add an action. 
if-then-contact-owner
  • Choose Set contact property value
  • Select the property you'd like to set as default (the same one you used in the if/then branch criteria) and choose the value you'd like to set for all contacts who do not currently have a value for this property.
  • Click Save
contact-owner-in-workflow-
  • You can let the Yes branch end (don't add actions), unless you have other actions you'd like to be taken on contacts who do have a value for this contact. 

This concept can be applied to any contact properties you use. One common example where this can be applied is to set a default contact owner for all contacts who don't meet requirements to have an owner assigned in another way, or who don't yet have an owner.

Was this article helpful?

If you still need help you can get answers from the , or to contact support.