Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ESnbfHcc3nLuQ+mTeWEIYj
Power Automate - General Discussion
Unanswered

Extract data from CSV file by power automate

Like (0) ShareShare
ReportReport
Posted on 24 Jul 2023 14:21:34 by 77

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 

  • SanmeshG Profile Picture
    1,938 Super User 2025 Season 1 on 24 Jul 2023 at 16:47:47
    Re: Extract data from CSV file by power automate

    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

  • MohamedMo Profile Picture
    77 on 24 Jul 2023 at 16:31:35
    Re: Extract data from CSV file by power automate

    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,938 Super User 2025 Season 1 on 24 Jul 2023 at 15:55:38
    Re: Extract data from CSV file by power automate

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
rpersad Profile Picture

rpersad 16

#2
David_MA Profile Picture

David_MA 10 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

Overall leaderboard
Loading started