Variables
Personalize your emails with dynamic variables and default values
Variables allow you to personalize your email content and subject lines for each subscriber.
Syntax
Use double curly braces to insert variables:
{{variableName}}
With Default Value
Add a fallback value when the variable is empty:
{{variableName | 'Default Value'}}
Or with double pipe:
{{variableName || 'Default Value'}}
Examples
Subject Line
{{name | 'Hey'}}, voici ton guide LinkedIn
Result:
- If subscriber has name "Marie" →
Marie, voici ton guide LinkedIn - If subscriber has no name →
Hey, voici ton guide LinkedIn
Email Content
Hello {{name | 'there'}},
Your email is {{email}}.
Available Variables
Built-in Variables
| Variable | Description |
|---|---|
{{name}} | Subscriber's name |
{{email}} | Subscriber's email address |
{{phone}} | Subscriber's phone number |
{{unsubscribeUrl}} | Unsubscribe link |
{{onlineUrl}} | View in browser link |
Organization Variables
| Variable | Description |
|---|---|
{{org-name}} | Organization name |
{{org-adresse}} | Organization address |
{{org-logo}} | Organization logo URL |
Custom Fields
Any custom field you create for subscribers can be used as a variable:
{{customFieldName | 'default'}}
Using Variables in Editor
- Type
@in the editor to open the variable menu - Select or type your variable name
- Click on the variable to edit the default value
Best Practices
- Always provide default values for optional fields like
name - Use descriptive default values that make sense in context
- Test your emails with subscribers who have missing data
Related Documentation
- Send Email API - Use variables in transactional emails
- Workflows - Use variables in workflow email steps
- Content Deliverability - Required variables like
{{unsubscribeUrl}} - Create Subscriber - Add custom fields for personalization