Actions4
Overview
This node integrates with the Upstage Document Parse API to convert documents into structured formats such as HTML, Markdown, or plain text. It supports synchronous parsing by uploading a file, asynchronous submission of a file for later processing, retrieving results asynchronously by request ID, and listing all asynchronous requests. This node is useful for automating document digitization workflows, extracting structured content from various document types, and integrating document parsing into larger automation pipelines.
Use Case Examples
- A user uploads a PDF file to get its content converted into HTML for web display.
- A user submits a document asynchronously and later retrieves the parsed result using the request ID.
- A user lists all asynchronous document parsing requests to monitor processing status.
Properties
| Name | Meaning |
|---|---|
| Request ID | The unique identifier for an asynchronous document parsing request, used to retrieve the parsing result. |
Output
JSON
request_id- The unique identifier of the asynchronous request submitted.submitted- Boolean indicating if the asynchronous request was successfully submitted.html- Parsed document content in HTML format (when requested).markdown- Parsed document content in Markdown format (when requested).text- Parsed document content in plain text format (when requested).elements- Array of layout elements extracted from the document (when requested).error- Error message if the request failed.statusCode- HTTP status code associated with the error.timestamp- Timestamp when the error occurred.
Dependencies
- Upstage Document Parse API
- An API key credential for authentication
Troubleshooting
Error 'No binary data found in property "".' occurs if the specified binary property does not exist or is empty. Ensure the correct binary property name is provided and the input item contains binary data.
- Missing or invalid Request ID for asynchronous get operation will cause an error. Provide a valid Request ID string.
- HTTP request failures due to network issues or invalid API credentials will throw errors. Verify API key credentials and network connectivity.
Links
- Upstage Document Parse API Documentation - Official documentation for the Upstage Document Parse API used by this node.