Skip to content

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
prompttextRequiredPrompt describing what data to extract and the expected output shape.
languageselectRequiredLanguage of the document content. (options: English, Sinhala, Tamil)
filesfilesRequiredDocuments to process (PDF, JPEG, PNG, TIFF). Each must have base64, filename, mimeType, size, metadata.
enableVisionyes/noRequiredEnable vision processing. When enabled, the documents are processed using the vision model.

Outputs

Name Type Description
bodyobjectIDP API response: document, metadata, plus statusCode (HTTP status).
documentdynamic objectStructured data extracted from documents per your schema.
metadataobjectMetadata of the processed documents.
documentCountnumberNumber of documents processed.
filenamesarray of textFilenames of the processed documents.
totalPagesnumberTotal number of pages processed.
successyes/noWhether the IDP process succeeded.