Token access in email script? | Community
Skip to main content
June 20, 2014
Question

Token access in email script?

  • June 20, 2014
  • 6 replies
  • 1835 views
Is there a way to access the content of a Token in a script? I need HTML output based on the contents of a token that I passed through the API.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

June 20, 2014
Tokens within tokens... Everyone wants that - let's see what the Marketo reply is.
Grant_Booth
Level 9
June 20, 2014

Hi Till,

 

Could you clarify what you mean with a more specific example? What kind of tokens were you looking to access?

June 20, 2014
Hi Grant,

I wish to access a text token that determines if a specific email has sponsored content. If this is so, I would use the script to insert a message designating this mail as sponsored.

Thanks,
Till
Level 2
September 29, 2014
Hi Till,

I am looking to do something similar - did you ever get a resolution?
October 2, 2014
Hi Alicia,

apparently what I was asking for is not possible. We resolved this by implementing all those things in our own backend, before sending any data through the API. It's far from ideal, but for us it works now.

All the best,
Till
June 10, 2016

Is that possible to replace an email content based on the token value?

Say for example, I am having a token value as xxxx, and i need to replace the (if token value is xxxx change to content as "YYYY").

Is that possible to do anyways? By email script token or any other mode?