Add Notification Content
Write and customize notification templates with dynamic content
Template Syntax
Enbbox uses Handlebars syntax for dynamic content in notification templates. Access trigger payload data and subscriber properties:
Hi
{{firstName}}, Your order #{{orderNumber}}
has been shipped! Expected delivery:
{{deliveryDate}}Available Variables
Payload Variables
Data passed in the trigger payload object:
{{orderNumber}}
{{items.[0].name}}
{{total}}Subscriber Variables
Built-in subscriber properties:
{{subscriber.first_name}}
{{subscriber.last_name}}
{{subscriber.email}}
{{subscriber.data.plan}}Actor Variables
The user who triggered the notification (if an actor was specified):
{{actor.firstName}} commented on your postHelpers
Conditional Content
{{#if premium}}
Thank you for being a premium member!
{{else}}
Upgrade to premium for more features.
{{/if}}Iteration
Your items:
{{#each items}}
-
{{this.name}}:
{{this.price}}
{{/each}}Email Layouts
Use layouts to maintain consistent email branding. Layouts define the header, footer, and styling that wraps your email content.
Content Preview
Preview your notification content in the Workflow Builder:
- Enter sample data in the Test Data panel
- See the rendered preview update in real-time
- Test across different channels to verify appearance