Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Copy CSV data to Dynamics 365

Hello guys,


am having a special task in my mind and I was hopping if Flow is capable to do it. So the story is. There are some automated people counters at the door entrances and am able to create csv report with actual numbers (date, time, entrance id, number of people comming thru) to be sent to some o365 mailbox. So then I want a flow to check this mailbox get the attachment and copy over this data in to entity in Dynamics365 or in to sharepoint list. 


Any ideas? Am I too optimistic? 

Community Support Team
Community Support Team

Re: Copy CSV data to Dynamics 365

Hi @Frantisek,


If you would like to update each fields into Dynamics 365 entity, then I am afraid using CSV file may not working.


Get the CSV file directly from the Attachments is possible, but currently within Microsoft Flow it is not available to analyze the CSV file data.


You should first consider convert CSV data into an Excel table, then using the Excel connector to create new rows in Dynamics 365.




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Copy CSV data to Dynamics 365

Hi Team!


Thank you for your reply. I can switch the file format of exports to XLS, but still its not formatted as excel Table. Does it make any difference? 

Level: Power Up

Re: Copy CSV data to Dynamics 365

Hi Frantisek,


I have exactly same issue on my project. If you have a solution about this, please email me.


Thank you!

Super User
Super User

Re: Copy CSV data to Dynamics 365

You can use Parse CSV action from Plumsail Documents connector. It allows you to convert CSV into an array and variables for each column. Please read this article demonstrating how it works.


Then you could iterate through result array and insert records into your SQL table.

Helpful resources


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,006)