web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Search All OneNote Pages for Incomplete Tasks and Send Email

(0) ShareShare
ReportReport
Posted on by 2

I'm struggling to create a flow.  I'd like a weekly scheduled flow to search all sections and pages within a single notebook for incomplete tasks, then send a summary email.

 

I looks like the OneNote connector has the required actions to get list of sections and pages but I can't figure it out.

I have the same question (0)
  • JamesDix_n Profile Picture
    203 on at
    Re: Search All OneNote Pages for Incomplete Tasks and Send Email

    Hi Jeremy, hopefully the community can help you out with this. The weekly scheduled email side of the Flow probably isn't too hard to create but it would be helpful to understand what you are defining as a 'Task' in OneNote? Is it the functionality in OneNote to create an Outlook task? If so then you may be able to use this pre-built template to achieve your needs: Send a digest email of all outstanding Outlook tasks | Microsoft Power Automate

  • jeremyterry Profile Picture
    2 on at
    Re: Search All OneNote Pages for Incomplete Tasks and Send Email

    Hello James,

     

    By task I mean this checkbox Tag in OneNote
    jeremyterry_0-1689355559704.png

    Where I'm getting stuck is drilling down and searching the content for each individual page.  I imagine it works as a nested for loop:

    1. start with the notebook
    2. get a list of all sections
    3. for each section, get a list of all pages
    4. search all pages for incomplete to do tag

     

  • JamesDix_n Profile Picture
    203 on at
    Re: Search All OneNote Pages for Incomplete Tasks and Send Email

    Hey Jeremy, this is a tricky one and a bit beyond my knowledge I'm afraid. The OneNote action 'Get Page content' does allow you to get HTML text from the pages that shows the to do tag in html format: 

    <p data-tag="to-do:completed" style="margin-top:0pt;margin-bottom:0pt">Example task</p>.

     

    This could be handy but you would need to find a way to search your relevant pages (possibly in a loop as you suggest?) and then translate the html back into a more accessible format to include in your email. Good luck! 

  • VenusB Profile Picture
    5 on at
    Re: Search All OneNote Pages for Incomplete Tasks and Send Email

    Did you ever find a solution for this?

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard