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

Read contents of CSV email attachment into SQL

HI All. I need some help with reading a CSV email attachment into a SQL database. I get an automated email everyday that gets imported into Power BI. However, for efficiency, I want to use a database to store the data instead of an every growing colleciton of flat files. I can copy the attachment to a sharepoint folder, but I'd rather read the CSV into a database. However, I can't figure out how to get the contents of the attachment into the SQL database table I created. Any help would be appreciated. Thanks.

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Read contents of CSV email attachment into SQL

Hi @jasonl2019 

 

In my knowledge there are no standard flow action steps available for reading CSV file.

 

However there is Plumsail document connector (thirdparty) allows you to convert CSV into an array for each column.

 

https://plumsail.com/docs/documents/v1.x/flow/how-tos/documents/read-a-CSV-file-and-bulk-generate-do...

 

You could try getting the email attachments as an excel document. Excel List rows flow action can read the contents of excel sheet.

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
Community Support
Community Support

Re: Read contents of CSV email attachment into SQL

Hi @jasonl2019,

 

Has your problem been solved?
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (3,857)