Monitoring OneDrive Folder w/ Multiple Files

Hi All! I have my first make automation up and running and was very excited when it worked the first time! What I’ve built is a tool that monitors a specific one drive folder for new files, uploads that file to a vector store on OpenAI, generates a summary of the document using an assistant, deletes the file from the vector store, and then takes the output and does a few different things with it in Notion and my Outlook (not relevant to my question).

My question is how do I make it work when multiple new files are uploaded during the same run window (i.e. if I’m having it run every 15 mins). Based on the test I just ran, it looks like it just picks one of the files rather than doing it for both files.

Hey @Joshua_White , congratulations on building your first make.com automation.

I think a pretty simple solution for this issue is to use a polling system that fetches the files at different intervals. This way, you’ll be able to get all the uploaded data.

is a polling system different from using the Watch module for Onedrive? issue is if there are two files that were uploaded simultaneously, it’s only seeing one.

A polling system pulls data from an API at intervals.

If there are two files uploaded simultaneously, a polling system will return all recently uploaded data.

Got it. Ultimately I’m going to be uploading 50-100 files in a big batch quarterly to this folder, so I need it to upload the first file, run through the whole automation, and then do the same for the second file (and so on).