Velocity Script Token on an Alert Flow Step

Anonymous
Not applicable

Velocity Script Token on an Alert Flow Step

Can a velocity script token be used in an alert flow step?  Our sales consultants would like to get email alerts through Marketo. We can't use the Accout Owner or Lead Owner fields so we need to use a token.  And since the smart campaigns trigger off the opportunity, I need to use a velocity script. I have tried testing this a few times but it is not working.  Am I doing something wrong?  Are there other solutions that Marketo has for us being able to alert our sales consultants?

0EM50000000SkOD.jpg
Tags (1)
2 REPLIES 2
Tara_Petre
Level 5 - Champion Alumni

Re: Velocity Script Token on an Alert Flow Step

Hi Brenda, 

We use lead owner tokens in this way and have not had issues with it.

0EM50000000Skli.jpg

This may be over simplifying the matter, but is the underscore in the actual name of your field or are you referencing the CRM field map information? 

Tara
Stijn_Heijthuij
Level 7

Re: Velocity Script Token on an Alert Flow Step

Hi Brenda,

The short answer: No.

I had a similar question recently: Why can't we use Email Script tokens in Flow steps?

The long answer by John Clark​;

Email scripting tokens work because the email gets sent through a processor when it gets built, and before it gets sent out.  Flow steps do not get processed like this, so running scripts in a flow step is not possible.