Token within a token

Not applicable

Token within a token

Can you add a token in another token?

Eg.      {{my.event{{}}}}

            {{my.event{{}}}} etc.

Thanks in advance

Level 10

Re: Token within a token


Unfortunately, it is not possible:

But you can vote for the idea here:

Level 10 - Champion Alumni

Re: Token within a token

If you need to do variables, you can do Email Scripting. There's a short tutorial if you search.

Level 10 - Community Moderator

Re: Token within a token

Glad Josh Hill​ brought up Velocity because it's better to think in terms of business or functional requirements than in terms of some specific syntax. 

Like Devraj said, you can't use curly-braced {{my.tokens}} inside other {{my.tokens}}. 

However, if what you want is actually the ability to compose token content out of other token content, you can definitely do that with Velocity (it is one of the most powerful things about VTL).  So you can have {{my.finalContent}} draw from (non-displayed) content in {{my.partialContent1}} and {{my.partialContent2}} -- and each of those {{partials}} can be drawing on different lead fields.  The syntax with which the tokens are embedded in the email is not visually "nested" (they appear {{one}}{{after}}{{the}}{{other}}) but that's not relevant if the effect is what you want.