# Date personalization on email

**URL:** <https://community.hubspot.com/t/date-personalization-on-email/110246>\
**Category:** Email Marketing Tool\
**Tags:** marketing\
**Created:** [June 27, 2024, 9:33am UTC](https://community.hubspot.com/t/date-personalization-on-email/110246 "2024-06-27T09:33:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FMaida](https://avatars.discourse-cdn.com/v4/letter/f/59ef9b/32.png) [@FMaida](https://community.hubspot.com/u/FMaida)\
**Post date:** [June 27, 2024, 9:33am UTC](https://community.hubspot.com/t/date-personalization-on-email/110246/1 "2024-06-27T09:33:04Z")

</div>

Hi everyone,

I am creating a reminder email for a customer that will be part of the birthday email flow on HubSpot.

In the first email, the customer will receive a message saying they can use the discount for the next 30 days. In the second email (if they haven’t used the discount), it will be a reminder that they have a certain number of days left to use the discount. In this second reminder email, the copy includes this text: “You have until **XXX** to take advantage of this exclusive offer, don’t miss the opportunity to take care of your bones and joints with Colnatur products”, and I would like to

**add a personalized part in the copy based on the customer, indicating that they have 7 days left to use the discount based on the day they received the first email.**

Anyone can help me with that?

Thanks

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [June 27, 2024, 9:47am UTC](https://community.hubspot.com/t/date-personalization-on-email/110246/2 "2024-06-27T09:47:12Z")

</div>

Hi @FMaida,

Assuming that you’re managing this through a workflow based on a contact date property…

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/5/35e50f76552de807bb1d951ad0a148d31de8ecb6.png)

… here’s what I would do:

1. Create a property “Birthday (current year)” – assuming that you’re sending the discount on the birthday
2. As a first step in your workflow, set the value of “Birthday (current year)” to the date of the step
3. Create a calculation property [Create calculation and rollup properties](https://knowledge.hubspot.com/properties/create-calculation-properties) that adds 30 days to the “Birthday (current year)”, see a draft below (you would use the custom property from step 1, not create date)

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/6/96773a5e1cb355548341f7e1110013b359ec6b77.png)

And voilà, now you have a property that stores the date of validity for the discount which you can use in your email for personalization.

Best regards!

---

<div class="post-metadata">

**Author:** ![FMaida](https://avatars.discourse-cdn.com/v4/letter/f/59ef9b/32.png) [@FMaida](https://community.hubspot.com/u/FMaida)\
**Post date:** [July 7, 2024, 3:19pm UTC](https://community.hubspot.com/t/date-personalization-on-email/110246/3 "2024-07-07T15:19:01Z")

</div>

Hi Karstenkoehler,

Thank you for your big help!

Can you please just explain to me this part?

"1. Create a property “Birthday (current year)” – assuming that you’re sending the discount on the birthday:

2: As a first step in your workflow, set the value of “Birthday (current year)” to the date of the step _(especially this I don’t really understand)"_

Thank you!

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [July 8, 2024, 4:24am UTC](https://community.hubspot.com/t/date-personalization-on-email/110246/4 "2024-07-08T04:24:51Z")

</div>

@FMaida sure.

Here’s how you would create a date property: [Create and edit properties](https://knowledge.hubspot.com/properties/create-and-edit-properties)

Once created, you can use the ‘Set property value’ workflow action to set it to the current date.

If anything remains unclear, please specify where exactly you’re getting stuck.
