For advanced developers, you can use Velocity scripts in your emails by setting up an Email Script token. Here’s how to do it.
In the My Tokens tab of your program or folder, drag an Email Script token to the Local Tokens canvas.
Drag in tokens from the tree on the right.
Note that the token becomes checked/active after it’s been added.
If you’re typing in tokens free-form, be sure to check/activate all corresponding tokens in the tree, or they will be treated as plain text and won’t work.
Write your script in Velocity. Here are some useful resources to help you:
Once your is script is complete, click Save.