> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Copy File

> Create a copy of a file in Google Drive. This node allows you to duplicate any file in your Google Drive, optionally with a custom name for the copied file.

Create a copy of a file in Google Drive. This node allows you to duplicate any file in your Google Drive, optionally with a custom name for the copied file.

## Use Cases

* **Backup files**: Create backup copies of important documents
* **Template duplication**: Copy template files to create new instances
* **Version management**: Create copies before making major changes
* **File distribution**: Duplicate files for different teams or purposes
* **Workflow templates**: Copy spreadsheet or document templates for automated workflows

## Inputs

### File ID

**Required** • Choose a file from your Google Drive using the Google file picker

* Select any file from your Google Drive
* Supports all Google Drive file types (Docs, Sheets, Slides, PDFs, images, etc.)
* Use the integrated file picker for easy selection

### New File Name

**Optional** • Enter the name for the copied file

* If not provided, the copy will be named "Copy of \[original name]"
* Custom names help organize and identify copied files
* Supports dynamic text input for automated naming

## Outputs

The node provides the following output data:

* **New File ID**: The unique identifier of the newly created copy
* **New File Name**: The name of the copied file
* **New File URL**: Direct link to access the copied file
* **Original File ID**: The ID of the source file that was copied

## Example Workflows

### Template Duplication

1. Use Copy File to duplicate a report template
2. Connect to Sheets nodes to populate the copy with new data
3. Share or export the completed report

### Backup Before Processing

1. Copy important files before automated processing
2. Process the original files with other nodes
3. Keep the backup as a safety measure

### Multi-Version Creation

1. Copy a master document multiple times
2. Use different naming conventions for each copy
3. Process each copy differently for various audiences

## Configuration

1. **Select Source File**: Use the Google file picker to choose the file to copy
2. **Set Copy Name** (Optional): Enter a custom name for the copied file
3. **Connect Authentication**: Ensure your Google Drive connection is active

## Credits Cost

**Cost**: 1 credit per execution

## FAQ

<Accordion title="I'm getting 'File not found' or 'Access denied' errors. What should I do?">
  Make sure you select the file using the Google Drive file picker button in the node. Markifact only has access to files that you explicitly select through the official Google file picker - we don't have access to your entire Google Drive. Simply click the file selection button and choose your file through Google's interface to grant access.
</Accordion>

<Accordion title="Why can't Markifact see all my Google Drive files?">
  For your privacy and security, Markifact doesn't have access to your entire Google Drive. We only have access to files that you specifically select using the Google Drive file picker. This ensures that your private files remain private and only the files you choose to work with are accessible to your workflows.
</Accordion>

<Accordion title="Do I need to reshare files every time I run my workflow?">
  No, once you've selected a file through the Google Drive file picker, Markifact retains access to that specific file for future workflow runs. You only need to select the file once when setting up the node.
</Accordion>

<Accordion title="Can I copy files from shared drives or files shared with me?">
  Yes, as long as you can select the file through the file picker, a copy can be created. This includes files in shared drives and files that others have shared with you.
</Accordion>

<Accordion title="What happens to the original file when I create a copy?">
  The original file remains completely unchanged. This node creates a new, separate copy of the file. The original file keeps all its permissions, sharing settings, and content exactly as it was.
</Accordion>

<Accordion title="Where is the copied file saved?">
  The copied file is saved in the same folder as the original file in your Google Drive. If you need the copy in a different location, you'll need to move it manually or use additional Google Drive management nodes.
</Accordion>
