> ## 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.

# Upload Files

> Upload files from URLs to a specific folder in Google Drive

Upload files from URLs to a specific folder in Google Drive

|                      |                      |
| -------------------- | -------------------- |
| **App**              | Google Drive         |
| **Operation ID**     | `drive_upload_files` |
| **Type**             | Action               |
| **Connection**       | `drive` (required)   |
| **Credits per run**  | 1                    |
| **Agent / MCP tool** | Yes                  |

## Inputs

| Field         | Type                                          | Required | Default | Description                                                                                                          |
| ------------- | --------------------------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------- |
| `folder_id`   | string                                        | No       | -       | Google Drive folder ID where files will be uploaded. If not provided, files are uploaded to the root of Google Drive |
| `upload_type` | string                                        | Yes      | -       | Type of upload: single or multiple                                                                                   |
| `file_url`    | string                                        | No       | -       | Single file URL for single upload                                                                                    |
| `file_name`   | string                                        | No       | -       | Custom filename for single upload                                                                                    |
| `file_urls`   | array (also accepts a comma-separated string) | No       | -       | List of file URLs for multiple upload                                                                                |

## Output

**Type**: `List[Dict]`

Returns uploaded file details.

**Fields**: `file_id`, `name`, `folder_id`, `folder_name`
