Enbbox Docs

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 post

Helpers

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:

  1. Enter sample data in the Test Data panel
  2. See the rendered preview update in real-time
  3. Test across different channels to verify appearance

On this page