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 / Trying to parse text f...
Power Automate
Unanswered

Trying to parse text from a OneNote (if impossible then word document) to an excel spreadsheet.

(1) ShareShare
ReportReport
Posted on by

The OneNote (if impossible use word) contains bullet points that represent a project. Each bullet point has a project name, user, then project notes. Essentially like this:

  • Project1 - John - Project1 was completed in August.

This should translate over to excel as

ProjectNameUserProjectNotes
Project1JohnProject 1

How do I make a flow that achieves this? I tried setting up a compose tree but it didn't work. I'm thinking of using AI to parse but I'm extremely unfamilar with it.

Also all of these files are connected with a sharepoint link as I'm using a company computer to set this flow up. But if I need to use the native OneNote or (word document) then that should be permissable.

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @CashiFr 

    Loop through each bullet point in the array.

    Use the split function to divide each bullet point into parts using split(item(), ' - ')
    Parse Project Name: first(outputs('Compose'))
    Parse User: outputs('Compose')[1]
    Parse Project Notes: outputs('Compose')[2]

     

  • CashiFr Profile Picture
    on at

    Thank you so much for the answer, is it possible you can show me through the form of the flow? Using the flow icons as a visual means? Thank you.

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    OK, I'll post a solution.

     

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @CashiFr 

     

    SudeepGhatakNZ_0-1720678711343.png

     

     

     

    SudeepGhatakNZ_0-1720671241699.png

     

    SudeepGhatakNZ_1-1720671368932.png

     

    SudeepGhatakNZ_1-1720678836463.png

    SudeepGhatakNZ_2-1720678898269.png

     

  • CashiFr Profile Picture
    on at

    Thank you so much for giving me such a well-written example. I have two more questions, my first question is that is the code for the compose actually supposed to include the "[1]" in the code itself or is that merely a comment meant to represent that its a copy? Another question is how do I connect this to an excel spreadsheet so that the information is outputted to there and I get my end result which is the graph. Thank you so much.

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    The split function in programming is used to divide a string into an array of substrings based on a specified delimiter.

    When you use split with a string, it will break the string into an array of objects (substrings). Here’s how it works:

    Project Name (First Object): The first object in the resulting array is the Project Name. You can access it using array[0] or first(array)

    Second Object: The second object 'User' in the array can be accessed by using array[1].

    Third Object and Beyond: The third object and any subsequent objects can be accessed by using array[2], array[3], and so on.

     

  • CashiFr Profile Picture
    on at

    Thank you for explaining the split functionality to me. Can you guide me on how to take that composed text into an excel spreadsheet (the spreadsheet is already created)  where the format is

    ProjectNameUserProjectNotes
    Project1JohnProject 

     

    Thank you so much for helping me and I strongly appreciate it!

    Also when you connect these two together, will updates to the OneNote automatically translate over to the Excel spreadsheet such as the flow reading the OneNote then composing the text to the excel spreadsheet? Or is this like a button press feature?

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard