Skip to main content

Email Subject as a variable with templates

It would be great if you could add the functionality to allow the email subject to be a variable when using templates for sending.

Status: Completed4 comments

Log in to comment and vote

Comments4

  • Marta from Support Team

    Team•

    Mar 31

    Hi Mariano.

    We hope you’re doing great.

    Once again, we would like to thank you for the suggestion. We also would like to let you know that email templates already support variables in the subject line using Handlebars syntax (e.g. {{first_name}}, {{company}}). This works across all sending methods:

    • Transactional and Bulk streams: pass variables via template_variables in the API request alongside template_uuid

    • Email Campaigns: contact fields (including custom ones) are automatically interpolated in the subject

    • Automations: same Handlebars syntax works in the subject field

    Were you looking for something different from what’s described above? If so, could you share more details about your use case, for example, which sending method you’re using and what you were trying to achieve?

    That would help us understand if there’s a gap we need to address.

    • Mariano Urdaneta

      •

      Mar 31

      Hi, thank you for the clarification, that’s awesome, I will try it.

      • Marta from Support Team

        Team•

        Mar 31

        You’re very welcome, Mariano.

        We will be attentive to your updates so our team can move forward with the review or update of your feature request 😀

  • Marta from Support Team

    Team•

    Feb 4

    Hi Mariano,

    Thank you for your feedback! This is a very useful observation.

    I’ve logged your suggestion to allow the email subject to be a variable when using templates for sending. Our product team will review it for future improvements, and we’ll be sure to let you know if this feature is developed.

    We really appreciate you taking the time to help make the template’s functionality more flexible.