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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to auto-create Fol...
Power Automate
Unanswered

How to auto-create Folders & Files when a Channel is created

(0) ShareShare
ReportReport
Posted on by

Hi, 

I have a very important project to complete, but I need assistance on this Auto Flow:

What I need is: 

  • When A Channel in teams is created, it must go and created the relevant folders in that channel (make use of SharePoint),
  • And fetch templets (Folders & Filles) and store them in a templates folder that Exists

This looks like a simple automate flow but I can't get it right.

 

Any help I will surely appreciate that

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: When a new channel is created, how to copy folders, sub folders and files from templates channel to the created channel?

    Hi @Anonymous 

     

    There is no Power Automate action available to create folder using Microsoft Teams connection. When you create folder under the channel it creates a folder under your SharePoint site. What you could do is create the folder under your SharePoint site using Power Automate SharePoint create folder action step.

     

    https://{yoursharepoint.com}/sites/{YourTeamName}/Shared Documents/{YourChannel}

     

    If you need any further help in this please let me know.

     

    Thanks

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: When a new channel is created, how to copy folders, sub folders and files from templates channel to the created channel?

    Hi @abm,

     

    Yes, If possible yes, I can use Sharepoint to create that.

    All processes must happen in Flow.

     

    Do you have an approach or an idea of how I could resolve my problem?

  • abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: How to auto-create Folders & Files when a Channel is created

    Hi @Anonymous 

     

    Earlier I have asked your screen share details. I haven't heard anything from you yet. Unfortunately I won't be able to do now.

     

    Could you please try the following.

     

    1. Set the trigger as when as channel is created

    2. Use create folder (SharePoint) action step. See below. Please see refer my earlier reply for the correct path.

    image.png

     

    3. Next add Copy file action step (SharePoint) for copying the files to your newly created location

    image.png

     

    If you still having issues lets try a screen share on tomorrow.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at
    Re: How to auto-create Folders & Files when a Channel is created

    @abm  Thank you for your help.

     

    I have attached a screenshot below. I think it will give you an idea of what I'm trying to achieve.

     

    1. Since Teams does not have a trigger of : after channel is created , I have made use of SharePoint to trigger after new folder is created in Library. But still this does not work. After a channel is created, there is a new folder in the shared Documents (sharepoint) but does not trigger and I don't know why.

     

    2. I will check if it's a folder then if yes create folder and copy folder. if not, do nothing.

     

    This flow does not trigger! I so frustrated now. please help.

     

    3. Copy folder does not work too, but we will see that once the previous process are completed.

     

    SCREENSHOT:

     

    Solution 1.PNG

  • Verified answer
    abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: How to auto-create Folders & Files when a Channel is created

    Hi @Anonymous 

     

    I tried the trigger like below and worked as expected.

     

    Below I have set the Site Address as SharePoint Site/sites/yourteamname. Once you set the site name then there won't be anything to select under ListName. Then  click Enter custom value and set the name as Documents. 

     

    image.png

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: How to auto-create Folders & Files when a Channel is created

    @abm  Yes and thank you for your helpful reply.

     

    Indeed, Once I set the List Name as 'Documents' I will lead to an answer.

     

    But My question is, Own would you differentiate that the folder that was auto-created is a Channel folder and NOT a use action to create a folder?

     > This flow can work for new channel and also new Add new folder

     

    I actually, want the Flow to recognize ONLY the Teams Channel folder on SharePoint then carry on with the rest of the process.

     

    Is there anything in place for that Yet? 

     

     

  • abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: How to auto-create Folders & Files when a Channel is created

    Hi @Anonymous 

     

    Thanks for your reply. Use flow create folder to a service account connection so that you can easily distinguish who created the folder. The downside is you need another user license.

     

    Thanks

  • abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: How to auto-create Folders & Files when a Channel is created

    Hi @Anonymous 

     

    Other workaround is add another column and update the meta data once the folder is created via flow.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at
    Re: How to auto-create Folders & Files when a Channel is created

    Hi @abm 

     

    May I have an illustrations?

  • abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: How to auto-create Folders & Files when a Channel is created

    Hi @Anonymous 

     

    This is what I was thinking.

     

    image.png

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard