Templates / Parse invoice XML files and update sales opportunities in GoHighLevel

Parse invoice XML files and update sales opportunities in GoHighLevel

Ready for 3.0

by Rahul Joshi ✓ · 4 views · created 2026-09-01 · Invoice Processing

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls services.leadconnectorhq.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Extract XML from Binary (Extract from File): extracts data from a file (xml)
  2. Set Raw XML Field (Edit Fields (Set)): sets 1 field: xmlData
  3. Convert XML Binary to JSON (XML): converts between XML and JSON
  4. Loop Over Invoices (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Search GHL Opportunity by Order Ref (Test) (HTTP Request): calls services.leadconnectorhq.com (POST)
  6. Update GHL Opportunity with Invoice Data (Test) (HTTP Request): calls an HTTP API (PUT)

HTTP calls to: services.leadconnectorhq.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick overview This workflow receives a posted invoice XML file via webhook, parses it into JSON, and for each invoice searches and updates a matching GoHighLevel (LeadConnector) opportunity with invoiced amount, pipeline stage, and custom field values. How…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.