AI-Process Order
process_orderExtract structured order data from PDF files via PDF4me's ProcessOrder API. Provide a local file path and optional profiles to receive the extracted data as JSON.
Instructions
AI-Process Order (processOrder): extract structured order data via PDF4me POST /api/v2/ProcessOrder. JSON body: docName, docContent, isAsync (true), and optional profiles only. doc_name is sent as docName as provided or defaulted (basename from pdf_file_path)—not overwritten by the server. Provide pdf_file_path (local .pdf/.png/.jpg/.jpeg). Optional profiles: trim then omit if empty; otherwise if it does not start with an opening curly brace or square bracket, wrap in outer curly braces. 202 + Location poll; saves process_order.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | No | ||
| profiles | No | ||
| output_dir | No | ||
| pdf_file_path | No |