Actions4
Document → Import File
AI-generatedSummary
Upload a binary document file from a previous node to a specified Parsio mailbox asynchronously, optionally including additional JSON metadata, and return the document ID for further processing.
Inputs
- Mailbox (required) — Select the Parsio mailbox to which the document should be uploaded.
- Document File (Binary) (required) — Specify the binary property name from a previous node that contains the document file to upload and parse (e.g., 'data').
- Filename — Optionally provide a custom filename for the document, including file extension. If omitted, the original filename from the binary data is used.
- Additional Metadata (Optional) — Optionally provide a JSON object with metadata to attach to the parsed result (e.g., external IDs or context). This JSON is passed through to the Parsio service.
Output shape
a single JSON object representing the uploaded document's ID and related information returned by Parsio after asynchronous upload
The operation sends a multipart/form-data POST request to the Parsio API's asynchronous document upload endpoint for the selected mailbox. It uses the binary data from the input specified, optionally includes metadata, and returns the document ID. The workflow can then use this document ID for subsequent operations or queries.
Examples
Example 1: Upload an invoice PDF file stored in the binary data property 'invoicePdf' to the Inbox 'Invoices' with additional context
Set 'Mailbox' to the 'Invoices' mailbox, 'Document File (Binary)' to 'invoicePdf', optionally set 'Filename' to 'invoice_12345.pdf', and 'Additional Metadata' to {"orderId":"12345"}. The node uploads this file asynchronously and outputs the document ID.