Internal project · CRM & automation

Gmail and CRM, synchronised through checks in n8n

A prepared message is not a sent message. And a response from an integration is not enough to update CRM correctly. For SIMION SYSTEMS' internal processes, we built an n8n system that checks each stage before treating it as complete.

n8nGmail APIGoogle SheetsValidation and traceability

The problem: information can change between preparation and execution

A contact may already have a message in their history. A colleague may change the CRM row. A reply or a non-delivery notification may arrive after the list has been prepared. If automation relies only on the initial snapshot, it risks performing an action that is no longer appropriate.

The objective was to build a process with checks before sending and confirmations before changing the CRM status.

Two components, with clear responsibilities

The coordinatorPrepares the next contact, requests a check without sending, manages the processing reservation and waits for the execution workflow's result.
The single-contact workflowChecks current Gmail and CRM data, performs the eligible action, reads the message back and confirms the CRM update.

This separation makes it possible to trace an action from its input data to the returned result. The confirmation counter advances after synchronisation is verified.

Real n8n detail: preparing an attempt, calling the sub-workflow for one contact, recording its result and advancing the counter.
01 · The coordinator waits for the sub-workflow resultThe call to the single-contact workflow is configured to wait for completion. Its returned result is recorded before the counter advances.

What is checked before sending

In verification mode, the process can evaluate the contact without sending a message. Ineligible contacts are skipped with an explicit reason.

Sending must be confirmed by reading the message back

After the send request, the workflow reads the message back from Gmail. The code compares the message and thread identifiers with the response, then checks the sender, recipient, subject, content and SENT label.

If the exact check fails, the workflow is configured to stop without automatically resending at that step. SENT confirmation establishes that the message exists in Sent; it does not prove Inbox delivery or that it was read.

n8n nodes for sending the message, reading it back, confirming Gmail SENT and reading CRM again.
02 · Confirming the message in GmailAfter sending, the message is read back from Gmail. The code checks message identity, sender, recipient, subject, content and the SENT label before continuing.

CRM is also checked after the update

Before writing, CRM is read again. If the row has changed after message confirmation, the code stops the update to preserve the human intervention. The data must be reconciled without sending again.

The write changes only the values needed for the date, status, next step and history. A final readback checks expected values, fields that should remain unchanged, formatting and validation rules. Only then is the result marked as sending and CRM confirmed.

n8n nodes that confirm Gmail SENT, read CRM, prepare and apply the update, then read CRM again and confirm synchronisation.
03 · The CRM update is followed by a readbackCRM is read again before writing. The update is limited to the required values, then the row is read back to check values, formatting and validation rules.

What this project demonstrates

The deliverable is an internal system implemented in n8n, with Gmail–Google Sheets integration, eligibility checks, separate coordination and execution, and explicit stage confirmation.

Its technical value lies in how it handles changing data and uncertain results. The process preserves the distinction between prepared, checked, sent and synchronised.

Evidence boundary: this study documents the inspected configuration and code, together with real editor screenshots. It does not report processed volumes, time savings or measured commercial outcomes.

Does your process span several applications? SIMION SYSTEMS can analyse its steps and build the integrations and checks your system needs.

YOUR NEXT PROJECT

What would you like to build?

Tell me what you want to launch or improve. We’ll work out the right place to start.