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 / How to Read CSV file u...
Power Automate
Suggested Answer

How to Read CSV file using Power Automate?

(0) ShareShare
ReportReport
Posted on by

I have added a CSV file to the SharePoint Documents library.

I need to read that CSV file using Power Automate / Flow. without using any third-party actions.
SS.png

I need to store particular column data to array from CSV and add that array data to the SharePoint list.

Can anyone help me with the same?

Thanks

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @BhoomeshJoshi 

    There are no standard connectors to parse CSV files. Therefore you can try to parse the file manually. Have a look at this excellent post by @Paulie78 : Power Automate: How to parse a CSV File to create a JSON array (tachytelic.net)

    Instead of creating a JSON array, you could add a new item into the SharePoint list.

    Hope that helps!
    Ferran

  • SamLed Profile Picture
    2,338 Moderator on at

    EDIT : answered to the wrong topic... deleted my answer.

  • piotrostr Profile Picture
    30 on at

    is there anything in this service which works without applying workarounds?

    id assume paying for premium should be fine, or it needs some additional googling to find out how to make it happen?

     

    This is ridiculous. Complete rubbish.

    How can you not support csv. how this product can be used if you just look for workarounds for the simplest tasks

  • Sticks22 Profile Picture
    5 on at

    There has been CSV table support for a while. Not sure how long but here is a link to the docs.

    https://learn.microsoft.com/en-us/power-automate/data-operations#use-the-create-csv-table-action

  • Sticks22 Profile Picture
    5 on at

    Opps I just read that a bit better, that's only data to make CSV not read CSV in... Bummer. 

  • fuo Profile Picture
    11 on at

    Yes. The entire "Power" Platform is garbage.

  • Suggested answer
    Akhil Mehra Profile Picture
    2 on at
    After "Get file content" (SharePoint), then:
    1. Convert CSV to an Array: Use split(replace(outputs('Get_file_content'), '\r\n', '\n'), '\n') to separate rows.
    2. Extract Headers: Use first(outputs('Compose')) to get column names.
    3. Extract Data Rows: Use skip(outputs('Compose'), 1) to remove headers.
    4. Filter Required Column Data: Use "Select" action with split(item(), ',')[ColumnIndex] (replace ColumnIndex with the actual position).
    5. Loop Through Extracted Data: Use "Apply to each" to iterate over values.
    6. Store Data in SharePoint List: Use "Create item" to save each extracted value in the list.

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