cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sofie_D
Level 8

Choosing List in the flow then creating item in it

I have a PowerApp that starts the flow, in the PowerApp you enter some data you want to store in a list, and you enter the name of the list.

In the flow I'd like to create the item in the correct list, but I'm stuck on getting the list.

I used the action 'get lists' to get all lists in my site, but then I have to filter it to get the one with the matching name.

After that i'll need to use that name in the 'create item' action to actually create it.

 

Is what I'm trying to do possible? If so, how, and if not, would this be possible with an Azure Function?

 

I can't create the item through PowerApps directly, because sometimes new lists get created and then I'd have to manually add them to the app every time, and I'm trying to automate this process.

1 REPLY 1
Community Support Team
Community Support Team

Re: Choosing List in the flow then creating item in it

Hi @Sofie_D,

 

Do you want to create a item using "Create item" action of SharePoint connector based on Dynamic SharePoint List Name?

 

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

 

In addition, I afraid that the Azure Functions also could not achieve your needs currently.

 

More details about Azure Functions, please check the following article:

Azure Functions

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,640)