Iterate through newly added Sharepoint files, work with them, move them afterwards

Hi community,

We have a process, that currently works with Outlook and iterate attachments, uploading them to a vector-store in OpenAI, work with them… afterwards the email with its attachments is being moved to a “done” folder.

Since this process still requires someone to send these e-mails we wanted to change the process to Sharepoint. So, instead of putting all these files into several e-mails, this person should just add those files to a Sharepoint.

From there, I want to grab file by file (so basically “iterate them”), do the same magic as before, and when I have done all steps, I want to move this file to another folder within the sharepoint structure.

So my question is:
Is this possible? I havent found any Sharepoint “iterate files” as with Outlook, also I havent found a “move file” module for Sharepoint.

Is this scenario possible at all or should we stick to our e-mail process?

Best,
Tom

1 Like

Hi @Tom_Kay,

I believe by iterate you mean Transform files. To answer both of your questions, yes you can download transform reupload using Make’s Sharepoint module. In order to move a file from one folder to another you’ll have to utilize the custom API call and specify a server relative path in the body of the request.

Hope this helps!

-@Trainward_Consulting