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 / Extract data from CSV ...
Power Automate
Unanswered

Extract data from CSV file by power automate

(0) ShareShare
ReportReport
Posted on by 87

Dears,

Good day.

i have csv file generated from system by below sequence and picture all in one cell, need to divide data to different cells by power automate tried to create a flow but did not success to divide data any assistance.

Name/Age/Email/Adress
Mohamed/31/test@gmail.com/Cairo
Ahmed/32/test2@outlook.com/Alex

 

Excel.PNG 

Categories:
I have the same question (0)
  • SanmeshG Profile Picture
    1,947 Moderator on at

    Hi @MohamedMo ,

     

    Please refer the below steps.

    1. Read the CSV File(Use you data here)

    2. Replace the / with comma

    3. Create file by passing the content of step 2 in create file action.

     

    Expressions used for base64ToString and replacing / with , (comma)

    //To Read CSV File by Converting it to base64ToString
    base64ToString(outputs('Get_file_content-_Read_CSV_File')?['body']?['$content'])
    
    
    //For Replacing / with , (comma)
    replace(outputs('base64ToString'),'/',',')

    Screenshot (462).pngcsvFile.png

     

    If this helps , please give this a thumbs up and accept this as a solution.

     

    Thanks,

    Sanmesh

  • MohamedMo Profile Picture
    87 on at

    Thanks @SanmeshG  for your response it works well but what if i want to extract specific data as Name & Email only

  • SanmeshG Profile Picture
    1,947 Moderator on at

    Hi @MohamedMo ,

     

    In that case you have to split the content over , and iterate over each array item and get the value.

     

    Please check out the below thread.

    https://powerusers.microsoft.com/t5/Building-Flows/Extract-Data-from-a-CSV-file/td-p/529944

     

    If this helps , please give this answer a thumbs up and accept this as a solution .

     

    Thanks,

    Sanmesh

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 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard