Actions17
Folder → Share
AI-generatedSummary
Shares a selected Google Drive folder by creating the configured permission for a user, group, domain, or anyone. Choose the folder by browsing, pasting its URL, or entering its ID, then set the permission role and scope.
Inputs
- Authentication (required) — Select OAuth2 or Service Account authentication. OAuth2 credential fields include client ID, client secret, refresh token, and access token.
- Folder (required) — Select a folder from the list, paste a Google Drive folder URL, or enter its ID.
- Permissions (required) — Configure the permission role and type (user, group, domain, or anyone). User and group permissions can include an email address; domain permissions can include a domain. Domain and anyone permissions can set whether the folder is discoverable through search.
- Options — Set a notification email message, whether to send a notification email, transfer ownership, move the item to the new owner's My Drive root during an ownership transfer, or use domain administrator access.
Output shape
Not determinable from the provided source pack.
The folder share execute implementation is represented only by its function signature, so the response shape and the precise runtime handling of these inputs cannot be confirmed.
Examples
Example 1: Grant a colleague access
Choose the folder, set Type to User, enter the colleague's email address, and choose a role such as Reader or Writer. Enable Send Notification Email if they should be notified.
Example 2: Allow anyone with the link to read the folder
Choose the folder, set Type to Anyone, choose Reader, and configure Allow File Discovery as needed.