SyncWatch: catching silent failures in ERP to e-commerce syncs
On the demo data, the workflow reported 197 successful runs with zero errors. The data disagreed. SyncWatch shows where, why, and the exact change that fixes it.
Portfolio project on a fictional Dubai retailer. Every figure below comes from the demo dataset, not a live business. The same four classes of fault were found in a real production review of a Dynamics 365 to Shopify integration.

Overview
Most ERP to e-commerce integrations fail quietly: every run is green while the store shows old prices and orders never reach finance. SyncWatch watches the outcome instead of the run log.
Problem
A Dynamics 365 F&O to Shopify sync built in n8n went live and reported success on every run, yet products were missing, prices were wrong and orders were never written back.
Role & ownership
I designed and built it alone: replay engine, reconciliation, workflow audit, file import, investigation agent, interface and the importable n8n monitor.
What it found
| # | What the data shows | Root cause |
|---|---|---|
| 1 | 18 ERP products never reached the store | A Limit node set to 50, left in from testing |
| 2 | 73 products with the wrong price or stock | The ERP query filters on creation date with a fixed date, so edits are never fetched |
| 3 | 171 Shopify orders with no ERP sales order | No write-back step |
| 4 | An ERP access token stored in plain text | Token in an HTTP header instead of n8n’s credential store |
Workflow
- Replay every scheduled run since go-live.
- Reconcile both systems record by record.
- Audit the exported n8n workflow file.
- Link each data incident to the workflow setting that causes it.
- Approve a fix; SyncWatch replays and reconciles again, and logs the approval.
Implementation
- Two kinds of finding: data incidents proven by comparison, and workflow risks from auditing the file.
- Fixes are replayed, not assumed.
- Investigation agent with four read-only tools; customer data reaches it only inside tool results, treated as data.
- Daily n8n monitor that pages through every ERP and Shopify product and emails the team when they differ.
- Imports real Dynamics 365 and Shopify exports.
Tech stack
JavaScript, Node.js (no dependencies), n8n, LLM tool calling, node:test.
Results
On the demo data: 91 product discrepancies (18 missing from the store plus 73 with the wrong price or stock), 171 orders with no ERP sales order, and one exposed token. Four silent failures in total, each with evidence, root cause and fix. 26 automated tests cover replay, detectors, the workflow audit, real exports, secret handling and the n8n monitor.