Search K
Appearance
Appearance
Uploads a local file to a specified Google Cloud Storage bucket. If the file already exists in the bucket, the user can choose to replace it.
Use this node to upload a file from the local file system into a Google Cloud Storage bucket as part of your workflow. Useful for archiving, sharing, or processing files within the Google Cloud ecosystem.
Label | Type | Description | Required | Example / Notes |
---|---|---|---|---|
Bucket Name | Text | The name of the destination bucket in Google Cloud Storage. | ✅ | my-project-uploads |
Local Full Path | Text | The full local file path of the file to upload. | ✅ | C:\temp\report.pdf |
Replace | Picklist | Determines if the existing file in the bucket should be overwritten. | ✅ | Options: true , false |
Validates Required Inputs: Ensures Bucket Name
, Local Full Path
, and Replace
are provided.
Checks File Existence (Local): If the specified local file doesn't exist, the task fails.
Checks File Existence (Cloud): If the file already exists in the bucket:
Replace
is true
, the existing file is deleted and a new file is uploaded.Replace
is false
, the task fails to prevent unintentional overwrites.Uploads File: Uses Google Cloud's API to upload the file.
Returns Success or Error: Responds with appropriate task status and message.
There are no specific output variables. The success or failure of the task is communicated through the workflow engine’s status messaging.
C:\temp\report.pdf
becomes report.pdf
in the bucket).Issue | Cause | Resolution |
---|---|---|
File not found | Local file path is incorrect or file was deleted | Check the path and ensure the file exists |
File already exists | Replace is set to false and the file exists in bucket | Change Replace to true if overwriting |
Upload failed | Token expired or network error during file transfer | Ensure valid token and retry |