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 / Call a list of files f...
Power Automate
Suggested Answer

Call a list of files from a OneDrive folder and then split up names by '_' (1_John_Toyota)

(1) ShareShare
ReportReport
Posted on by 2
My current flow is a manual trigger, then List files in Folder, and then Parse JSON. My main problem is I think the way that the file name list gets read is not acceptable as an array which is how I need to split the names later. How will I be able to convert the way the list is called into an array? Or other flow examples would help.
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi
     
    It helps a ton if you actually show the data of what you are talking about.
     
    If you just want the names, why not just do your list, then do an Apply to Each, where you loop through, then you can Append to Array the name in each iteration

    But why do you want to split the names? It sounds more like you want to replace the _ with ' ' aka a space.
     
    replace(item()?[NameOrWhateverTheOneDrivecalledtheFIleName], '_', ' ');
     
    Then your name looks like 1 John Whatever
     
    Anyhoo let me know if that helps, its how I would do it.
     
     

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