Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Finance, Invoices & Accounting

Finance, Invoices & Accounting

Track purchase order delivery status and amount variances with GoHighLevel

When an API call/webhook arrives, it processes financial data.

What it does

## 🚚 Purchasing – Delivery Status & Amount Variance Automation ### How it works When a Purchase Order record is updated in GoHighLevel, a webhook fires and sends the PO's key fields to this workflow. A Set node extracts the relevant data — delivery confirmation date, put-away date, financial billing status, PO amount, and bill invoice amount. A code node then calculates two things: the Delivery Status (Ordered → Goods in Transit → Received → Available For Sale, based on which dates are populated and what the billing status is) and the Amount Variance (bill amount minus PO amount). The calculated values are written back to the GHL Purchase Order custom object. If the variance is greater than zero, an email alert is sent to the finance team via GHL's conversations API — flagging the discrepancy for review before payment. ### Setup steps 1. Set the Webhook production URL as the trigger URL in your GHL workflow or automation (fires on PO record update). 2. Replace YOUR_GHL_API_TOKEN with your GHL Private Integration Token in the two HTTP nodes. 3. Replace YOUR_GHL_LOCATION_ID in the Update GHL Purchase Order node. 4. Replace YOUR_GHL_FINANCE_CONTACT_ID in the Notify Finance node with the GHL contact ID for the finance recipient. 5. Update finance@yourcompany.com in the email body to your finance team's address. 6. Activate the webhook trigger.

The steps

  1. Webhook — PO Updated
  2. Extract Fields
  3. Calculate Delivery Status + Variance
  4. Update GHL Purchase Order
  5. Amount Variance > 0?
  6. Notify Finance — Variance Alert

Similar automations