Библиотека / Файлы и облачное хранилище
Файлы и облачное хранилище
Sync warehouse stock to GoHighLevel via SFTP, Google Drive, and webhook
On a schedule, it manages files using FTP, Google Drive.
Что делает
## 📦 Stock Sync to GoHighLevel – Three-Trigger Architecture ### How it works This workflow keeps your GoHighLevel product catalogue in sync with your warehouse stock feed using three independent trigger paths. SFTP (scheduled): runs three times a day, lists files in the SFTP /out-box/ directory, picks the latest stock balance XML, parses every item, and updates GHL via the stock-update API. Google Drive (manual): downloads a specific XML from Drive for testing — useful during setup before the SFTP feed is live. Webhook (real-time): receives an XML payload via POST, parses it, and loops through each item to search by product name, then create or update the GHL product record. All three paths use the same GHL LeadConnector API for product lookups and mutations. ### Setup steps 1. Add your SFTP credential to the two SFTP nodes (List Files and Download XML File). 2. Add your Google Drive OAuth2 credential to the Drive download node and set YOUR_DRIVE_FILE_ID for testing. 3. Add your GHL Private Integration Token (YOUR_GHL_API_TOKEN) to the Authorization header in every HTTP node. 4. Replace YOUR_GHL_LOCATION_ID in all HTTP request bodies/URLs. 5. Replace YOUR_GHL_PRODUCTS_OBJECT_ID in the custom object URLs (currently custom_objects.products endpoints). 6. Set your desired schedule in the Cron Trigger node. 7. Activate the Cron Trigger and Webhook trigger.
Шаги
- Cron Trigger
- SFTP List Files
- Filter Stock Files
- Get Latest File
- Download XML File
- Extract Records
- Split Out Items
- Transform Data
- Update Stock via API
- Parse SFTP XML
- Manual Trigger – Google Drive Test
- Search Product by Name
- Parse Drive XML
- Check if Product Exists (Drive)
Всего шагов: 26.
Похожие автоматизации
Автоматизация эл. почтыSync warehouse stock from SFTP to GoHighLevel and iPaper with alertsШагов: 17Файлы и облачное хранилищеSend SAP XML sales orders from GoHighLevel to a warehouse via Make.com SFTPШагов: 9Файлы и облачное хранилищеСкачивание и загрузка файла по FTPШагов: 4Код, Git и инструменты разработчикаЕженедельное резервное копирование конфигурации Zigbee2MQTT на SFTPШагов: 7