MS Flow.. parse a text file

anyone know there's a way to parse text file using MS Flow? I'm trying to populate a SharePoint list using Excel but I can't get it to recognize it as a table so I'm hoping maybe I can use a flat file instead.
aehrenwoTechnology AnalystAsked:
Who is Participating?
Jamie McAllister MVPConnect With a Mentor SharePoint ConsultantCommented:
Working with Excel is easier than trying to parse a text file into e.g. an Array. Could it be it doesn't like the table name? (Working with a known file the editor should suggest the table name and column names).

I threw the following together to check and it parses the Excel into a SharePoint list without issues. The table name and column names were available in the picker.

Flow to Parse Excel into SharePoint List
aehrenwoTechnology AnalystAuthor Commented:

The issue I am running into is that the Excel file that is created is being produced by another tool and it is doesn't have a "table" associated with it. I can only see if that table if I go into Excel and create it manually. This is not helpful if I want to fully automate this process each day.

That is why I asked about the text file option. OR is there a way to force a table into an excel file with Flow if the number of rows might vary each time the new file is created by this other tool and stored on SharePoint Online?

Thanks for your help.

Jamie McAllister MVPSharePoint ConsultantCommented:
Hi Adam,

I'm pushing the conversation back to Excel as there aren't nice options trying to parse a file. Data to CSV is fine but not the other way.

What tool is creating the errant Excel? Is it really an Excel file or a CSV?

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

aehrenwoTechnology AnalystAuthor Commented:
Alteryx Designer runs each day and pulls HR data from a source DB into an Excel file (I tried using it to push to SP directly but it is VERY slow).  

Anyway, I can only get the flow to recognize the columns in the file if I open it up and create the table manually.

Hopefully, I am missing an easy step here as being able to automate the push from Excel to the SharePoint List would be a big win.

Again - thanks for any insight.
Jamie McAllister MVPConnect With a Mentor SharePoint ConsultantCommented:
I'm not an Alteryx expert, but outputting data to an Excel Table is something the community has an interest in.

Approaches seem to be appending data to an existing Excel Table, or running a Macro to add the table to the sheet, perhaps triggering that macro from Alteryx itself;
Jamie McAllister MVPSharePoint ConsultantCommented:
Useful options suggested
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.