Skip to main content
gkrajeski
User Group Leader
User Group Leader
Dec 11, 2015 10:07 PM UTC
Solved

Token language

My internal client is asking if we can do the following:

If we have {{lead.First Name}}, they want to output the salutation as Bonjour {{lead.First Name}}

If we DON'T have {{lead.First Name}}, they want to output the salutation as Cher client.

I'm unaware of a way to run logic for the output of tokens other than the default value, "Cher client".

Bonjour is posing an issue for me.

Any suggestions?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
gkrajeski
gkrajeskiAccepted solution
User Group Leader
Dec 16, 2015 3:29 PM UTC

We were able to utilize Dynamic Segment content on both the subject line (by language preference French/English/Default) and on the body copy (by Has First Name/No First Name/Default)

4 replies

Dec 14, 2015 10:03 PM UTC

You may be able to use Marketo Formula field. Create a new custom field and have it populated as a formula based on the first name availablility

Rajesh

Translate
Kenny_Elkington
Adobe Employee
Adobe Employee
Dec 14, 2015 10:07 PM UTC

You'll need to use email scripting to implement this: Email Scripting » Marketo Developers ​ The first example on that page demonstrates a very similar scenario.

Translate
Justin_Cooperm2
Level 10
Dec 14, 2015 10:10 PM UTC

There are definitely ways (as described above) to implement it, buuuut it's probably best practice to just maintain a "Salutation" field for each person (many of our customers do this).

See this thread: Re: France email Dear Madame or Monsieur

Translate
gkrajeski
User Group Leader
gkrajeskiUser Group LeaderAuthorAccepted solution
User Group Leader
Dec 16, 2015 3:29 PM UTC

We were able to utilize Dynamic Segment content on both the subject line (by language preference French/English/Default) and on the body copy (by Has First Name/No First Name/Default)

Translate