How Can We Help?

You are here:

Email Syntax Cheat Sheet

Fields Available

Person Fields
{{name.first}}
{{name.last}}

{{primary_zip}} – Main zip code for a contact
{{primary_city}} – Main citycode for a contact
{{primary_state}} – Main state code for a contact, 2 characters (KY,DC).
{{zip}} – Synonym of {{primary_zip}}
{{city}} – Synonym of {{primary_city}}
{{state}} – Synonym of {{primary_state}}

*{{FirstName}} is replaced before Liquid syntax is ran, recommended to use {{name.first}} instead.

This Cycle
This cycle is based on the Candidates active election year. If a PAC/Non-Profit it’s the current year.

{{highest_contribution_this_cycle}}
{{total_contributions_this_cycle}}
{{last_contribution_this_cycle_date}}
{{last_contribution_this_cycle}}
{{lifetime_contributions}}

Contribution Examples

{{ highest_contribution_this_cycle | multiply 1.5 | default 5 | max 2800}}
Default must go before max as if a contact has not given default of 5 will be applied

{{if last_contribution_this_cycle_date && (date.add_days last_contribution_this_cycle_date 5) < date.now
activeMessage = “It has been over ” + (date.now – last_contribution_this_cycle_date).days + ” days since your last donation.”
else
activeMessage = “Thanks for staying active!”
end}}
Must be created in the Script tab.

{{if city==”Louisville”}}local{{else}}support{{end}}

Previous Digital – Series Setup
Next Embed Form Options
Table of Contents