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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard