Dynamic Email | Community
Skip to main content
New Participant
December 16, 2021
Solved

Dynamic Email

  • December 16, 2021
  • 1 reply
  • 2261 views

Hello Everyone,

 

We have a dynamic email which is going to serve content based on the job title of the recipients. So a recipient with job title sales would receive content A, a recipient with job title marketing would receive content B and so on.

 

As I am more comfortable with Velocity scripting I would prefer to use it here. The ask is to perform match for recipients whose job title would CONTAIN 'Market' OR whose Department would CONTAIN 'Market' for instance.

 

Can anyone please guide me the syntax to write the above condition please.

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Michael_Florin-2

That would look something like this:

 

$lead.FieldNameA.contains("VALUE") || $lead.FieldNameB.contains("VALUE")

 

1 reply

Michael_Florin-2
Michael_Florin-2Accepted solution
New Participant
December 16, 2021

That would look something like this:

 

$lead.FieldNameA.contains("VALUE") || $lead.FieldNameB.contains("VALUE")

 

Yash-3Author
New Participant
December 16, 2021

Thanks so much, @michael_florin-2