Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Copy file from SharePoint to Onedrive based on cell value in excel table

(1) ShareShare
ReportReport
Posted on by 193

Hello, need a little assistance 😊

 

Request: Copy files from SharePoint Document Library to OneDrive but only if the Location matches locations listed in excel table.

 

Currently my flow will just simply copy anything that's created over to the folder - adding the condition action 

shelleyb_0-1720605985084.png 

shelleyb_1-1720608805500.png

 

 

  • Verified answer
    shelleyb Profile Picture
    193 on at
    Re: Copy file from SharePoint to Onedrive based on cell value in excel table

    Add compose action for Condition action which appears to have resolved the issue with the condition being applied to the data. Formatting appeared to be the issue

  • shelleyb Profile Picture
    193 on at
    Re: Copy file from SharePoint to Onedrive based on cell value in excel table

    Hi @FLMike 

     

    When the file is created, check excel file, does the file name match name on excel sheet if YES save PDF to OneDrive location

     

    Condition as follows....

     

    shelleyb_0-1720621488052.png

    Update flow is... 

    shelleyb_1-1720621541692.png

    Flow isn't create the file when the location [File Properties] is equal to location [Excel] 

     

    shelleyb_2-1720621742964.png

    It Skipped the actions

    shelleyb_3-1720621802386.png

     

  • Michael E. Gernaey Profile Picture
    43,334 Super User 2025 Season 1 on at
    Re: Copy file from SharePoint to Onedrive based on cell value in excel table

    Hi @shelleyb 

     

    Not totally clear where and what you need help with since we cannot see the expressions or any errors etc.

     

    Can you clarify what you need help with? and a sample


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492