Skip to main content

Notifications

Community site session details

Community site session details

Session Id : pzarioPPqmXdRANcLSLmlW
Power Automate - Building Flows
Answered

Create folders based on excel list

Like (0) ShareShare
ReportReport
Posted on 12 Jan 2021 07:29:36 by

I'm quite new to power automate, so excuse me if i'm asking a rookie question.

 

I would like to create a set of folders bases on a list in excel. From the excel file I would like to get the employee name and create a folder for every name in de list.

 

description of the flow:

  • Create year folder (current year)
  • Create subfolder for every employee
  • Create Word file based on template in folder with employee name.
  • Share sharepoint link to Word file with employee (email adres is in the excel list)

Nice to have

When a new row is created in the Excel file do the flow for that row.

 

Maybe it is an ambitious flow, for now i'm stuck in creating a folder based on the excel list. Some tips would be very welcome

  • kmw1130 Profile Picture
    930 on 28 Dec 2022 at 15:48:30
    Re: Create folders based on excel list

    I'm struggling on the best way to create folders with subfolders and using an excel file.  My folders/subfolders can be 3 levels deep:

    kmw1130_0-1672242422594.png

     

    I was looking at this video: https://www.youtube.com/watch?v=xF-EKKgLSvs, but still having some issues creating all the folders.

     

  • abm abm Profile Picture
    32,464 Most Valuable Professional on 13 Jul 2021 at 13:40:13
    Re: Create folders based on excel list

    Hi @liamb7951 

     

    This thread is already marked as solution accepted. You could please create a new thread and describe your requirements please?

     

    Thanks

  • liamb7951 Profile Picture
    11 on 13 Jul 2021 at 10:03:59
    Re: Create folders based on excel list

    Hi there, did you manage to solve this issue as I've been struggling to solve this for a couple of weeks now. Tried using VBA but unsuccessful, seen power automate may be an option but have 0 experience using it. @Anonymous 

  • abm abm Profile Picture
    32,464 Most Valuable Professional on 25 Jan 2021 at 17:53:16
    Re: Create folders based on excel list

    Hi @Anonymous 

     

    Under the Folder Path you can extend by adding the other folder names.

     

    General/NewMain/Newsubs

  • Community Power Platform Member Profile Picture
    on 25 Jan 2021 at 16:26:23
    Re: Create folders based on excel list

    hi@abm 

    Yes you are right, the range of the table was far to high. I adjusted that.

    What i'm still struggling with is the location of the folders that are created.

    The main folder of sharpoint is Document. Within documents we have General and there is want to create my folders:
    Like Document/General/NewMain/Newsubs

    My flow is now creating a shareddocuments folder in Documents, within shareddocuments he is creating a new general en then the folders of my flow.

     

    my create main is looking like this:

    Screenshot 2021-01-25 at 17.25.20.png

  • abm abm Profile Picture
    32,464 Most Valuable Professional on 22 Jan 2021 at 20:07:55
    Re: Create folders based on excel list

    Hi @Anonymous 

     

    Looks like you are hitting the threshold limit. I can see 5120 record in that loop to process.  How many total records in Excel?

  • Community Power Platform Member Profile Picture
    on 22 Jan 2021 at 14:18:31
    Re: Create folders based on excel list

    Hi @abm 
    I haven't changed the flow but i now get this error, where before this was running fine. And i'm testing with the same excel file

    Screenshot 2021-01-22 at 15.17.45.png

  • Community Power Platform Member Profile Picture
    on 18 Jan 2021 at 06:54:58
    Re: Create folders based on excel list

    I'm bit of a step further, i'm able to create the main folder in General, where I want it. But i'm still doing something wrong in the create subfolder(Maak subfolder). For this he is creating a folder names shared documents then he is creating a complete new path document/general/and then the subfolders.

     

    Am I taking over the wrong value in create subfolder?

     

    Screenshot 2021-01-18 at 08.23.47.png

  • abm abm Profile Picture
    32,464 Most Valuable Professional on 17 Jan 2021 at 18:05:21
    Re: Create folders based on excel list

    Hi @Anonymous 

    Thanks for your reply. Are you referencing about the subfolder select trigger? If not please explain?

  • Community Power Platform Member Profile Picture
    on 17 Jan 2021 at 09:38:31
    Re: Create folders based on excel list

    Thank you for your help @abm 

    I have the basics working, one last question. The folder creation in sharepoint(teams) is happening in the Root folder and I’m not able to select a subfolder, like /general/

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,077 Most Valuable Professional

Leaderboard