Библиотека / Автоматизация эл. почты
Автоматизация эл. почты
Sync warehouse stock from SFTP to GoHighLevel and iPaper with alerts
On a schedule, it handles email using SMTP Email, FTP.
Что делает
## 🏭 Warehouse Automation Hub – FTP Stock Sync to GHL & iPaper ### How it works Three times a day, the workflow connects to the warehouse SFTP server, lists the /outbound/stock/ directory, and downloads the latest CSV file. The CSV is parsed and each row is validated and transformed — checking required fields, normalising numeric types, and flagging any item with stock ≤ 10 as a low-stock alert. Valid products are split into batches of 50 and synced in parallel to two systems: GoHighLevel (product + stock update) and iPaper (catalogue sync). After all batches are processed, an acknowledgement CSV is written back to the SFTP server at /inbound/acknowledgements/. If low-stock items were found, an alert email goes out. If any rows failed validation, an error report email is sent. The run is logged to execution custom data throughout. ### Setup steps 1. Add your SFTP credential to all three FTP nodes. 2. Set the following environment variables in your n8n instance: IPAPER_API_URL, GHL_BASE_URL, and NOTIFY_FROM_EMAIL. 3. Update the recipient email addresses in Email - Low Stock Alert and Email - Error Notification. 4. Add authentication headers to the GHL - Update Product and Stock and iPaper - Sync Catalogue HTTP nodes (GHL Bearer token, iPaper API key). 5. Confirm the SFTP paths /outbound/stock/ and /inbound/acknowledgements/ match your warehouse server layout. 6. Activate the schedule trigger.
Шаги
- Email - Error Notification
- Has Errors?
- Build Error Report
- Email - Low Stock Alert
- Low Stock Alert Check
- Log Completion
- FTP - Write Acknowledgement
- Build Acknowledgement File
- iPaper - Sync Catalogue
- GHL - Update Product and Stock
- Split Into Batches (50)
- Validate and Transform Data
- Parse CSV Data
- FTP - Download Stock File
Всего шагов: 17.
Похожие автоматизации
Файлы и облачное хранилищеSync warehouse stock to GoHighLevel via SFTP, Google Drive, and webhookШагов: 26Файлы и облачное хранилищеSend SAP XML sales orders from GoHighLevel to a warehouse via Make.com SFTPШагов: 9Файлы и облачное хранилищеСкачивание и загрузка файла по FTPШагов: 4Код, Git и инструменты разработчикаЕженедельное резервное копирование конфигурации Zigbee2MQTT на SFTPШагов: 7