Skip to main content

Overview

Use tenant properties in templates to dynamically render tenant-specific content. One template works for all tenants—SuprSend replaces variables with tenant-specific values at runtime.

Email Template Design

Tenant variables in other channels are referred as $brand.<property> in templates. For email template designer, you get pre-built tenant component to automatically get the branded header, footer, and buttons for a tenant.
1

Find and add tenant component

Inside email template designer, find tenant component in the right side content menu and add it to your template.
2

Select relevant block type

Select relevant block type (header, footer, buttons) from the right panel.
3

Customize the selected block

Tenant blocks use the tenant’s primary color and logo by default. Click any block to customize colors, padding, and styling from the right panel. To insert tenant variables anywhere in a block, use {{$brand.<property>}}. See the full list of available variables.

Customizing other channels templates

You can customize other channels using tenant variables as {{$brand.<property>}} in the template.

Available Variables

Use {{$brand.<property>}} in handlebars templates and data["$brand"].<property> in JSONNET templates. Variables are replaced at runtime with the tenant’s properties (from the tenant_id passed when sending). Basic
VariableDescription
$brand.tenant_idTenant identifier (max 64 chars).
$brand.tenant_nameDisplay name for the tenant.
$brand.logoURL of the tenant’s logo image.
Colors
VariableDescription
$brand.primary_colorPrimary brand color (hex).
$brand.secondary_colorSecondary brand color (hex).
$brand.tertiary_colorTertiary brand color (hex).
Social links
VariableDescription
$brand.social_links.websiteWebsite URL.
$brand.social_links.facebookFacebook profile or page URL.
$brand.social_links.twitterTwitter/X profile URL.
$brand.social_links.instagramInstagram profile URL.
Custom properties
VariableDescription
$brand.properties.<key>Any custom property set on the tenant (e.g. $brand.properties.support_email).