Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Документы, PDF и OCR

Документы, PDF и OCR

Parse invoice XML files and update sales opportunities in GoHighLevel

When an API call/webhook arrives, it reads and extracts data from documents.

Что делает

## 🧾 Parse Invoice File from Warehouse – Webhook Test Pipeline ### How it works This is the webhook intake and XML parsing sub-workflow for the warehouse invoice sync. Your warehouse ERP or middleware POSTs a binary XML invoice file to the webhook endpoint. The file is decoded from binary, the raw XML is set as a field, then converted to a structured JSON object. The loop then iterates over each invoice in the payload, searches GoHighLevel for the matching opportunity by order reference, and updates the opportunity with the invoiced amount, pipeline stage, and custom field values. This workflow covers the webhook + manual test path only — the main invoice processing logic (header extraction, line matching, missed sale creation) lives in the primary Parse Invoice workflow. ### Setup steps 1. Point your warehouse ERP or Make.com scenario to the Webhook production URL. 2. Replace YOUR_GHL_API_TOKEN in both HTTP nodes with your GHL Private Integration Token. 3. Replace YOUR_GHL_LOCATION_ID, YOUR_GHL_PIPELINE_ID, YOUR_GHL_PIPELINE_STAGE_ID, and the three custom field IDs in the Update node. 4. Test by sending a sample XML payload to the webhook URL. 5. Activate the webhook trigger.

Шаги

  1. Webhook - Receive Invoice File1
  2. Extract XML from Binary1
  3. Set Raw XML Field1
  4. Loop Over Invoices1
  5. Search GHL Opportunity by Order Ref (Test)1
  6. Update GHL Opportunity with Invoice Data (Test)1
  7. Convert XML Binary to JSON1

Похожие автоматизации