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:
  • SanmeshG Profile Picture
    1,956 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,956 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard