---
title: Upload to Google Cloud
description: Upload files to a specified Google Cloud Storage bucket within your workflow.
category: Google Services
tags: [google cloud, gcs, file upload, storage, integration]
---

# Upload to Google Cloud

## Description

The **Upload to Google Cloud** activity allows you to send files to a target directory within a Google Cloud Storage bucket.

This activity enables workflows to store files generated or retrieved earlier in the process, supporting data archival, reporting, sharing, and integration scenarios.

Use this activity to:

- Upload processed data or reports to Google Cloud Storage
- Store backup or exported files
- Archive files for compliance or long-term access

> **Use case**:  
> After generating monthly reports , the files can be uploaded to a secure GCS bucket using `Upload To Google Cloud` for archival. You can pair this with timestamped directories and metadata tagging using `Rename File`.

## Input

| Input Type | Format                 | Description                        |
| ---------- | ---------------------- | ---------------------------------- |
| **Files**  | From previous activity | Files to be uploaded to GCS bucket |

## Output

| Output Type | Format         | Description                             |
| ----------- | -------------- | --------------------------------------- |
| **Files**   | File reference | Uploaded file details from Google Cloud |

## Configuration Fields

| Field Name            | Description                                                               |
| --------------------- | ------------------------------------------------------------------------- |
| **Connection**        | Select a connection to Google Cloud Storage. Required for authentication. |
| **Project**           | Google Cloud project identifier.                                          |
| **Bucket**            | Target bucket name where files will be uploaded.                          |
| **Working Directory** | Directory path within the bucket where files will be stored.              |

## Sample Input

| File Name       | Size   | Content Type                                                      | Source Activity |
| --------------- | ------ | ----------------------------------------------------------------- | --------------- |
| report1.csv     | 80 KB  | text/csv                                                          | ExcelGenerator  |
| sales_data.xlsx | 150 KB | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | ExcelGenerator  |

## Sample Configuration

| Field              | Value                    |
| ------------------ | ------------------------ |
| `connection.id`    | `google-cloud-storage`   |
| `project`          | `cloud-data-project`     |
| `bucket`           | `data-exports-bucket`    |
| `workingDirectory` | `/monthly-reports/2024/` |

## Sample Output

| Remote File Name                      | File Name       | Size   | Download   |
| ------------------------------------- | --------------- | ------ | ---------- |
| /monthly-reports/2024/report1.csv     | report1.csv     | 80 KB  | [Download] |
| /monthly-reports/2024/sales_data.xlsx | sales_data.xlsx | 150 KB | [Download] |
