Jul 09, 2021 08:11 PM
Hi
I have specific mails to be sent to all the records depending on what day it is and it has to go at a Specific Time.
Eg If today is Monday, a Mail drafted for Monday should go to all the records exactly at 10 am.
On Tuesday, mail drafted for Tuesday to go to all records exactly at say 4 pm.
Basically everyday checklist based on which day it is.
What did I do?
Now,
I need a solution to make it really automated.
Kindly help.
Jul 09, 2021 08:47 PM
If the value of {Day}
is supposed to always show the name of the current day, just turn it into a formula field:
DATETIME_FORMAT(TODAY, "dddd")
Sending at a specific time can be controlled by a separate formula field that basically follows a format like:
IF(
DATETIME_FORMAT(SET_TIMEZONE({Time to Send}, 'America/Los_Angeles'), 'Hmm') <=
DATETIME_FORMAT(SET_TIMEZONE(NOW(), 'America/Los_Angeles'), 'Hmm'),
"✔️"
)
^ The above formula checks will spit out a checkmark if the time at which the record should be sent (formatted as 1600 for 4:00pm) has passed; it assumes you have a field called {Time to Send}
which is a date & time of when the record should go out. You could add that to your Automation’s condition so the Monday automation template will run when {Day} = "Monday" and {Formula} is not empty
Jul 09, 2021 09:31 PM
Thanks Kamille … will applyal and revert on this.