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 / Use Flow to Create New...
Power Automate
Unanswered

Use Flow to Create New List in Sharepoint Online

(3) ShareShare
ReportReport
Posted on by Microsoft Employee

I know I can use flow to create a new item in a different list whenever a new item is created in the primary list, but is there any way to create an entire NEW LIST when I create an item in the primary list?

 

Example:

- I have a list "Inspection Database"

- When a new inspection is expected, I add an item here.

- Each new inspection needs a request log created (a separate list for each inspection).

 

Can I have that new request log automatically created based on a template whenever I add an item to "Inspections Database"?

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ danherring,

     

     

    Creating list in sharepoint is not supported in microsoft flow currently,

    I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Regards,
    Alice Zhang

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

     I agree with @v-yuazh-msft but you might want to consider an alternate solution:

    1) Create a Log list that includes a lookup column that refers to the primary list. I suggest making the lookup column a required column

    2) When a new entry is created in the Log list the user will be required to select the item in the primary list to which the log entry relates

    3) Create views in the Log list that group by the lookup column.  You may want to create additional views as well such as a view that only shows recent log entries, etc..

     

     

  • JimmyW Profile Picture
    2,567 on at
    Yes you can.
    You need to create a Azure Function app and use powershell. You then call the azure function app in flow and it will run the powershell command to create the library or list from a template. Stp file.

  • JimmyW Profile Picture
    2,567 on at
    If its no need for a template you can create a list from a Send an HTTP request
  • RyanGilreath Profile Picture
    45 on at

    Would you happen to know of a resource that explains either the HTTP request to create the list or the Azure function mentioned in your previous comment?

     

    I have a similar need as the OP and would like to have a new custom list created.

     

     

  • JimmyW Profile Picture
    2,567 on at

    @rgilreath 

    https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest

     

    https://michalguzowski.pl/create-sharepoint-list-using-flow/

     

    For the Azure part you create a runbook based on powershell and then use New-PnPList to create the List where you want it.

    Example of a azure runbook that creates a list in the site you input. After you created the runbook you will use the trigger called Create job in flow and call the runbook. The runbook will ask you for Title of the list and on what site you want it to be created at. You have to setup your own credentials.

     

     

    {
                param (
            [Parameter(Mandatory=$true)]
            [string] 
            $Url,

            [Parameter(Mandatory=$true)]
            [string] 
            $LibraryName        
        )
        
    $cred = Get-AutomationPSCredential -Name "xxxxxxx";
    Connect-PnPOnline -Url $Url -Credentials $cred;
    New-PnPList -Title $LibraryName -Template DocumentLibrary -OnQuickLaunch
    }

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 464

#2
Haque Profile Picture

Haque 431

#3
David_MA Profile Picture

David_MA 323 Super User 2026 Season 1

Last 30 days Overall leaderboard