Skip to main content
Best answer

Google Drive: Share With Specific Users

  • September 10, 2020
  • 5 replies
  • 1247 views

Hello,

I am currently using Zapier to create a new Google Drive folder as a custom workspace for 2 or more users.

I can create the Drive Folder, but I’m unable to limit sharing to just those two users.  Options are limited to anyone-with-link or my-domain-only.  Limiting access on a per-user basis is critical for us.

Anyone know of a way to add specific users via a Zap?  I’m not technical enough to manage this directly through Google’s API.

Thank you!

 

Best answer by Wemakefuture

So far it is right what you said, only org or internet can be shared.

But you can easily do it with js or python in Zapier.

https://developers.google.com/drive/api/v3/manage-sharing feel free to start a PM.

@steph.n can you add selecting user IDs  for sharing to the Apps Dev. list, please?

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Wemakefuture
Forum|alt.badge.img+8
  • Zapier Expert
  • 166 replies
  • September 11, 2020

Are you a Gsuite user?


  • Author
  • Beginner
  • 2 replies
  • September 11, 2020

Yes — I’m using a corporate GSuite account.  The user I’m using is the org Admin with full admin rights.


Wemakefuture
Forum|alt.badge.img+8
  • Zapier Expert
  • 166 replies
  • Answer
  • September 11, 2020

So far it is right what you said, only org or internet can be shared.

But you can easily do it with js or python in Zapier.

https://developers.google.com/drive/api/v3/manage-sharing feel free to start a PM.

@steph.n can you add selecting user IDs  for sharing to the Apps Dev. list, please?


  • Author
  • Beginner
  • 2 replies
  • September 11, 2020

Ah ok thank you -- that’s good to know.


  • Beginner
  • 7 replies
  • November 2, 2020

I was gonna try to do it with a custom Drive API webhook request in zapier

 

This is the parameters to share it publicly 

https://www.googleapis.com/drive/v3/files/"Spreadsheet_ID"/permissions?role=reader&type=anyone&key="API Key"

But zapier is throwing me an error to log in.

 

As long as the API supports sharing to specific users - which it does, it’s possible to do it with a custom webhook request.

Question is how to get rid of the login error..