SOLVED

Email token conditional html

Go to solution
Marissa_Cookson
Level 2

Email token conditional html

Is it possible to do conditional html based on whether data exists for a token?

For example: if {{Lead.First Name}} show "Hi First Name"

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Email token conditional html

Absolutely -- using Velocity (the "Email Script" token type) all things are possible. Search the Community and you'll see examples of exactly this use case (conditional greetings).

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Email token conditional html

Absolutely -- using Velocity (the "Email Script" token type) all things are possible. Search the Community and you'll see examples of exactly this use case (conditional greetings).

Phillip_Wild
Level 10

Re: Email token conditional html

Sanford is correct! I've recently got into email scripting and it's a whole new world. You'll find a lot of really cool use cases - you can get as fancy as you want since you're effectively programming within Marketo.