AI-Process Order in Make
AI-Process Order is a PDF4me AI module for Make that extracts structured data from a purchase order or sales order in PDF or image form. It returns one Order Data field holding that information as structured data (JSON), the order number, customer, a full line-items array, totals, currency, and shipping address, for ERP ingestion and procure-to-pay automation.
What this module does
PDF4me AI-Process Order extracts structured data from PDF or image purchase orders and sales orders inside your Make scenario using AI. Supply a PO or SO and the module returns a single Order Data field holding order number, order date, customer name, full line items array, subtotals, total, currency, and shipping address as structured data (JSON), ready for ERP ingestion (NetSuite, SAP, Microsoft Dynamics, Odoo), procure-to-pay automation, order-to-cash workflows, and three-way matching against invoices and receipts. No template setup required; works across procurement systems, email-attached PDFs, and scanned paper orders.
Authenticating Your API Request
Every PDF4me module in Make requires a valid Connection. Create or select one that holds your PDF4me API key so the scenario can authenticate AI order extraction requests securely.
Important Facts You Should Not Miss

Set File to Map, wire File Name and Document from the prior module. The Order Data output carries orderNumber, customerName, the lineItems array, total, currency, and shippingAddress for ERP and fulfillment workflows.
What parameters does AI-Process Order use in Make?
Required: Connection, File Name, and Document. Set File to Map first, this reveals the File Name and Document fields in the module panel.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Connection | Required | PDF4me API connection. Click Add and paste your API key the first time. Reused automatically across all PDF4me modules in your scenarios. | My PDF4me connection |
| File | Required | How the order file is supplied to the module. Choose Map to wire binary content from a prior step such as Gmail, Dropbox, Google Drive, OneDrive, or an HTTP module. Choose Dropbox, Download a File to pull straight from a Dropbox trigger without a separate download step. | Map |
| File Name | Required | Filename of the order including its extension (.pdf, .png, .jpg, .jpeg). Map it from the filename output of your source module. | po-2024.pdf |
| Document | Required | Binary content of the order file. Map it from the file data returned by the source module: the Data field of Dropbox, Google Drive, OneDrive, Gmail, or an HTTP module. | 1. Data |
Output Fields
The module returns a single field. PDF4me may process the request as a background job, and Make waits for the result before the next module runs.
| Field | Type | What it contains |
|---|---|---|
Order Data | Text | The order details extracted by the AI, as structured data (JSON). Map it into the next module to store the whole order, or parse it first to use the individual values separately. |
What the Order Data field contains
These values are the contents of the single Order Data field, not separate module outputs. Parse Order Data in Make to read them individually.
| Value | Type | What it contains |
|---|---|---|
orderNumber | String | Extracted order number or reference identifier (e.g. PO-2024-001 or SO-78423). |
orderDate | String | Order date in ISO 8601 format (YYYY-MM-DD). |
customerName | String | Customer or vendor name printed on the order document. |
lineItems | Array | Line items with description, quantity, unitPrice, and total per row. Loop with a Make Iterator for one ERP line per row. |
subTotal | Number | Subtotal amount before taxes, shipping, and discounts. |
total | Number | Final total amount including all charges. |
currency | String | Currency code in ISO 4217 format (USD, EUR, GBP, INR, JPY, etc.). |
shippingAddress | String | Shipping or delivery address printed on the order. |
How do I set up AI-Process Order in Make?
- Add PDF4me → AI-Process Order to your Make scenario. Make lists the module as AI - Process an order.
- Select Connection (or click Add to create one with your PDF4me API key).
- Under File, choose Map to reveal the File Name and Document fields.
- Map File Name to the filename with extension (
.pdf,.png,.jpg, or.jpeg). - Map Document to the binary content from the source module: typically the Data field of Dropbox, Google Drive, Gmail, or HTTP modules.
- Click Save and run the scenario. Wire Order Data into NetSuite, SAP, Microsoft Dynamics, Odoo, Salesforce, or your warehouse management system. Parse it first and use an Iterator over
lineItemsto create one ERP order line per row.
Workflow Examples
Workflow ExamplesCommon Make scenario patterns using AI-Process Order.
- Gmail triggers when an email arrives from a known customer domain with a PO PDF attached.
- AI-Process Order returns Order Data carrying orderNumber, customerName, orderDate, lineItems, total, and shippingAddress.
- A NetSuite Search Customer step uses customerName to locate the existing customer record (or branches into Create Customer if not found).
- A NetSuite Create Sales Order module records the order header. A Make Iterator loops over lineItems and adds each product as a sales order line with quantity and unit price.
- A Slack notification to the fulfillment team announces the new order with total amount and shipping address; an Airtable log captures the PO-to-SO mapping for audit.
- A SharePoint Watch Files trigger fires when a new vendor PO is uploaded by procurement.
- AI-Process Order returns Order Data carrying orderNumber, total, lineItems, and currency. A separate AI-Invoice Parser run extracts the matching invoice fields when it arrives later.
- A Google Sheets lookup matches the PO orderNumber to a Goods Receipt Note (GRN) from the warehouse. All three documents, PO, GRN, invoice, are joined on orderNumber.
- A Tools Set Variable step performs three-way matching on quantities and totals. Matched POs auto-approve; mismatches route to a Slack approval channel with a side-by-side comparison.
- Approved orders post payment instructions to the AP system; rejected orders create an exception ticket in Jira for procurement to resolve with the vendor.
- An HTTP webhook receives orders from customers that cannot send EDI 850 messages, typically smaller buyers using email-attached PDF POs.
- AI-Process Order normalizes the PDF into the same structured schema your EDI pipeline produces, orderNumber, lineItems, shippingAddress.
- The normalized payload is posted to the warehouse management system (WMS) API just like an EDI order, triggering the same pick-pack-ship process.
- A confirmation email is sent to the customer with order number, expected ship date, and line summary. Shipping labels are created automatically when the order is picked.
- An Airtable customer-onboarding row tracks non-EDI customers and the volume of PDF orders received per month, helping prioritize EDI rollout outreach.