Send SAP XML sales orders from GoHighLevel to a warehouse via Make.com SFTP
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls hook.eu1.make.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Fetch Opportunity from GHL (HTTP Request): calls an HTTP API
- Fetch Related Records from GHL (HTTP Request): calls an HTTP API
- Split Out: splits a list into separate items
- Filter: keeps only the items that match a condition
- Fetch Product Record Details (HTTP Request): calls an HTTP API
- Build SAP XML Sales Order (Code): runs custom JavaScript code
- Convert XML to Binary (Convert to File): converts data to a file (to text)
- POST XML to Make.com SFTP Webhook (HTTP Request): calls hook.eu1.make.com (POST)
HTTP calls to: hook.eu1.make.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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - Convert to File
n8n-nodes-base.convertToFile
From the author
Quick overview This workflow receives GoHighLevel (LeadConnector) opportunity webhooks, pulls the opportunity’s related product records via the LeadConnector API, builds an SAP-style sales order XML file with product SAP codes and quantities, and sends the…