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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Saving email attachmen...
Power Automate
Answered

Saving email attachments with a fixed name in Onedrive folder

(0) ShareShare
ReportReport
Posted on by 108

HI Guys, 

 

 Hope you all doing great. 

I built a flow to detach the excel attachments from specific emails and save it in Ondrive folder. The issue is each attachment comes with a different name every day, and I want to have them saved with a fixed name, doesn't matter the name so My excel query recognizes it. I tried typing a fixed name in the file name filed in the Create File module, but doing that makes the attachment saved with no format. Is there any way I can do this? 

 

Thank you in advanceflow 2.png

Categories:
I have the same question (0)
  • Verified answer
    Hamid Profile Picture
    108 on at

    I applied the extension excel format .xlsx and it works perfectly!!

  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Hi!

    "I tried typing a fixed name in the file name filed in the Create File module, but doing that makes the attachment saved with no format."

    The problem is, you need to read the extension from original File Name and add it at the end of your 'default file name'

    Good stuff here

    https://www.timlinenterprises.com/microsoft-flow-substring/

     

    Hope this helps

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard