Omnifact icon

Omnifact

Interact with the Omnifact API

Actions8

Document → Create

AI-generated

Summary

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 upload if 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.

Links

Discussion