Javascript Expressions in message templates

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.

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.

Still need help? Contact Us Contact Us