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 / 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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard