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
Super User

@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

 

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,672)