Google Drive Shared With Me Folder Search

Quick question. I’m trying to get a list of files inside the Google Drive Shared with me folder. I don’t know how to achieve that as it’s not choosable in any options.

Is this even possible?

Maybe I should explain what I’m trying to do. I need a way to move all files that contain a certain word in a filename (Google Sheets) in Shared with me folder, into a subfolder on My Drive called Processing. Not sure how to do that. It doesn’t look like this is doable. I can’t even get a list of those files in Shared with me.

Version: 1.76.2
No database in this workflow
EXECUTIONS_PROCESS: Not sure
npm
Mac OS 15

Cheers

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:

if it’s a shared Drive, take a look at the information I shread here:

If it’s only a shared folder, you might need to use the HTTP Request node and build a custom request.

The request URL would be something like this:


GET https://www.googleapis.com/drive/v3/files?q=sharedWithMe=true&includeItemsFromAllDrives=true&supportsAllDrives=true

:point_right: If my reply answers your question, please remember to mark it as a solution.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.