Display Signature Elements Based on Field Value (Liquid Templates Only)

Prev Next
This is our current template as of 2022. If you are not familiar with/used to this format, please check out our Legacy Templating Articles

You can create conditions to display a specific signature element based on the value in an employee directory field

Example

{% case location %}

{% when "New Jersey", "NJ" %}

555 Highpoint Lane

Englewood, NJ 07631

{% when "Atlanta", "ATL" %}

1234 Pleasant Street

Atlanta, GA 30301

{% else %}

1234 HQ Lane

Louisville, KY 40210

{% endcase %}

HTML Code

Rendered Email Signature