younifyd
Menu

Upload File

Upload a file to platform-managed storage scoped to your store

Use it in a workflow

  1. Add a step and choose the File Storage connector.
  2. Pick the Upload File action (under file).
  3. Fill in the fields below, then reference the result from later steps as {{uploadFile.response.data}}.

Fields

fileNamestringrequired

The desired relative path/filename, e.g. invoices/march.csv

bodystringrequired

The file content. Can be plain text or base64 encoded data.

contentTypestring

The content type of the file (e.g., text/csv, application/pdf)

onConflictstring

What to do if a file already exists at this path: overwrite it, or create a new file with a unique suffix

One ofoverwritecreateNewDefault "overwrite"

retentionTierstring

How long to keep this file before it's automatically deleted

One of73090365neverDefault "never"

Need more? See the File Storage guide for connection setup and behaviour shared by every action.

Was this page helpful?