Dynamic Email Content Based on "if / else" Statements | Community
Skip to main content
January 17, 2013
Investigating

Dynamic Email Content Based on "if / else" Statements

  • January 17, 2013
  • 2 replies
  • 1198 views
It's possible to create dynamic email content based on field values in Marketo by building tokens and custom fields of type "formula".  This works, but over time, you end up having many, many custom fields that you may only have needed for a very few emails.

It would be better if Marketo was able to handle if / else statements on the fly :

{if fieldname="Industry" fieldoperator="=" fieldvalue="FINS" } ABC Widgets has many products for  the financial services industry....{else}ABC Widgets offers robust products for all leading industries...{endif}

Another example:

{if fieldname="Job Title" fieldoperator="=" fieldvalue="CEO" } As the Chief Executive officer of your organization, you can appreciate....{else}You can appreciate...{endif}

Any chance we could get this feature?

2 replies

New Participant
February 24, 2020
No text available
January 18, 2013
I think the product already does what you want. In that when you create dynamic content, you set a "everyone else" message first, then go you add the dynamic features second. So you go ahead and write "You can appreciate", etc then in your dynamic content, you specify if Title = CEO, then this text block is now XXX content.

One segment per editable div.

Unless I misunderstand, this is already the way this works.