web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Daily Recurring e-mail...
Power Automate
Answered

Daily Recurring e-mail how to automatically populate date and day of week in subject line?

(0) ShareShare
ReportReport
Posted on by 8

I have a flow set up to send a recurring email to a group of people at the same time every day. Is there a way to have the flow automatically insert the current day of the week and the date in the subject line? I want to be able to discern between one email thread sent from one day and other thread without having the exact same subject line. I used IFTTT previously which had an ingredient to add this feature but IFTTT is no longer working with Gmail. Any help is much appreciated.

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @ehenry223 

    You can use the utcNow() expression along with the formatDateTime() expression to get the current date formatted any way you want it - see me example below.

    You can use the dayOfWeek() expression along with utcNow() to get the current day of the week.  The expression returns 0 for Sunday, 1 for Monday, etc..  You'll need to convert the numbers to days using a switch statement, condition or a lookup.

     

    My expression can be seen in the comments area.

    DayofWeek1.jpgDayofWeek2.jpg

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @ehenry223 ,

     

    @ScottShearer is correct. and what would you like the subject like? 

    You could refer to screenshot below to combine the day of week and the date in the subject will type: day of week - date

    concat(dayOfWeek(utcNow()),' - ',formatDateTime(utcNow(),'yyyy-MM-dd'))

    1.png

     

     

    Best regards,

    Alice   

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

  • ehenry223 Profile Picture
    8 on at

    Thank you! I got this to run successfully by removing an extra parentheses "concat(dayOfWeek(utcNow()),' - ',formatDateTime(utcNow(),'yyyy-MM-dd')"

     

    Do you know how I would convert the day number of the week to the actual name (i.e. Mon, Tues, Wed, etc.)?

     

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard