Skip to content
TeamElGhazi
ENChange language
Make a request
Update by ID

Update a Google Sheets row by its ID with n8n

The tools

The same case three times in the spreadsheet? Never again.

In briefWith this TeamElGhazi n8n template, updating a Google Sheets row by its ID ensures that a case appears only once in your tracking sheet. Each time its status changes (request, quote, payment, closure), the system finds its row by its ID and updates it, or creates it if it is missing. Your teams read a sheet with no duplicates.

Google4,8out of 5 · 11 Google reviews

In practice

Result
A tracking sheet with no duplicates, where every case has an up-to-date status
Trigger
A submission from one of your tools, each row with its number
Tools
n8n, Google Sheets, any application that sends a web request
Workflow size
5 blocks, no code block
Level
Beginner in n8n
Set-up by TeamElGhazi
On quotation
Le problème

Three rows for the same case: which one do you trust?

Reliable tracking across the whole organisation. Without an ID, every update adds a row: the same client appears three times, with three contradictory statuses, and nobody knows which to trust.

An example: the after-sales service of a household appliance retailer opens a ticket for each reported fault. The ticket receives a number on arrival; the technician's visit, the part ordered, the repair: each step updates the same row, and the client hears the same answer whoever picks up the phone.

Le flux

Un dossier, une seule ligne, du début à la fin

  1. 01
    Des lignes avec leur IDLa requête protégée apporte une ou plusieurs lignes, chacune avec son identifiant.
  2. 02
    Une par uneLes lignes sont traitées séparément.
  3. 03
    Trouvée ou crééeL’ID est cherché dans l’onglet : la ligne est mise à jour, ou ajoutée si elle manque.
  4. 04
    La réponseLe nombre de lignes traitées revient à l’outil appelant.
Le même dossier, deux tableaux

Trois lignes contre une

Sans identifiant, chaque étape ajoute une ligne. Avec lui, le flux retrouve la ligne et la change.
Exemple
TicketSAV-2026-0412panne signalée le 18/11

Sans identifiant

  • 18/11 · Panne signalée
  • 19/11 · Technicien passé
  • 20/11 · Réparé ? En attente de pièce ?

Avec l'identifiant

  • SAV-2026-0412
  • État : réparé
  • Mis à jour le 21/11 à 10:12
Colonne cherchée
ID
Trouvée
la ligne change
Absente
la ligne est ajoutée

Nœud « Ajouter ou mettre a jour » du vrai flux : une seule ligne par numéro.

Avant de l'installer

The numbering rule comes first

n8n, a Google Sheets spreadsheet whose first row holds the headings and an ID column, and tools able to send a web request: website, business software, booking application, AI agent.

What matters most is not the tool but the numbering rule: a unique ID, assigned once, never reused.

Who changes the status of a case?

You define the possible statuses of a case and who may change them. The workflow applies; it does not decide. A sensitive step, such as “paid” or “cancelled”, can require human approval before anything is written.

When the ID goes wrong

  • A badly formed or reused ID overwrites the wrong case: numbering must be generated by the system, never typed by hand
  • Two updates to the same case at the same moment: the last one wins
  • A column heading changed in the spreadsheet prevents writing to that column
  • Beyond a few thousand active cases, a database becomes preferable
Chez nous

Un dossier,
une ligne, chez nous aussi.

Chaque dossier de notre suivi garde une seule ligne, de la demande à la clôture.
For
TeamElGhazi (in-house project)
What was done
This template runs here first: each case keeps a single row, from request to closure.
When
Since October 2026
Other templates

Other workflows
ready to plug in.

Each template has its page, its diagram and its installation request.
  • 01

    Read and write a range

    Your website reads the spreadsheet. Nobody opens it.

    Result
    A spreadsheet that your applications can read and edit, under control
    Trigger
    A request from one of your tools: which spreadsheet, which area
    Tools
    n8n, Google Sheets API, any application that sends a web request
  • 02

    Create a tab

    On the first of the month, the month's tab is already there.

    Result
    A tab created at the right time, with the right name
    Trigger
    A request sent from one of your tools, or a date
    Tools
    n8n, Google Sheets
  • 03

    Add a row

    Three entry points, one sheet, no retyping.

    Problem
    A tracking sheet filled in by hand, always behind
    Trigger
    A submission from one of your tools: form, website or AI agent
    Result
    Rows added to the chosen tab, and their number returned in the response
  • 04

    Posting log

    Four networks, one register, one row per post.

    Result
    A single, dated register of social media activity
    Trigger
    A web request sent by each tool after an action
    Output
    One row per action, in ten columns
  • 05

    PDF guide for an email

    A useful guide in exchange for an address. Nothing more, nothing hidden.

    Problem
    A guide distributed without knowing who reads it
    Trigger
    Submission of the form on the guide page
    Result
    A row in the prospect table and immediate access to the PDF
  • 06

    B2B email prospecting with n8n and Google Sheets: one list

    A few emails a day, a single follow-up, and a “STOP” that is respected.

    Problem
    Sends, follow-ups and unsubscribes tracked by hand
    Triggers
    Working days, in the morning (sending, follow-up)
    Result
    One row per organisation, a status that moves forward
Frequently asked questions

Your questions
about automation.

4 answers

Can several cases be updated at once?

Yes: the request carries a list of rows, each with its ID. The workflow processes them one after the other.

What happens if the ID does not exist yet?

The row is created. This is by design: the same call serves for both creation and updates.

Can the history of status changes be kept?

Yes, by adding a dated row in parallel in a log tab. The main sheet shows the current status, the log shows the path taken.

Does this template replace a CRM?

No. It is suitable as long as tracking fits in a spreadsheet. Beyond that, we link the same logic to a real CRM.

Your request

Your request
comes in here.

in 100 languages
01 · Make a request
Your request
You
At least one of the two: email or phone.
Sending

Your data is used only to reply to you (Law 09-08, GDPR). Privacy
02 · Meeting30 min

Individuals, institutions, companies: you choose your slot online. A first 30-minute conversation for a project, or your lesson hours.

Choose a slot
03 · A call, an e-mail06 60 66 59 52

Call us, or write to contact@teamelghazi.com

Service delivered in
  • 100 languages
From Casablanca: on site in Morocco, remotely everywhere.
Make a requestMeeting