Expand my Community achievements bar.

Adobe Journey Optimizer Community Lens 7th edition is out.
SOLVED

Send notification on specific days of the month

Avatar

Level 6

Hi,

 

Is it possible to set up a journey to send only on specific days of the month (ie. 1st & 15th of the month). The journey starts off with Audience Qualification, let's say if customer qualifies in Audience on the 2nd, how do we hold them off till the 15th to send them down the journey?

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Employee

You will have to do this conditionally in the custom wait using if else construct.

 

If the current day is 1st - use the same timestamp and if is greater than the 1st day and < 15th day, explicitly set the custom wait to 15th of the month (say 9am)

toDateTimeOnly(setHours(nowWithDelta(15, "days"), 9))

 

Another point to consider is to specify an end date in the journey properties (say 16th of the respective month) if there are no profiles expected to be qualified from 16th day onwards.

View solution in original post

8 Replies

Avatar

Community Advisor

@akwankl Take a look at this post

You can have a wait activity with custom formula and send it on the 2nd day and 15th day.

toDateTimeOnly(setHours(nowWithDelta(2, "days"), 6))

toDateTimeOnly(setHours(nowWithDelta(15, "days"), 6))

Thanks, Sathees

Avatar

Level 6

Hi @SatheeskannaK,

 

Sorry, can you explain what's happening? Say today is April 9th, the segment evaluates and profile qualifies today, the next send would be on the 15th. How would the above formula translate?

 

 

Avatar

Community Advisor

@akwankl, If I understand correctly profiles qualify today Apr 9th, 10th, 11th, 12th, 13th, 14th will get the next touchpoint on Apr 15th.

In this case, you can use setdays function in the wait activity.

setDays(toDateTimeOnly(now()),15)

Thanks, Sathees

Avatar

Level 6

Hi @SatheeskannaK,

 

Can you explain how does this work? It seems to me we are just setting the now() timestamp to the 15th, how does that make profiles wait till the 15th?

 

Thanks.

Avatar

Community Advisor

@akwankl This should allow us to wait until 15th everyday when it runs. I haven't tested this. Another approach would be to directly use this function in the wait activity to allow profiles to wait until the 15th of April.

toDateTimeOnly('2024-04-15T00:00:00')

Remember to consider global journey timeout when you're defining the wait activity.

Thanks, Sathees

Avatar

Correct answer by
Employee

You will have to do this conditionally in the custom wait using if else construct.

 

If the current day is 1st - use the same timestamp and if is greater than the 1st day and < 15th day, explicitly set the custom wait to 15th of the month (say 9am)

toDateTimeOnly(setHours(nowWithDelta(15, "days"), 9))

 

Another point to consider is to specify an end date in the journey properties (say 16th of the respective month) if there are no profiles expected to be qualified from 16th day onwards.

Avatar

Level 6

Is it possible to set the hours of sending globally? For example, our business wants to set up a global rule where push notifications can only go out during business hours 9am-5pm for all push notifications.

 

Thank.

Avatar

Community Advisor

@akwankl You can't set this globally rather use the condition activity in a journey to define the time you want messages to be out.

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/orchestrate-journeys/about-journe...

SatheeskannaK_0-1713372734656.png

 

Thanks, Sathees