# Duplicate a Drive file — Google Drive Botize method — `drive.copy_file` (action). Creates a duplicate of an existing Google Drive file, letting you choose the new name and optionally the destination folder. Note: Only files previously created through a Botize automation can be duplicated. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `mb_switch` *(boolean)* — Rules - `source_file_id` *(string)* — Source file Id - `source_file_url` *(string)* — Source file URL (Optional) - `save_as` *(string)* — Name for the duplicate (Optional) - `folder_url` *(string)* — Destination folder URL (Optional) It also accepts repeatable field groups, with these prefixes: `mb_filters_*`. These are composite components (buttons, filters, keyboards); the trailing number is set by the user as they are added. ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{document_id}}` *(text)* — Duplicated File Id - `{{document_name}}` *(text)* — Duplicated File Name - `{{document_mimetype}}` *(text)* — Duplicated File MimeType - `{{download_url}}` *(text)* — Open URL ## Account Needs a connected Google Drive account in Botize: https://botize.com/en/app/drive/authenticate ## This app Every trigger and action for Google Drive: https://botize.com/en/app/drive.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/drive/copy_file