Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Finanzen, Rechnungen & Buchhaltung

Finanzen, Rechnungen & Buchhaltung

Track purchase order delivery status and amount variances with GoHighLevel

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

Was sie bewirkt

## 🚚 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.

Die Schritte

  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

Ähnliche Automatisierungen