Expand my Community achievements bar.

Your voice matters! Help shape the future of Adobe Journey Optimizer by sharing your feedback.

Deliver Personalized Birthday Emails at Midnight Local Time Zone

Avatar

Community Advisor

1/24/25

Sending birthday emails right at 12:00 AM in the recipient's local time is an excellent way to enhance personalization and customer engagement. For example, a customer in Paris should receive the email at 12:00 AM Paris time, while a US-based customer will receive theirs at 12:00 AM in their respective time zone.

This approach ensures your message arrives at the perfect time, making the customer feel special. Here’s a guide on how to set up and schedule such birthday emails effectively using Adobe Journey optimizer tool.

 

  1. Key Prerequisites
  • Ensure the time zone field is available in the customer's profile. This can be sourced from the Preference Details field group.

AnuhyaY_10-1737734835087.png

 

 

  • Timezone attribute would hold a string value. Make sure to add the correct timezone value to the profiles.

AnuhyaY_11-1737734835090.png

 

  1. Audience creation
  • Use filters to identify profiles whose birthdays fall within a one-day timeframe. This ensures the journey targets the correct audience each day.

AnuhyaY_12-1737734835092.png

 

 

  1. Journey Logic

AnuhyaY_13-1737734835093.png

 

Journey Properties

Schedule journey daily and enable profile time zone. This configuration helps to use the time zone defined at the profile level in waits and conditions

AnuhyaY_14-1737734835094.png

 

Condition Activity: Check for Upcoming Birthdays

  • Add logic to verify if the birthday (based on the current year) is greater than today’s date. Here’s how it works:
    • Construct a date using the current year and the customer’s birth month and day.
    • Compare this constructed date to today’s date (excluding the time).
    • Return “True” if the constructed date is in the future.

AnuhyaY_15-1737734835096.png

 

Wait Activity

  • Configure a Wait Activity to pause the profile at this step until midnight of their birthday (local time). Set this using a date and time object for the profile’s birthday at 00:00:30.

AnuhyaY_16-1737734835097.png

 

  1. Email Delivery

After the Wait Activity, set up the delivery of the birthday email. This ensures the email is sent precisely at midnight of the recipient’s birthday, adhering to their local time zone.

 

  1. Monitoring and Audit Logs

Use the following query to monitor journey execution and verify the timing of each step. Note that while the wait step executes based on the profile’s local time zone, audit logs display timestamps in UTC.

Sample Query

SELECT

  identityMap['Email'][0].id,

  TIMESTAMP,

  _experience.journeyOrchestration.stepEvents.nodeType AS NodeType,

  _experience.journeyOrchestration.stepEvents.nodeName AS nodeName,

  FLOOR((_experience.journeyOrchestration.stepEvents.processingTime / 3600) / 1000) AS hours,

  FLOOR(((MOD(_experience.journeyOrchestration.stepEvents.processingTime / 3600, 1000) / 10) * 60) / 100) AS minutes,

  NOW()

FROM

  journey_step_events

WHERE

  _experience.journeyOrchestration.stepEvents.journeyVersionID = '05ccf4e50ba9'

ORDER BY

  identityMap['Email'][0].id, TIMESTAMP;

This query helps you track when specific journey steps, like the wait or email delivery, were executed.

 

Conclusion

Personalized birthday emails delivered at midnight in the customer’s local time add a thoughtful touch to your communication strategy. By ensuring proper data setup, journey scheduling, and monitoring, you can make this process seamless and impactful.

 

2 Comments

Avatar

Level 4

2/17/25

Hi @Anuhya-Y ,

 

1)Could you please clarify what you configure in the second "Wait" activity? This will help us understand it better. 

 

Ajo_WisdomChase_0-1739795985870.png

2) Is the "timeZone" field value predefined in Adobe? If so, is there a specific structure it follows? Ex: Europe/Paris.  How does it work in the "Wait" activity, and do we need to configure anything additionally?

 

Avatar

Community Advisor

2/17/25

@Ajo_WisdomChase

The second wait activity does not hold any significant value. In this scenario, waiting one second before sending the birthday email

AnuhyaY_0-1739806293496.png

"timeZone" field available in Preference Details field group which is predefined. timeZone is just a string field, various timezone values can be found here https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Enabling Profile Time Zone in Journey Properties helps  that wait and condition activities consider the profile's time zone during execution.