1. Watch the inbox. The flow monitors a shared email address or inbox folder for messages with PDF attachments from your suppliers or freight partners. New attachment lands, the flow starts.
2. Extract the packing list fields. AI parses each PDF and pulls the line items: SKU, description, quantity, unit of measure, PO number, and any lot or batch codes on the document. Works on scanned PDFs, formatted PDFs, and the multi-page ones with tables that span pages.
3. Standardize the SKU. Map vendor item numbers to your internal SKU codes using a reference table. The vendor calls it something different from what NetSuite expects. This step handles that.
4. Pull open POs from NetSuite. The flow queries your ERP for open purchase orders that match the supplier and expected delivery window.
5. Match lines to POs. Join each packing list line to the correct PO by PO number, SKU, and expected quantity. Flag any line that doesn't match: wrong quantity, unrecognized SKU, or no open PO found.
6. Route exceptions for review. Lines that match cleanly queue for automatic receipt creation. Lines with discrepancies go to a review queue with the mismatch reason so receiving staff can resolve before posting.
7. Write receipts to NetSuite. Confirmed lines create the item receipt record in NetSuite directly. No re-keying. No copy-paste from a PDF to a screen.