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

# Upload a File

> This function allows for uploading a file to the secure [PDF.co Temporary Files Storage](/api-reference/file-upload). Uploaded files are stored for one hour and can be used in conjunction with other modules and applications during this period.

<Frame>
  <img src="https://mintcdn.com/pdfco/jvNpJlS3eEFjK2tL/images/integrations/make/make-step26.png?fit=max&auto=format&n=jvNpJlS3eEFjK2tL&q=85&s=dc3a588ce430562326d303932cfa292a" alt="Make Step" width="771" height="548" data-path="images/integrations/make/make-step26.png" />
</Frame>

## Input

| Name          | Description                                                                                                                                                                                                              | Required |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| **Data**      | Upload the source file to [PDF.co Temporary Files Storage](/api-reference/file-upload). The uploaded file will be available for use within 1 hour. The generated URL can be used with other **PDF.co** modules and apps. | Yes      |
| **File Name** | Optionally specify a custom file name for the uploaded file. This should be a string.                                                                                                                                    | No       |

### Integrating External File Sources

<Note>
  Streamline your **Make** workflows with external file sources like **Google Drive** and **Dropbox** using their unique actions. Discover efficient integration strategies in our guide: [File Source Integrations in Make](/integrations/make/input-file-sources).
</Note>

***

## Output

| Name                  | Description                                                                                                                   |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `URL`                 | This is the temporary **URL** provided by the **PDF.co** file server.                                                         |
| `Status`              | Indicates the [response status](/api-reference/introduction) code. A `200` status is returned if the operation is successful. |
| `outputLinkValidTill` | Specifies the timestamp until which the `url` remains accessible.                                                             |
| `error`               | Provides details about any errors encountered during the process, if applicable.                                              |
| `File Name`           | The designated name of the output file.                                                                                       |
| `Job Id`              | A unique identifier assigned to the job.                                                                                      |
| `credits`             | The amount of credits utilized for the process.                                                                               |
| `Remaining Credits`   | Displays the balance of credits available in your account.                                                                    |
| `duration`            | The duration of time the process took to complete.                                                                            |

## Bypassing Google Drive’s Temporary Blocks

Google Drive may temporarily block PDF.co’s access to publicly shared URLs, identifying it as bot activity. This blockage prevents PDF.co from accessing the input file, causing errors in Make scenarios.

**Solution**: Use the “Upload a File” module to upload your file directly to PDF.co. This will provide a PDF.co URL for your file, which you can use in subsequent steps without encountering access issues.

## Steps:

* **Download the File**: First, download your file from Google Drive.
* **Upload to PDF.co**: Use PDF.co’s “Upload a File” module to upload the downloaded file.
* **Use PDF.co URL**: You will receive a PDF.co-hosted URL for your file. Use this URL in your Make scenario steps to avoid Google Drive’s temporary blocks.

<Frame>
  <img src="https://mintcdn.com/pdfco/jvNpJlS3eEFjK2tL/images/integrations/make/google-drive-upload-file.png?fit=max&auto=format&n=jvNpJlS3eEFjK2tL&q=85&s=cf3bb2f6e9c38a3887d97ccb4bdab831" alt="Uploading Google Drive File to PDF.co" width="1055" height="546" data-path="images/integrations/make/google-drive-upload-file.png" />
</Frame>

This method ensures uninterrupted access to your files for processing with PDF.co in your Make scenarios.
