Google Drive: Copy File¶
Plugin ID: eca_google_drive_copy_file
Available since: 1.0.0
Duplicates files with new names and locations for template duplication, backup creation, and cross-folder copying workflows.
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 Source File ID— config key:source_file_id-
Google Drive file ID to copy. Supports token replacement.
This field supports tokens.Type:
textfield· Required: yes · Default: empty string New Name— config key:new_name-
Name for the copied file. If empty, will use original filename with "Copy of" prefix.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Destination Folder ID— config key:destination_folder_id-
Optional folder ID to copy the file into. Leave empty to copy to same location as original.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Copy Token Name— config key:copy_token_name-
Optional token name to store copied file information. Accessible as [token_name:file_id], [token_name:name], [token_name:web_view_link], etc.
This field supports tokens.Type:
textfield· Required: no · Default: empty string