Upload
AI-generatedSummary
Upload a document file to DocRouter.ai by providing binary data from a previous node, optionally setting the document name, tag IDs, and metadata.
Inputs
- Binary Property (required) — The name of the binary property containing the file data, such as 'data' from a prior node.
- Document Name — File name to assign to the uploaded document; if left empty, the binary property's file name is used.
- Tag IDs — Comma-separated list of tag IDs to associate with the document upon upload.
- Metadata — Optional JSON key-value metadata to associate with the document.
Output shape
a single JSON object representing the service's response to the document upload request
Output includes at least a JSON property with details about the uploaded document; errors during upload may appear as error objects if continueOnFail is enabled.