Relay
Two-way CRM-to-spreadsheet sync engineResult: The CRM and the spreadsheet stay in sync in both directions, and a stale edit is flagged and logged instead of overwriting newer data.
A two-way CRM-to-spreadsheet sync built for messy real data: updates in both directions, conflict detection for out-of-order edits, and failures that surface instead of disappearing.
- My role
- Built both sync directions in n8n, the conflict detection, and the failure logging.
- Built with
- GoHighLevel, n8n, Webhooks, Google Sheets
- Status
- Built and running
- 2-wayCRM and spreadsheet updates in both directions
- Conflicts caughtolder edits flagged and logged, never written
- Failures surfacedlogged before bad data spreads downstream
Before
The problem
Contacts lived in two systems with no sync, so every addition was re-entered by hand. Inconsistent real-world data broke simple sync attempts, so the fix had to survive messy input.
The system
How the pieces connect
- GoHighLevelContact or status change
- n8nWebhook, both directions
- n8nConflict check
- Google SheetsRow written back
- Failure logSurfaced, not silent
Proof
The real build
Step by step
How it works
- 1A new CRM contact creates a matching spreadsheet row automatically.
- 2Unsynced sheet rows go the other way, creating or updating the CRM contact.
- 3Status changes sync through dedicated logic per state, not one catch-all update.
- 4An update older than the record's last edit is flagged and logged, never written over newer data.
- 5Failures are logged where someone will see them, before bad data spreads downstream.
SIM: a simplified illustration of how the system behaves, with invented data. Not a capture of the real build.
After
What changed
Stack
For technical readers
Technical detail
The problem, in detail
Build notes
A two-way sync between a CRM and a spreadsheet, built to handle production-messy data in both directions.