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 / How to save the file n...
Power Automate
Answered

How to save the file name to specific format?

(0) ShareShare
ReportReport
Posted on by 7

Hi All

 

Thank you for trying to help me first

currently, I have a flow which is saving the Email attachment into Sharepoint folder

i would like to save the file name in specific format like....

Consol Details MMM YYYY.csv

not sure if anyone could help me?

 

Example as below, thank you.

Ericwhvhkg_0-1666267316789.png

 

Categories:
I have the same question (0)
  • Verified answer
    StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    You could try adding the following expression after the first part to get todays month and year.

     

    formatDateTime(utcNow(),'MM-yyyy')

     

    So it will look like Consol Detail {Expression Above}.csv

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    HI @Ericwhvhkg 

     

    Your file name should be attachment name: 

     

    Heartholme_0-1666268102528.png

     

    This will include the exstention to save your file in the correct format: 

    Heartholme_1-1666268161623.png

     

    { If my post answered your question, please Accept it as a solution ✔ }
    { This will in turn help others find solutions to similar questions }

    Best Regards
    Heartholme

  • Ericwhvhkg Profile Picture
    7 on at

    Hi @StretchFredrik 

     

    it is work, thank you!

    at the end, I write it like below to remove the "-" between Month and Year, thank you so much!!

    Ericwhvhkg_0-1666268723340.png

     

    formatDateTime(utcNow(),'MMM yyyy')

    Ericwhvhkg_1-1666268778099.png

     

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard