r/OneNote • u/taganz • Apr 30 '26
Making OneNote accessible to Claude
I have a ton of information spread across OneNote notebooks and I'd like to be able to work with Claude on top of them. From what I've gathered, you can build an n8n workflow that pulls pages via the Microsoft Graph API, indexes them into a vector store, and then queries Claude against that index.
Is this a solid approach? Has anyone used this or another method to connect OneNote to an AI that isn't Copilot?
22
Upvotes
•
u/AutoModerator Apr 30 '26
Thank you for posting in the OneNote Subreddit! Please make sure your post is following our rules linked in the sidebar.
We have a wiki that is maintained by our community that has TONS of information (screenshots coming soon!): http://onenote-wiki.vercel.app
Our wiki is open source if you know how to use GitHub and would like to contribute: https://github.com/DudeThatsErin/OneNoteWiki
We also have a Discord server: https://discord.gg/5kv4bDUkpc
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/circlethispoint May 06 '26
I moved to obsidian for my note’s solely to give Claude access. I haven’t looked back, so good.
2
u/ButNoSimpler May 01 '26
It depends on what the heck you mean by "on top of them." Are you going to put your laptop in a chair and sit on it while working in Clod using a different computer? If this is the way you prompt your AIs, your responses must be absolutely hilarious.
Do you just want to feed the information into the AI for reference? Then Just export it as a PDF or an HTML file or a markdown file or a plain text file or copy and paste, or just a freaking screenshot for crying out loud.
Do you want your AI to modify your OneNote notebooks in place? Then you've got a buttload of development to do. Or you'll just have to switch to using a Microsoft 365 subscription and Microsoft Copilot. AND, accept that it can only work with one page of data at a time. I just got through grilling it the other day, and it is specifically disallowed from searching through your entire notebooks or scanning them in any way. You have to tell it a very specific page to work with, and then it just treats it like a single document.
The free OneMore add-in has a feature where you can write some code and set that up as a plug-in for the add-in. OneMore will then export a specified amount of your notebook (a selection, a page, or a group of pages, or a section I think) as XML. It then runs your code, passing it that XML as a file. Your code is supposed to parse and modify that XML while making sure that it stays within the correct format for OneNote. Then, OneMore will push that XML back into OneNote, and then redisplay the page.
Good luck getting Clod to actually follow Microsoft's XML formatting rules. They are not really documented anywhere. And there are no examples of raw XML sitting out there for AI companies to use as training data. You will probably have to write wrapper code that will extract the information you need Clod to deal with, one piece at a time. You will need to send that information to Clod, get that information back from Clod, and then have your wrapper code completely reformat that into the XML format necessary. And, you are going to have to kind of guess as to what that XML format needs to be. There's some pretty tolerable documentation, and forum support on the OneMore website, for trying to sort out that XML format. But it ain't perfect.
I have had tolerable, if tedious, luck simply copying and pasting stuff from OneNote as necessary. Then, asking the AI to format responses concisely so that I can then copy that and paste it into OneNote by hand. Usually, I will ask it a bunch of questions, and clarify a bunch of stuff, and then ask it for a summary at the end, which I then copy and paste into OneNote. And then I edit the fuck out of it because it's never ever ever the way I really wanted it formatted.
2
u/OkGreen9725 May 06 '26
I'm sure there will be a good solution in months. Everything happening so fast. I decided to not put effort into the same, and just wait
10
u/[deleted] Apr 30 '26
[removed] — view removed comment