web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create folders based o...
Power Automate
Answered

Create folders based on excel list

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Please follow the below steps to create folder and subfolder

     

    image.png

     

    For the current year you need to use formatDateTime expression. See below.

     

    formatDateTime(utcNow(),'yyyy')
     
    The final step I have hardcoded the name as Smith. You can change this to map dynamically from your Excel sheet.
     
    Thanks
  • Community Power Platform Member Profile Picture
    on at

    Thank you for your quick reply. For looping thru the excel rows for the names do I need to put in a "get a row" step between the create main folder and create subfolder? I was trying to do that but I don't now what to put in the Key value field.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Could you post a sample screenshot of your Excel Sheet?

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    I would like to use the 'Employee' column as the name of the subfolder. And eventually 'Mail' to send the share link 

     

    Screenshot 2021-01-13 at 14.12.22.png

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Please follow the below steps

     

    image.png

  • Community Power Platform Member Profile Picture
    on at

    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/

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    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 at

    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

  • Community Power Platform Member Profile Picture
    on at

    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

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    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?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard