# Sync warehouse stock from SFTP to GoHighLevel and iPaper: n8n workflow

> Started by a clock, and works across Email and FTP. 17 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/sync-warehouse-stock-from-sftp-to-gohighlevel-and-ipaper (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# Sync warehouse stock from SFTP to GoHighLevel and iPaper

Started by a clock, and works across Email and FTP. 17 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-warehouse-stock-from-sftp-to-gohighlevel-and-ipaper)

**17 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Logic 8 Service 8

The steps in the order they run, from what starts it.

- 1 **Schedule Trigger (3x Daily)** Schedule trigger *Starts it*
- 2 **FTP - List Stock Files** Ftp *Service*
- 3 **Filter CSV Files Only** Filter *Logic*
- 4 **FTP - Download Stock File** Ftp *Service*
- 5 **Parse CSV Data** Spreadsheet File *Service*
- 6 **Validate and Transform Data** Code *Logic*
- 7 **Build Error Report** Code *Logic*
- 8 **Low Stock Alert Check** Code *Logic*
- 9 **Split Into Batches (50)** Split In Batches *Logic*
- 10 **Has Errors?** If *Logic*
- 11 **Email - Low Stock Alert** Email Send *Service*
- 12 **iPaper - Sync Catalogue** Http Request *Service*
- 13 **GHL - Update Product and Stock** Http Request *Service*
- 14 **Email - Error Notification** Email Send *Service*
- 15 **Build Acknowledgement File** Code *Logic*
- 16 **FTP - Write Acknowledgement** Ftp *Service*
- 17 **Log Completion** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 17, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Email, FTP
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Email and FTP accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-warehouse-stock-from-sftp-to-gohighlevel-and-ipaper)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Email](https://millionrounds.com/workflows?service=Email#library)[FTP](https://millionrounds.com/workflows?service=FTP#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Aggregate error alerts and send consolidated reports** 17 steps · Email, Jira](https://millionrounds.com/workflow/aggregate-error-alerts-and-send-consolidated-reports)
- [**Automated error handling** 17 steps · Email](https://millionrounds.com/workflow/automated-error-handling)
- [**BlueOps Auto CVE & IOC feed ingestor with Google Sheets** 17 steps · Email, Google Sheets](https://millionrounds.com/workflow/blueops-auto-cve-and-ioc-feed-ingestor-with-google-sheets)
- [**Capture vendor status updates with Google Sheets** 17 steps · Email, Google Sheets](https://millionrounds.com/workflow/capture-vendor-status-updates-with-google-sheets)
- [**Daily joke notifier with Cron and HTTP** 17 steps · Email, Slack](https://millionrounds.com/workflow/daily-joke-notifier-with-cron-and-http)
- [**Food menu update notifier with Google Sheets** 17 steps · Email, Google Sheets](https://millionrounds.com/workflow/food-menu-update-notifier-with-google-sheets)
