Document → Extract
AI-generatedSummary
Extract data from overseas invoices, receipts, and purchase orders by submitting a document file either from previous node binary data or via a URL to the ADP extraction API.
Inputs
- Input Source (required) — Choose the document file input source: either binary data from a previous node (recommended) or a manual file URL.
- File URL — Provide the URL of the document file to process (required if Input Source is 'From URL').
- With Recognition Result — Include OCR recognition details in the API response when enabled.
- Field Name Language — Select the language (Chinese or English) for field names in the returned data.
Output shape
A list of JSON objects each containing extracted data for one document, one item per input document processed.
Each output item corresponds to an input item. If extraction succeeds, the JSON includes the extraction results from the ADP API; if the operation fails and 'continue on fail' is enabled, the JSON includes error details. This operation requires ADP credentials and sends a POST request to the ADP API endpoint for document data extraction.
Examples
Example 1: Extract from binary file
Set Input Source to 'From Previous Node (Binary File)' and pass a binary document from the preceding node initialization. Optionally enable 'With Recognition Result' and select 'Field Name Language'. The node submits base64-encoded file contents to ADP and returns extracted fields.
Example 2: Extract from file URL
Set Input Source to 'From URL' and provide a valid file URL in 'File URL'. The node sends this URL to ADP for processing, returning extracted structured data.