Actions8
- API Gateway Actions
- Chat Actions
- Document Actions
Document → Create
AI-generatedSummary
Uploads the input item’s binary file as a new document in an Omnifact space. You can set the uploaded filename and attach metadata key-value pairs.
Inputs
- Space ID (required) — UUID of the space to upload the document to.
- Binary Property (required) — Input binary field containing the file; defaults to
data. The operation errors if the field is missing. - Name — Optional uploaded filename. If omitted, uses the binary file’s filename, or
uploadif none is available. - Metadata — Optional list of key-value pairs sent with the file. Entries without a key are ignored.
Output shape
A single JSON item containing the API response for the uploaded document.
Each input item is handled separately. Upload errors normally fail the operation; with Continue On Fail enabled, the output includes the filename, space ID, error code, and error message.