Skip to content
01

CASE / Client project

Ecommerce / specialist retail · Specialist online retailer (name withheld)

Order, supplier and customer operations on autopilot

Every order is logged, split by supplier, chased and communicated automatically, with customer emails held back whenever the data to support them is missing.

Every hourScheduleConfigSet fieldsWix: Search OrdersWixRead ExistingOrdersGoogle SheetsIf NewIfAppend Order RowGoogle SheetsLog: IntakeGoogle SheetsManual: ForceResyncManual runRead SettingsGoogle SheetsPlan FetchCodeIf RunIfNormalize OrdersCodePrepare LogCodeBuild SummaryCodeLog: Run SummaryGoogle Sheetstruefalsetrue
n8n15 steps

Polls the store every hour, skips orders already on file, normalises new ones into the master order sheet and logs a run summary. A manual trigger forces a full resync.

Rendered from the production workflow export. Labels anonymized; no data, credentials or settings included.

Read all 15 steps
  1. Manual run · Manual: Force Resync
  2. Schedule · Every hour
  3. Set fields · Config
  4. Google Sheets · Read Settings
  5. Code · Plan Fetch
  6. If · If Run
  7. Google Sheets · Read Existing Orders
  8. Wix · Wix: Search Orders
  9. Code · Normalize Orders
  10. If · If New
  11. Google Sheets · Append Order Row
  12. Code · Build Summary
  13. Code · Prepare Log
  14. Google Sheets · Log: Run Summary
  15. Google Sheets · Log: Intake
  • Schedule
  • Wix
  • Google Sheets
  • If
  • Manual run
  • Code
Client
Specialist online retailer (name withheld)
Industry
Ecommerce / specialist retail
Status
Delivered
Stack
n8n, Wix, Google Sheets, Gmail

01 / The problem

  1. 01Orders arrived from the online store and were tracked by hand in a spreadsheet.
  2. 02Several makers fulfil orders, each with its own order numbering and email expectations.
  3. 03Customer updates depended on someone remembering to send them, with the right tracking number.

02 / Goals

  • One master record of every order and every supplier line.
  • Customer and supplier emails drafted automatically, never with invented details.
  • Nothing depends on the freelancer after handover.

03 / The solution

A set of n8n workflows covering intake, reconciliation, customer drafts, supplier follow-ups, a daily digest and central error handling, all feeding one Google Sheets master record.

01

No-fabrication drafting

Tracking numbers are a hard requirement: a draft that needs one is held, not sent. ETAs are soft: the sentence that carries one simply disappears when it is blank.

02

Supplier-native references

Supplier emails use each supplier's own order reference and never re-list orders already sent, because suppliers asked for exactly that.

03

Safe migration

A stale-draft threshold stops historical orders from triggering customer emails when old records are filled in.

04

Tested against real data

Workflow logic is exercised by automated tests that run the production code against real, sheet-shaped fixtures.

04 / The build

The other workflows, step for step.

These are the other production n8n workflows behind this project, redrawn from their real structure. Client names, data, credentials and settings are removed; every step and connection is real.

Every 2 hoursScheduleConfigSet fieldsRead SettingsGoogle SheetsRead OrdersGoogle SheetsRead Activity LogGoogle SheetsBuild DraftsCodeGmail: Create DraftGmailStamp Stage EnteredGoogle SheetsLog: Draft CreatedGoogle SheetsDraft Ready?IfPair DraftCodeHeld?IfLog: Held DraftGoogle SheetsRun NowManual runSend It?IfGmail: Send toCustomerGmailPair SentCodetruefalsetruetruefalse
n8n17 steps

Every two hours, builds customer update emails from the order sheet. A draft that is missing a required fact is held and logged instead of being sent.

Rendered from the production workflow export. Labels anonymized; no data, credentials or settings included.

Read all 17 steps
  1. Schedule · Every 2 hours
  2. Manual run · Run Now
  3. Set fields · Config
  4. Google Sheets · Read Settings
  5. Google Sheets · Read Orders
  6. Google Sheets · Read Activity Log
  7. Code · Build Drafts
  8. If · Draft Ready?
  9. If · Send It?
  10. If · Held?
  11. Gmail · Gmail: Send to Customer
  12. Gmail · Gmail: Create Draft
  13. Google Sheets · Log: Held Draft
  14. Code · Pair Sent
  15. Code · Pair Draft
  16. Google Sheets · Stamp Stage Entered
  17. Google Sheets · Log: Draft Created
  • Schedule
  • Google Sheets
  • Code
  • Gmail
  • If
  • Manual run

05 / Outcome

  • Delivered as 19 n8n workflows covered by 199 automated tests.
  • Live on the client's own n8n workspace since August 2026.
  • Every order and supplier line now lives in one master record instead of a hand-kept spreadsheet, and every customer email is drafted from it.

To walk through the build, press the run button on the workflow at the top of this page and watch one record go through it, step by step.

→ / Next step

Want a system like this one?

Next case studyAI sales agent for marketplace event enquiries
Book a free call