Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Saving email attachments to sharepoint: help modifying file name

Like (0) ShareShare
ReportReport
Posted on 4 Jul 2023 20:34:13 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!

  • Verified answer
    v-mingkz-msft Profile Picture
    Microsoft Employee on 05 Jul 2023 at 03:03:14
    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

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 276 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 240 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 212

Overall leaderboard
Loading complete
Loading complete