Dynamic Content
Handlebars variables, conditions (if/else), loops (each), and sample data preview.
All Topics in Dynamic Content
Dynamic Content Overview
Learn how PostBrix powers dynamic templating with Handlebars: variables, loops, conditional visibility, and sample data preview.
Variables & Substitution
Insert personalized customer data, order details, and account numbers using double curly braces.
Nested Variables & Objects
Access deep data properties using dot notation (e.g. {{customer.shippingAddress.city}}).
Default Values & Fallbacks
Ensure your emails never display awkward gaps or broken sentences when customer data is missing.
Dynamic URLs & Personalized Links
Generate one-click login links, password reset tokens, tracking query strings, and personalized destinations.
Dynamic Images
Display personalized product recommendations, dynamic maps, user avatars, and customized hero banners.
Conditional Content (if / unless)
Show or hide entire sections, banners, or paragraphs based on customer segmentation or order properties.
If / Else Logic & Comparisons
Use built-in comparison helpers (eq, gt, lt, contains) to render branching email variations.
Loops (each)
Iterate over repeating arrays to build receipts, product catalogs, article lists, and flight itineraries.
Dynamic Collections & Order Receipts
Step-by-step blueprint for building production-grade transactional order confirmations and multi-item invoices.
Sample Data Management
Define, manage, and switch mock JSON datasets to test email templates with realistic data before exporting.
Dynamic Content Preview & QA
Validate your conditional rules, loops, and fallback variables in real time inside the PostBrix preview suite.