Intelligent Document Processing
IDP
IDP
Intelligent Document Processing
Extract structured data from uploaded documents using OCR (AWS Textract) and AI parsing (OpenAI).
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
prompt | text | Required | Prompt describing what data to extract and the expected output shape. |
language | select | Required | Language of the document content. (options: English, Sinhala, Tamil) |
files | files | Required | Documents to process (PDF, JPEG, PNG, TIFF). Each must have base64, filename, mimeType, size, metadata. |
enableVision | yes/no | Required | Enable vision processing. When enabled, the documents are processed using the vision model. |
Outputs
| Name | Type | Description |
|---|---|---|
body | object | IDP API response: document, metadata, plus statusCode (HTTP status). |
document | dynamic object | Structured data extracted from documents per your schema. |
metadata | object | Metadata of the processed documents. |
documentCount | number | Number of documents processed. |
filenames | array of text | Filenames of the processed documents. |
totalPages | number | Total number of pages processed. |
success | yes/no | Whether the IDP process succeeded. |