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 / Power Automate - Move ...
Power Automate
Unanswered

Power Automate - Move Files in Folder Based on Cell Value in Excel Spreadsheet.

(0) ShareShare
ReportReport
Posted on by

Hi! 

 

I am wanting to create a flow for a recruitment spreadsheet.

 

Basically, I have a table set up in excel that adds rows into the table when I receive a resume via email - this resume attachment is then added into a specific folder. 

 

The table looks like this: 

 

Candidate NameStatus
John DoeNot Suitable
Jane DoeInterview

 

The candidate's name is pulled from the resume file name and after reviewing the resume, I manually update the status. 

 

I am wanting to create a flow that when I manually update the status, it will then find the file in the folder, and move it to the "Not Suitable" folder.

 

It needs to be dynamic as the names are all different.

 

*Using SharePoint, Excel for Business, Etc. and not the premium triggers.

 

Thank you in advance! 

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    When the first process pulls down the resume and updates their name, it should retitle the resume to a fixed nomenclature, such as FName_LName_jobid.pdf or whatever. it should also put this filename in another column, so it can reference it. 

    I am pretty sure you can’t get “if cell changes, do something” but what you can do is ie

    meithe have the bot help you when your going through resumes, or run the bot after you are done so it will go find the files and update the folder it is in. 

    With option 2 for example, you would have 3 candidates:

    John Doe    Not suitable   John_Doe_12345678.pdf

    Jane Doe     Interview        Jane_Doe_12345678.pdf

     

    so this is when your bot picks up. Currently, both files are in your “Pending” folder and you want John to move to “Rejected” folder and Jane to move to “Interviews” folder. 

    read from Excel to %ExcelData%

    for each %CurrentItem% in %ExcelData%
    switch %CurrentItem[‘Status’]
        Case Interview

             Set variable %DestFolder% to Interview

        Case Not suitable

            Set variable %DestFolder% to Rejected

    get files ending in %CurrentItem[‘FileName’] from %Path%/%JobID% (look in subfolders)

    Move %Files[0]% to %Path/%JobID%/%DestFolder%
    ebd (for each)

     

    good luck

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 581

#3
Haque Profile Picture

Haque 545

Last 30 days Overall leaderboard