Javascript Expressions in message templates

This function is available for Pro and Turbo accounts in both Expert and Regular interface modes.

Using the following notation: _(<expression>)_ you can evaluate custom Javascript expressions to generate custom text based on system properties.

For example, using the following config you can wish your 1st-degree connection a good day of the week.

Expert UI

Regular Pro UI

Click on the Message option:

Expression : 

_([ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ][new Date().getDay()];)_

Results in the following message 

As Javascript is evaluated when the message is sent, not when it is scheduled, you can really make your messages stand out.


This will also work for Cloud and Turbo drip campaigns.