cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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? 

4 REPLIES 4
Community Support
Community Support

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.

 

Regards,

Michael

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.

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? 

Regular Visitor

Hi Frantisek,

 

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

 

pztnakro@gmail.com

 

Thank you!

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

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (5,746)