Add Dynamic Content Using Custom Fields

You can use organization-level custom field tags in your email and create dynamic content based on the organization.

Note: This is available only for the orgs that has enabled the Liquid feature

Use Case

WellCo, a company focused on employee wellness, operates across 100+ organizations (child orgs). Employees are grouped under their respective child organizations and access the WellCo mobile application.

WellCo organizes company-wide challenges and missions to encourage healthy habits among employees. Communications for these activities—such as emails—are primarily sent from the parent organization. However, each employer organization has its own unique branding requirements, including specific logos, colors, headers, and footers, which must be reflected in the communications sent to their employees.

For example:

  • WellCo-Branded Communication: Emails sent under WellCo’s branding display its corporate logo, colors, and header/footer design.
  • Employer-Specific Communication: Emails sent to employees of specific organizations (e.g., Company Alpha) display their unique branding, such as a distinct logo, color scheme, and header/footer elements.

To address this, organization-level custom fields can be created and used in the email templates to dynamically personalize the content.

Creating Dynamic Content

To create dynamic headers, footers, or other personalized content in your emails, follow these steps:

  1. Create the required custom fields:
    These custom fields hold organization-specific information, such as logo, branding color, or company name. Since these APIs are internal, you will need to contact the Capillary Product Support team to configure and create these fields.

  2. Configure the email template:
    While setting up the email template, navigate to the Labels section and select Organization Custom Fields. Choose the relevant fields to include dynamic content in your email.

    • For example:
      • To display the employer’s brand name in the header, select the custom field for Brand Name.
      • To apply organization-specific branding colors, use the respective custom field for Brand Color.

When the communication is sent, the platform automatically adjusts the email content—such as headers, footers, and other elements—based on the organization’s branding.

🚧

Note

Make sure that there are no error in the custom field created, else the tags can cause error in the email.