Notifications
Announcements
I want to create a variable where the current month is within the subject line of an email I send on a recurring monthly basis. However, I'm not sure how that is supposed to work.
Can anyone assist with this?
Make an init variable and set it to string.Then write an expression.Then just include the variable as a dynamic content in the subjectThis might help you regarding what kind of expression to write:https://debajmecrm.com/how-to-get-year-month-and-day-in-various-formats-from-a-date-in-power-automate/
You just need to format a datetime to get the month name.
To get the current month would be:
utcNow('MMMM')
To get the month name from another date source would be:
formatDateTime({yoursource},'MMMM')
You can see how to get the month name from this post:
https://powerusers.microsoft.com/t5/Building-Flows/Return-the-Month-name-from-date/td-p/664424
Here is a variable with the current month's name. Then put that variable in the Subject line.
Month Name Variable Email Subject
Let me know if this works for you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 538 Super User 2025 Season 2
Tomac 405 Moderator
abm abm 252 Most Valuable Professional