Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Copying and Overwriting Outlook attachments (csv) to OneDrive

(0) ShareShare
ReportReport
Posted on by

2020-03-03_17-45-09.jpg

Having a lot of trouble trying to overwrite a csv file attached to an outlook email to go to a certain folder in my OneDrive.  I want the same folder each time and the same file name each time.  Thanks!

  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    sure @Anonymous  please try to mark one of my answers to help me growup here in the comunnity.

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    Made it work - I had to drag it down below in the correct order.  All set

     

    Thank you very much for your help!

     

    Jim

  • Community Power Platform Member Profile Picture
    on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    @ChristianAbata It will not let me drag Condition anywhere or drag create and copy anywhere.  I'd hate to have to do that over again - I have screen shots in case I do need to.

  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    @Anonymous  the condition that we add just create a file and copy it when you receive .csv files, I you want to probe just send you an email with a csv file and then you get tru values.

    To get back just drag and drop the create file and copy file accions below the condition an then delete the condition accion.

     

    Please if any answer helps you mark as answer to guide others. 😄

  • Community Power Platform Member Profile Picture
    on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    @ChristianAbata  either way it didn't download the file to the folder.  Whether it was Attachment Name or Attachment with contains or is equal to.  I think I will be ok to get rid of this because the email will be coming from Service Now and probably wont have any other file attached besides the .csv

     

    How do I get rid of the condition and not ruin anything else?  Thanks!

  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    @Anonymous please click on next, see the first one is false but using contains I'm sure the next if is csv is going to be true.

    next.jpg

  • Community Power Platform Member Profile Picture
    on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    Tried "ends with" - that failed

  • Community Power Platform Member Profile Picture
    on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    @ChristianAbata  So now I am getting a success but it is not downloading the .csv file to the correct folder.  I changed it to "contains" .csv and then I tried Attachment instead of Attachment Name - still no file but a success.  Ideas?  Thanks!

     

    2020-03-03_20-08-32.jpg2020-03-03_20-09-03.jpg

  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    @Anonymous  don't worry please see this gif, please change  is equals to contains I forgot that.

    confiti.gif

  • Community Power Platform Member Profile Picture
    on at
    Re: Copying and Overwriting Outlook attachments (csv) to OneDrive

    @ChristianAbata  Sorry to say I'm not surew how to place that condition where you did.  I tried a few times and now that I have a successful run, I'm terrified to mess it help.  Steps?  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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1