Actions6
- Data Ingestion Actions
- Error Handling Actions
- File Management Actions
- Initialize Execution Actions
- Workflow Output Actions
File Management → Upload File
AI-generatedSummary
Upload a file from workflow binary data to the Codika platform storage associated with a previously initialized workflow execution.
Inputs
- Binary Property (required) — Specify the binary property name in the input containing the file to upload (default is 'data').
- Field Key — Optional output schema field key to associate with this file.
- File Name — Optional custom filename for the uploaded file; if empty, uses the original filename.
- MIME Type — Optional MIME type of the file; automatically detected if empty.
- Timeout — Timeout in milliseconds for the upload request (default 300000 ms).
- Execution ID (Override) — Override the execution ID for the upload, useful in subworkflows (defaults to detected execution context ID).
- Execution Secret (Override) — Override the execution secret for the upload, useful in subworkflows (defaults to detected execution context secret).
Output shape
a list of JSON objects indicating upload success, including documentId, storagePath, filename, file size, and MIME type.
This operation requires that a Codika "Init Workflow" operation executed earlier in the workflow to provide the execution ID and secret needed for authentication. The operation uploads each input item file individually, returning success or failure per item. File size limits and network connectivity can affect upload success.