conditional Token without velocity scripting | Community
Skip to main content
New Participant
August 1, 2022
Question

conditional Token without velocity scripting

  • August 1, 2022
  • 2 replies
  • 1218 views

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
New Participant
August 1, 2022

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.

 

Darshil_Shah1
Community Manager
August 1, 2022

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.