web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / new CSV files to Datav...
Power Automate
Unanswered

new CSV files to Dataverse Tables on daily basis

(1) ShareShare
ReportReport
Posted on by 24

Hi All,

 

I am going to receive CSV files daily on my mailbox i need to process them in to existing dataverse tables. How do i achieve this using dataflows ? I have read through this https://powerusers.microsoft.com/t5/Building-Flows/CSV-to-update-Dataverse-table-daily/m-p/1223116#M140636 post but i need a solution were the email attchment can be saved to SP library and dataflow to pick up files from here and process them to Dataverse table . Is this possible ?

Categories:
I have the same question (0)
  • Barret Profile Picture
    652 Most Valuable Professional on at

    You should be able to do this with Power Automate. Your trigger would be to watch for incoming emails with the attachment you want to process. Then your actions would be to:

    • Save file to Sharepoint library
    • Parse data from CSV file
    • Save data to Dataverse table

    The tricky part is parsing the CSV file data. There isn't anything built in to PA to handle CSV files by default, but there are a couple of options. There are several 3rd party connectors that can process CSV files, but all the ones I am aware of (such as Encodian) require a separate subscription with their service.

    But there is a way to do it with the built in functions. You'll have to use several Compose action steps to:

    • Import contents of CSV file
    • Break apart rows into an array
    • Iterate each row to convert it to JSON
    • Parse the JSON using a defined schema, which will allow you to easily export the data into Dataverse

    This depends on the format of the CSV file not changing. It also can be tricky if you have content which is comma separated, but also has commas in the text data fields. If that's the format of your data, you're pretty much limited to a third party solution.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard