I’m trying to set up a Zap that automatically shares a Google Drive folder with new Mailchimp subscribers. I’ve got the File ID from the Drive API, but I’m stuck on the “Custom Value for Sharing Preference” part.
When I pick the Email address from the Mailchimp dropdown in Zapier and test it, I get an error saying the permission type field is required. I’m not sure how to format this correctly.
I did some testing with the Google Drive API and found out I need to send a POST request to the permissions endpoint with a JSON body containing the role, type, and email address. But I can’t figure out how to implement this in Zapier.
Has anyone successfully set up something similar? Any tips on how to configure the Zap to properly share the folder with new subscribers? I’d really appreciate some guidance on this!
I’ve implemented a similar automation, and here’s what worked for me. Instead of using the Drive API directly, leverage Zapier’s ‘Formatter by Zapier’ step before the Google Drive action. In the Formatter step, create a JSON object with the required fields: role, type, and emailAddress. Set role to ‘reader’, type to ‘user’, and map the Mailchimp subscriber’s email to emailAddress.
Then, in the Google Drive ‘Add File Permission’ action, use this formatted JSON in the ‘Permission Details’ field. This approach lets you structure the data correctly without dealing with API complexities. Also, ensure your Google Drive account in Zapier has the necessary permissions to share files.
If you’re still encountering issues, try breaking down the Zap into smaller steps and test each one individually. This method has been reliable in my experience for automating folder access for new subscribers across various platforms.
hey there! i’ve done something similar before. try using the ‘create file permission’ action in zapier instead of custom value. set the role to ‘reader’ and type to ‘user’. then map the subscriber’s email to the email field. that shud work without messing with api stuff. good luck!
I’ve encountered a similar challenge and found a workaround. Instead of using the Google Drive API directly, try utilizing Zapier’s ‘Google Drive’ app. Select the ‘Share Drive File’ action, which simplifies the process. Input your File ID, set the permission level to ‘Reader’, and map the subscriber’s email from Mailchimp. This approach bypasses the need for custom API requests and handles the permission formatting internally. If you’re still facing issues, double-check that your Google Drive account permissions are correctly set up in Zapier. This method has proven reliable in my experience for automating folder access for new subscribers.