Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Saving email attachments to sharepoint: help modifying file name

(0) ShareShare
ReportReport
Posted on by 5

Hi! I succesfully created a flow that saves every attachment I receive in a specific outlook folder to a specified location in Sharepoint. The file keeps it's original name, but I'd like to automate a name change, where underscores in this new file are replaced by spaces. 

 

I'm new to Power Automate and still learning, I'm grateful for any help you can provide!

  • danielafuentes_ Profile Picture
    5 on at
    Re: Saving email attachments to sharepoint: help modifying file name

    Thanks that worked perfectly!

  • Verified answer
    v-mingkz-msft Profile Picture
    Microsoft Employee on at
    Re: Saving email attachments to sharepoint: help modifying file name

    Hi @danielafuentes_,

    Do you want to save the attachments from email to SharePoint, and replace the underscores in filename with space?

     

    I did some test according to your requirements.

     

    vmingkzmsft_0-1688525564392.png

    replace(outputs('Compose'),'_',' ')

    Best Regards,

    Kyire

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >