How to Sync a Microsoft Teams Folder with a Vector Store Using N8N?

Describe the problem/error/question

Hi everyone,

I recently watched a video by Nate Herk about building a RAG (Retrieval-Augmented Generation) agent using N8N. In the video, Nate demonstrates how files created or updated in Google Drive are automatically added or updated in a vector store.

I want to achieve a similar setup but using a folder from a Microsoft Teams channel instead of Google Drive. I’ve looked into N8N integrations and possible workarounds, but I haven’t found a clear solution to connect Microsoft Teams files to a vector store via N8N.

Does anyone have experience with this or suggestions for how to achieve it? Any tips or examples would be greatly appreciated!

Thank you!

Information on your n8n setup

  • n8n version: 1.69.2
  • Database (Postgres):
  • n8n EXECUTIONS_PROCESS setting (own, main):
  • Running n8n via (Railway.app in que mode):
  • Operating system:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Welcome to the community @YouandAI !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


I’m not familoiar with neither Microsoft Team nor SharePoint. However, judging by this post, Teams vs. OneDrive vs. SharePoint: Differences & Which to Use | tenfold, you should be able to leverage SharePoint API to access Microsoft Team folders as Microsoft Team node does not provide an option to access folders.

Here are some more docs how to leverage API to access files hosted by Microsoft services:

Hopefully this helps somehow.

1 Like

Thank you for your answer! This is currently above my skillset so it will take me some time to implement this. When I succeed I will post it here.