Local Email Script Token | Community
Skip to main content
StephStudebaker
New Participant
September 25, 2019
Solved

Local Email Script Token

  • September 25, 2019
  • 1 reply
  • 3023 views

Our team placed a few tokens in the email script token ({my.SDRSignature:default=edit me}}) on a program. 

Unfortunately, when we tested the email, it appeared to register the information we wanted it to (Sales owner first name, last name, email, phone number, and title). 

Unfortunately, when we sent an email out, it appears as if all the tokens we had placed (see below) in the email script localized token came through as the text version of themselves rather than as the values we had hoped they'd represent. Is this common and/or are you not supposed to put tokens into the details of a localized token email script field? 

Thank you!

 

{{lead.Assigned SDR:default=edit me}}
Job Title Default
{{lead.Assigned SDR Phone Number:default=edit me}} / {{lead.Assigned SDR Email:default=edit me}}

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

I don't really understand your phrasing... but here are a couple of facts:

  • You can't directly include {{lead.tokens}} in Velocity. However, the same lead fields can be accessed in the Velocity context as Velocity $lead.variables (that's kind of the idea of Velocity).
  • You can't set a default with a Velocity {{my.token}} like that. You output the fallback/default value from the code itself.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
September 25, 2019

I don't really understand your phrasing... but here are a couple of facts:

  • You can't directly include {{lead.tokens}} in Velocity. However, the same lead fields can be accessed in the Velocity context as Velocity $lead.variables (that's kind of the idea of Velocity).
  • You can't set a default with a Velocity {{my.token}} like that. You output the fallback/default value from the code itself.
SanfordWhiteman
New Participant
September 27, 2019

OP please return to your thread and check responses.