Skip to main content
April 24, 2015
Question

Using Email Script Token in Send Alert Flow Step

  • April 24, 2015
  • 3 replies
  • 1401 views
After reading a few discussions, it seems like the Community is saying that custom tokens can be used in Send Alert flow steps. I've created an Email Script token that replaces a sales rep's SFDC user ID with their email: #if (${lead.Sales_Rep__c} == "XXXXX")first.last@sportngin.com. The token works when used as a merge field in an email, but it doesn't seem to work in the Send Alert flow step. Can anyone help me out?

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

3 replies

SanfordWhiteman
Level 10
April 24, 2015
Can you point to the discussions where Velocity tokens are said to work in this context? I didn't think so.
April 24, 2015
I didn't mean to upset anyone with my question, but this discussion refers to custom my.tokens being used in Send Alert flow steps. I was hoping to use the Email Script Velocity tokens in this context. If it is not possible, I'll accept that.

https://community.marketo.com/MarketoIdeaDetail?id=08750000000JtFuAAK
SanfordWhiteman
Level 10
April 25, 2015
Don't mean to sound peevish, I just can't imagine why it would be possible given when/where Velocity is used. For a requirement like this you could use an Apex trigger to populate a custom field that then syncs over.