Onenote To-Do to Google Tasks

I am hoping to use Make so when I create a To-Do item in OneNote, I can get a Task created on my Google tasks. I’m not having much luck, probably due to my inexperience and not finding a template or examples to leverage.

I’ve played with the OneNote Watch pages, but it only seems to trigger when a new Section is created and I want it to trigger only when a To-Do item is created regardless of Section and/or Page.

For a specific Notebook, and for any Section and Pages, if a To-Do item is created, I want that To-Do to appear on Google tasks. It would be great to have the Section as the parent task, and the wording on the task to be Section.To-Do text.

Hello @checkyourmirrors,

What is a “To-Do” item in OneNote?
I imagine it’s just an item in a list on a page?

If that’s the case, you could use Watch pages to monitor when a page is updated, but it is up to you to come up with the logic to determine what has changed.
This is where it becomes very difficult unfortunately…

2 Likes

You can tag a line as a To-Do which adds a check mark, so I guess I would have to look for that tag, and seems complicated. I’ve been looking at Pleexy which is super simple but doesn’t allow for much customization.

Looks like when it’s tagged a To-Do, then the HTML content of the page includes that as well. You could in theory grab the contents of the page and extract those elements with that tag, for example:
<span data-tag="to-do">Item 7</span>

For that, you could use a Text Parser Match Pattern module with something like this as a pattern:
<span data-tag="to-do">([\w\s]*)<\/span>

The result would look something like this:
image

Aggregate $1 from all the bundles from Text Parser Match Pattern and you’ll end up with an array of To-Do items.

The next task would be to combine that task list with what’s in Google and only add what Google doesn’t already have.

3 Likes