Skip to main content
Solved

Attribute conditions based on another attribute

  • May 25, 2023
  • 1 reply
  • 59 views

Can I add attribute conditions based on another attribute when creating segments or segment splits within campaigns? For example, we have attributes: jobs_count and clients_count. Both are numerical. Can we target only the user with the jobs_count less than clients_count?
Seems that using liquids to build such a segment will not be correct https://prnt.sc/tJl7Bx-92IE6, right?

Best answer by Penny

Hi @rexon111 ,

 

At the moment, it isn’t possible to segment based on calculating the attributes: jobs_count against _clients_count.

 

As a workaround, you can build a campaign, and use a create or update person action and Liquid to find the difference and save this value as a new attribute. 

 

This way you can segment based on this new attribute value for people who have jobs_count less than clients_count. :) 

 

Hopefully this helps!

View original
Did this topic help you find an answer to your question?

1 reply

Penny
  • 133 replies
  • Answer
  • May 25, 2023

Hi @rexon111 ,

 

At the moment, it isn’t possible to segment based on calculating the attributes: jobs_count against _clients_count.

 

As a workaround, you can build a campaign, and use a create or update person action and Liquid to find the difference and save this value as a new attribute. 

 

This way you can segment based on this new attribute value for people who have jobs_count less than clients_count. :) 

 

Hopefully this helps!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings