Sync warehouse stock to GoHighLevel via SFTP, Google Drive, and webhook
Ready for 3.0What this workflow does
This workflow has 26 nodes and runs on a schedule (every day at 08:00) (plus 2 other triggers). Along the way it connects Google Drive. It also calls services.leadconnectorhq.com over HTTP.
How it runs
Trigger: On a schedule (every day at 08:00) (plus 2 other triggers).
- SFTP List Files (FTP): list
- Google Drive: download
- Filter Stock Files (If): checks a condition and branches into true / false
- Parse Drive XML (Code): runs custom JavaScript code
- Get Latest File (Code): runs custom JavaScript code
- Search Product by Name (HTTP Request): calls services.leadconnectorhq.com (POST)
- Download XML File (FTP): uses FTP
- Check if Product Exists (Drive) (Code): runs custom JavaScript code
- Parse SFTP XML (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
…plus 13 more steps. See the full node list below.
Services it uses
Other HighLevel + Google Drive templates (10)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - FTP
n8n-nodes-base.ftp - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Manual Trigger
n8n-nodes-base.manualTrigger - Webhook
n8n-nodes-base.webhook - Google Drive
n8n-nodes-base.googleDrive - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Limit
n8n-nodes-base.limit
From the author
Quick overview This workflow syncs warehouse stock from XML files into GoHighLevel (LeadConnector) products using three entry points: a scheduled SFTP feed, a manual Google Drive test download, and a real-time webhook, creating or updating product records and…