How could I list all Shared Drives of an user?

I am building a report that gets all users and groups of a Google Workspace domain, and I am looking to add into this report a list of all shared drives and each user with access on each of them.

I can do it using GAM tool, but I have no clue of how I can do it using nodes on N8N.

The closest option I found is using Google Drive node and enabling “Domain Admin Access”, it returns to me all Shared Drives, but only this information (Shared Drives ID and Title), nothing else. I do not find a way to list users of a specific Shared Drive using its ID, or all Shared Drives of a specific user ID if not myself.

Any hint for this challenge?

Follow below my work for inspiration:

Thanks a lot!

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:

It was painful to develop and no help found here (even Reddit was able to help with proper APIs), so I think the best alternative is to connect through SSH to a shell and collect the reports using GAMADV-XTD3.

1 Like

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