Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How to include the dynamic content listing current month and year in the e-mail subject line

(0) ShareShare
ReportReport
Posted on by

Hi Team,

 

I'm using automated cloud flows and scheduling reminders tasks, below are my queries,

1-We have an monthly activity where I want to send an e-mail with the subject line Task name  and the dynamic content  with the month and year . For example if i'm running the flow to send an e-mail on Feb 2022 , i need the subject line to be "Task name - Feb 2022"

2. We would like to schedule the monthly activity at different date some at the begging of the month, some at the mid of the month, some at the end of the month. For example, is there any option where i need send an e-mail reminder every 20th of the month?

3. I'm trying to attach a static word file in my e-mail so i'm using the actions 'get file metadata(one drive business)' & get file content(one drive business') but not able to see all the files and folder in my one drive. Please let me know is there any option how to attach the static file in an e-mail

 

Many thanks in advance

Regards

Nisha

 

  • Mitanshu Profile Picture
    1,614 Super User 2025 Season 1 on at
    Re: How to include the dynamic content listing current month and year in the e-mail subject line

    1 - Use expression formatDateTime(utcNow(),'MMM yyyy') : this will give you current abbreviated month (Feb, Jun, Jul, Aug...) and year as per UTC timezone

     

    2 - You create a Scheduled Flow and specify on what day and at what frequency you want to run the scheduled flow.

     

    happyume_0-1645600541926.png

    3 - Are you able to share a screenshot? Are you able to create a folder in your OneDrive with just this static word document? In general, if I had to send all files within a static OneDrive folder; I would use below steps:

    3a. Create an array variable

    3b: List Files in a Folder

    3c: Apply to each 'value' from List Files action, and then Get File Content. Store Name and content of file in the array created in step 3a

    3d: When sending email, under the Attachment area, click the advanced mode icon and specify the array from step 3a.

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow