SOLVED

Dynamic Email

Go to solution
Yash
Level 4

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

1 ACCEPTED SOLUTION

Accepted Solutions
Michael_Florin
Level 10

Betreff: Dynamic Email

That would look something like this:

 

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

 

View solution in original post

2 REPLIES 2
Michael_Florin
Level 10

Betreff: Dynamic Email

That would look something like this:

 

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

 

Yash
Level 4

Betreff: Dynamic Email

Thanks so much, @Michael_Florin