AI-Process Contract
process_contractExtract structured data from contract PDFs or images, returning JSON output via the PDF4me API.
Instructions
AI-Process Contract: extract structured data from a contract via PDF4me POST /api/v2/ProcessContract. Request JSON has only docContent, docName, and IsAsync (must be true); this action does not send customFieldKeys or CustomFieldKeys. Provide pdf_file_path (local .pdf/.png/.jpg/.jpeg as Base64). doc_name: logical file name (e.g. contract.pdf); optional (defaults to basename). Async: 202 + Location poll until JSON; saves process_contract.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | No | ||
| output_dir | No | ||
| pdf_file_path | No |