Skip to content

Tag cheat sheet

You normally insert tags from the pane. This is what they look like if you need to read or type one yourself.

PurposeExample
Field{{Account.Name}}
Parent field{{Account.Owner.Email}}
Currency, percent, date{{Opportunity.Amount:currency}} · {{Opportunity.Probability:percent}} · {{Opportunity.CloseDate:date}}
Checkbox{{Account.Active__c:checkbox}}
Picklist label{{Opportunity.StageName:label}}
Today, now{{Today}} · {{Now}}
Current user{{RunningUser.Name}} · {{RunningUser.Email}}
Locale format{{Amount:currency:de_DE}} · {{CloseDate:date:fr_FR}}
Date style{{CloseDate:long}} · {{CloseDate:iso}} · {{CreatedDate:datetime-full}}
Custom date pattern{{CloseDate:d MMMM yyyy}} · {{CreatedDate:dd/MM/yyyy HH:mm}}
Fallback text{{Account.Description|No notes on file}} · {{Amount:currency|N/A}}
Repeating table{{#Contacts}} … {{FirstName}} … {{/Contacts}}
Filtered, sorted list{{#Opportunities WHERE Opportunities.Amount > 10000 ORDER BY CloseDate DESC}} … {{/Opportunities}}
Nested list{{#Opportunities}} … {{#OpportunityLineItems}} … {{/OpportunityLineItems}} … {{/Opportunities}}
Total{{SUM:OpportunityLineItems.TotalPrice:currency}} · {{COUNT:Contacts}}
Approval history{{#Approvals}} … {{ActorName}} {{StepStatus}} … {{/Approvals}}
Condition{{#if Account.AnnualRevenue > 50000}} … {{:else}} … {{/if}}
Compound condition{{#if Account.AnnualRevenue > 50000 AND Account.Industry = 'Technology'}} … {{/if}}
Contains, NOT{{#if Account.Description contains 'priority'}} · {{#if NOT (Opportunity.StageName = 'Closed Won')}}
Show when blank{{^Account.Description}} … {{/Account.Description}}
Image{{%Account.Logo__c}} · {{%Account.Logo__c:200x60}}
Barcode, QR code{{*Account.AccountNumber}} · {{*Account.Website:qr:150}}

Three rules to remember:

  • Inside a repeating table, child fields are written without the object name: {{FirstName}}, not {{Contact.FirstName}}. The same applies inside a nested list.
  • Totals go outside the table.
  • Text values in conditions use single quotes: 'Technology'.

Formats are the same as in designed templates. The full list is in Merge field formats.