Skip to main content
Level 4
Dec 16, 2021 10:36 AM UTC
Solved

Dynamic Email

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.
Michael_Florin-2
Michael_Florin-2Accepted solution
Level 10
Dec 16, 2021 2:41 PM UTC

That would look something like this:

 

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

 

2 replies

Michael_Florin-2
Michael_Florin-2Accepted solution
Level 10
Dec 16, 2021 2:41 PM UTC

That would look something like this:

 

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

 

Translate
Yash-3Author
Level 4
Dec 16, 2021 2:43 PM UTC

Thanks so much, @michael_florin-2 

Translate