cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frantisek
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
v-micsh-msft
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? 

pztnakro
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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (41,704)