Upload to Cloud Storage

network · A339 · starter-package 7.0.1

Uploads a file or object to cloud storage.

Use

Uploads a file or object to cloud storage. Connect a matching output from an earlier successful block when one exists; otherwise complete the visible validated settings documented for this block.

What the block does

This block sends the request to the Provider endpoint you entered. Connect Provider credential only when the service requires sign-in. A matching output from an earlier block takes precedence over the corresponding setting.

Inputs

  • profileRef — Cloud profile: text; accepted output Cloud Profile; optional when the visible fallback settings are completed; default none.
  • cloudProfile — Cloud profile identifier: text; required when profileRef is not connected; maximum bytes 512; default none.
  • sourceRef — Exact file to upload: text; required; accepted output File; default none.
  • container — Bucket or container: text; required; maximum bytes 512; default none.
  • objectKey — Object key: text; required; maximum bytes 2048; default none.
  • providerEndpoint — Provider endpoint: text; validated URL text; required; maximum bytes 2048; default none.
  • providerCredential — Provider credential: text; accepted output Credential; default none.
  • providerTimeoutMs — Provider timeout: number; minimum 1000; maximum 300000; default 60000.

Connections from earlier blocks

  • profileRef (cloud.profile): Set Cloud profile identifier when no cloud.profile output is connected.
  • sourceRef (filesystem.file): connect the output from A109 Create File or A134 Create Temp File.
  • providerCredential (credential.secret): optional; connect the output from A321 Read Secret or A322 Write Secret or A324 Get Environment Secret.

Outputs

  • objectRef — Cloud object: text (cloud.object); checked before the workflow continues.
  • etag — ETag: text; checked before the workflow continues.
  • fire — Fire: true after successful execution.

Settings

A connected output from an earlier block takes precedence over the corresponding setting.

IDSettingControlDefaultBounds
cloudProfileCloud profile identifiertextnonerequired when profileRef is not connected; maximum bytes 512
containerBucket or containertextnonerequired; maximum bytes 512
objectKeyObject keytextnonerequired; maximum bytes 2048
providerEndpointProvider endpointtextnonerequired; maximum bytes 2048
providerTimeoutMsProvider timeoutnumber60000minimum 1000; maximum 300000

Error handling

  • Invalid input stops before the request. Connection, timeout, cancellation, sign-in, provider, and response failures are reported separately.
  • If a connected output is expired or belongs to another workflow run, the message tells you which connection to replace. If a required setting is missing, the message names that setting.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
cloudProfileCloud profile identifiertextNot set—
containerBucket or containertextNot set—
objectKeyObject keytextNot set—
providerEndpointProvider endpointtextNot set—
providerTimeoutMsProvider timeoutnumber60000—