cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ironlungz
New Member

Create an item when a file is created

Hi All, 

 

I am trying to create flow which is triggered by when a file is created, the rows are extracted and finally the contents then create item(s) in a list. 

 

I know how to import rows from an already existing file on a site. The problem I am encountering is that when I try and obtain the file name and extension and concatenate it to document path, the file can not be found. Not sure if I need to be using the full site path or the path provided is already relative.

 

Any assistance will be greatly appreciated.

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @Ironlungz

 

Do you want to get rows from an excel file when the excel file is created in sharepoint library and then create items in sharepoint list with those rows?

 

If yes, I afraid that you couldn't achieve your needs in microsoft flow currently.

 

Since you could only get rows from an existing excel file in in sharepoint library currently, you couldn't get rows from a new created excel file which is created when the flow is triggered.

 

If you would like to get rows from an excel file when the excel file is created in sharepoint library in microsoft flow, you could submit an idea to flow idea forum:

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

 

 

Best regards,

Alice

 

View solution in original post

3 REPLIES 3
ScottShearer
Super User III
Super User III

@Ironlungz:

 

Can you post a screen shot of your Flow?  That will make it much easier to assist.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
v-yuazh-msft
Community Support
Community Support

Hi @Ironlungz

 

Do you want to get rows from an excel file when the excel file is created in sharepoint library and then create items in sharepoint list with those rows?

 

If yes, I afraid that you couldn't achieve your needs in microsoft flow currently.

 

Since you could only get rows from an existing excel file in in sharepoint library currently, you couldn't get rows from a new created excel file which is created when the flow is triggered.

 

If you would like to get rows from an excel file when the excel file is created in sharepoint library in microsoft flow, you could submit an idea to flow idea forum:

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

 

 

Best regards,

Alice

 

View solution in original post

Hi Alice,

 

Yes that is exactly what I would like to do. I have tried getting the file path, file name and extension of when a file is created into a variable and feed the variables back to a 'get rows from excel' action but I understand the file needs to be already in sharepoint. And there is no way that I know that flow can bypass file validation prior to the flow at runtime.

 

I will raise the idea on the link. Thanks again.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (43,467)