I am trying to send an e-mail using the requestCampaign API call that will dynamically populate content in the e-mail body based on data passed into the campaign via my tokens.
I have a scenario where the API could be passed anywhere from 1 to 3 distinct token values that drive additional content in the e-mail. The API would also be passed an integer indicating the number of distinct token values being used. The token setup I have is this:
I don't think you can use My Tokens in Velocity (Might be worth a quick test to see). However, you could populate fileds on a custom object and then have the script check the values of those- as an option.