Re: conditional Token without velocity scripting

Hoppers13
Level 4

conditional Token without velocity scripting

hi all,I

 want to do an appointment changed email, but i cant workout how to configure the token, if it requires a zoom link.

 

obviously we want the zoom link to display if its a video appointment, but otherwise we don't want the token to display, how do we do this please?
bare in mind we'll also be using a snippet icon as a bullet alongside this token.

cheers in advance.

Okay so we're just going to use a separate email for the video call apts, this feels like the easiest way with scripting dev.

 

2 REPLIES 2
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: conditional Token without velocity scripting

How do you know if it's a video appointment? If this is via a field on the standard/custom/synced SFDC objects, this could be easily done using a small conditional #if else velocity script.

 

SanfordWhiteman
Level 10 - Community Moderator

Re: conditional Token without velocity scripting

To Darshil’s point, you can’t suppress content around a token without Velocity.

 

With Velocity, you can use complex logic to determine whether a value should be output as well as whether its surrounding content (TD, TR, etc.) is output.

 

Without Velocity, you can output fallback content if a field is empty ({{lead.Some Field:default=(no link available)}}. But that’s all.