Target Birthday Email | Community
Skip to main content
New Participant
Aug 4, 2022 8:43 AM UTC
Solved

Target Birthday Email

Hi,

 

I want to target recipients who DOB is like today date but, I want to send him email 5 days before.. on his current birthday date..

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ParthaSarathy
ParthaSarathyAccepted solution
New Participant
Aug 4, 2022 10:57 AM UTC

Hi @saurabhjoshi ,

Try Below Query,

Day(@birthDate) EQUAL TO Day(AddDays( GetDate() , 5))

AND

Month(@birthDate) EQUAL TO Month(AddDays( GetDate() , 5))

 

So, When the workflow runs today (4th August), Recipients who has birthday on 9th August will be targeted today (4th August).

 

Regards,

ParthaSarathy

 ~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups

4 replies

ParthaSarathy
ParthaSarathyAccepted solution
New Participant
Aug 4, 2022 10:57 AM UTC

Hi @saurabhjoshi ,

Try Below Query,

Day(@birthDate) EQUAL TO Day(AddDays( GetDate() , 5))

AND

Month(@birthDate) EQUAL TO Month(AddDays( GetDate() , 5))

 

So, When the workflow runs today (4th August), Recipients who has birthday on 9th August will be targeted today (4th August).

 

Regards,

ParthaSarathy

Translate
 ~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
David_Loyd
Employee
Aug 5, 2022 11:41 AM UTC

Don't forget to schedule this workflow to run daily.

Translate
Employee
Aug 4, 2022 9:40 AM UTC

Hi,

 

You could send the email today and date of birth is today plus 5 days. Will this work for your case?

Translate