sssingh

sssingh

Contact Me
Online Status
Offline
Date Last Visited
‎08-03-2021 11:01 PM
Level 2
Joined the community 05-04-2021
Rank Icon Level 2
Solution Architect
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @SanfordWhiteman After your below reply (Send VTL, including #set(), as the {{my.token}} value.), We got the idea that we can pass VTL (velocity template language) from API as token content along with data. By referring to your blog post , we were able to pass json data (see texttemplate variable b...

    image_type
    Discussions
    9085 0 1
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @SanfordWhiteman Thank you for the example. That made it very clear. I was hoping that you can answer my second question around accepting data through API call which can be dynamic nature and laying that out in email using velocity script. We will be editing email template html directly. I know you...

    image_type
    Discussions
    5855 0 3
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @SanfordWhiteman I am trying to understand your first point where you say "Your Request Campaign payload is wrong; JSON property names are like {{my.token)}". I am not able to understand. Can you please be more specific in API request payload where we are doing that ? - understood your second point...

    image_type
    Discussions
    5886 0 5
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @Phillip_Wild it is text token instead of email script token as suggested by @SanfordWhiteman earlier to in post to try instead of email script token. Here is screenshot with this text token in the body of the email which were delivered to my email id

    image_type
    Discussions
    5915 0 8
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @Phillip_Wild Sorry I should have included the Email Draft screenshot in previous reply for context. Below is how email draft looks like . As you can see in subject line, we are not including the velocity variable but email template text token which contains velocity script that has another my token...

    image_type
    Discussions
    5933 0 10
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @SanfordWhiteman @Phillip_Wild Thank you for your replies. We are following you what you are saying. We are trying to implement the second use case ( Updating the token via API, sending an email, and then updating the token before sending another email - so the personalization is done every time the...

    image_type
    Discussions
    5947 0 12
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @SanfordWhiteman Contents of text token are shown in screenshot. It is just setting velocity variable with simple constant string value. When we inject that text token, we see the error. When we remove the text token, We do not see the error. Is that not sufficient to conclude that issue is velocit...

    image_type
    Discussions
    7125 0 17
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @SanfordWhiteman we tried your suggestion but it seems to be giving error. Below screenshots shows that1. first screenshot gives you error overview when you insert Velocity script directly inside your Email Html2. Second screenshot is showing text token value that contains velocity script as you s...

    image_type
    Discussions
    7140 0 19
  • solved badge Re: Email Script Token Input from tokens using API trigged email invoc...

    @SanfordWhiteman Are you suggesting that I can just put velocity script inside html content without using Email Script token to use Velocity script inside my email template. That is how I read you comment. I will try and revert back to you if this works.

    image_type
    Discussions
    5597 0 0

Top Badges Earned

Customize up to 8 badges at the top of your trophy case for all other Community members to see!Customize up to 8 badges at the top of your trophy case for all other Community members to see!
  • Validate 1 Validate 1 Earned on 7.30.21 Earned by 687 people Select to learn more
  • Affirm 1 Affirm 1 Earned on 7.30.21 Earned by 717 people Select to learn more
  • Give Back 5 Give Back 5 Earned on 7.22.21 Earned by 1285 people Select to learn more
  • Give Back 3 Give Back 3 Earned on 7.19.21 Earned by 1982 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 7.16.21 Earned by 4385 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 7.15.21 Earned by 4289 people Select to learn more
Public Statistics
Date Registered ‎04-05-2021 11:19 AM
Date Last Visited ‎08-03-2021 11:01 PM
Total Messages Posted 11
Likes given to