Answered

Dynamic current year {{ current_year }} as part of email template - is there a way to do this?

  • 19 January 2024
  • 1 reply
  • 81 views

I’ve been creating emails with dynamic variables but only seeing People Attributes and App/Author Attributes + Events. But I can’t seem to find a way to add something like:

© {{ current_year }} My Company Inc.

On the end of my email templates. Is this possible to do? Thank you for your help.

icon

Best answer by mateusz.leszkiewicz 23 January 2024, 13:41

View original

1 reply

Userlevel 2
Badge +4

Hi there,

We are not officially supporting dynamic dates in emails, but the hope is not entirely lost.

You can create a custom data attribute (let's say current_year), set the correct value for that People Attribute using Workflows (Teammate sends any message template), and then use it in your email.
 


Not that; you’ll have to update Workflow every year.

It is not the perfect solution, but it is available now. I will mark it as a Feature Request for our engineers to look into.

I hope that helped.

Reply