Google Drive: Share File/Folder¶
Plugin ID: eca_google_drive_share_file
Available since: 1.0.0
Grants permissions to users, groups, or domains for Google Drive files and folders with configurable notification options.
Fields¶
Authentication Type— config key:auth_type-
Choose between API Client (OAuth2) or Service Account authentication.
Type:
select· Required: yes · Default:api_clientAllowed values:
api_client,service_account Authentication Source— config key:auth_from-
Choose whether to select authentication directly or use a token for dynamic selection.
Type:
select· Required: yes · Default:directAllowed values:
direct,token API Client— config key:api_client_id-
Search and select an API Client for OAuth2 authentication.
Type:
textfield· Required: no · Default: empty string Service Account— config key:service_account_id-
Search and select a Service Account for server-to-server authentication.
Type:
textfield· Required: no · Default: empty string Client ID from Token— config key:auth_client_from_token-
Token that resolves to a client ID (e.g., [user:field_google_client_id]). The token should contain just the client ID, not the auth type prefix.
This field supports tokens.Type:
textfield· Required: no · Default: empty string File/Folder ID— config key:file_id-
Google Drive file or folder ID to share. Supports token replacement.
This field supports tokens.Type:
textfield· Required: yes · Default: empty string Permission Type— config key:permission_type-
Type of recipient for the permission.
Type:
select· Required: yes · Default:userAllowed values:
user,group,domain,anyone Permission Role— config key:permission_role-
Level of access to grant.
Type:
select· Required: yes · Default:readerAllowed values:
reader,commenter,writer,owner Email Address— config key:email_address-
Email address for user or group permissions. Supports token replacement.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Domain— config key:domain-
Domain name for domain-wide permissions (e.g., "example.com"). Supports token replacement.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Send Notification— config key:send_notification-
Set to "1", "true", or "yes" to send email notification to the recipient. Set to "0", "false", or "no" to skip notification.
This field supports tokens.Type:
textfield· Required: no · Default:1 Notification Message— config key:notification_message-
Optional custom message to include in the notification email. Supports token replacement.
This field supports tokens.Type:
textarea· Required: no · Default: empty string Permission Token Name— config key:permission_token_name-
Optional token name to store permission information. Accessible as [token_name:permission_id], [token_name:role], [token_name:email_address], etc.
This field supports tokens.Type:
textfield· Required: no · Default: empty string