We would like to send weekly reports to those who opt-in and have the date in the subject line populate weekly to show which week's report they are receiving example below
"Open for your 3/11/2022 Weekly National Report"
Looked through the tokens and nothing seems to have this format, other than us sending and changing this email weekly to show the date. Goal would be to automate the entire process but without the token for a date not sure it's possible? Any suggestions?
You could use multiple tokens to output what you're going for there.
Something along the lines of:
Open for your {{system.date}} {{program.ReportName}}
System date would just pull the date at the time of the email though. And the "ReportName" would be something you set up to populate based on the program and/or campaign associated.
This can be easily done using Velocity but what is the precise day of the week represented by 3/11/2022? Is that “the Friday of the current week Sa-Su”?
Content edited by moderator to conform to recommended practices.
Yes, this can be achieved using the API. You need to write the script to fetch the data and update the name as per your requirements.
You certainly don’t need any API calls to accomplish this (nor would it even be practical since the intended value can change from day to day).
@SanfordWhiteman I'll get back to you on this with more details.