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 / Save Outlook Attachmen...
Power Automate
Answered

Save Outlook Attachment with specific file name to OneDrive

(0) ShareShare
ReportReport
Posted on by 34

Hi, I am having trouble creating my first flow that saves Outlook email attachments.  

  • The email has three attachments and I want to save only one
  • The file name (below) is dynamic but the beginning is static
    • SSK_-_3wk_Inventory_Position_305061402515  (the red part is static)

The test result shows that it stops at the conditional statement:

Tmk123_0-1698939424507.png

 

Tmk123_1-1698939490968.png

 

Apply to each detail:

  • Conditional statement tests to see if the file attachment contains "3wk"
  • If it does, create a file in OneDrive and save it with the existing file attachment name
    • If it does not, do nothing.

Tmk123_2-1698939538252.png

 

I am sure this is easy but like I said, this is my first Outlook flow.  Thanks for your help!!

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Tmk123 

     

    Pls cross check if in condition action, the left side of contains operation should be attachment name & also you don't need "Apply to each 2" action in the "Yes" block. The flow should be like as shown below:

    ManishSolanki_0-1698941791999.png

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Verified answer
    Tmk123 Profile Picture
    34 on at

    You are a genius!  Thank you so much!  That worked.  I removed the extra "apply to each" and ensured that the condition was set to "attachment name" and that worked.  Thanks for helping me create my first flow with Outlook!!

  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Tmk123 

     

    I am glad that it solves your problem. I would request you to mark my previous reply as accepted solution as it will help others in the future.

     

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard