Skip to content
Free flowProductivityEasy setupAbout 25 min to set upMessages in English · Arabic

Webhook to Google Sheets

Turn any form, app or system that can send a webhook into a clean, de-duplicated row in your Google Sheet.

What can you use this flow for?

  • Save form submissions, event notifications or simple CRM leads in a spreadsheet.
  • Collect structured information from another system without manually copying rows.

What you need before starting

  • An HTTPS n8n instance and a backend that can send JSON webhooks.
  • A Google service account with Sheets API access, and a sheet shared with its email as Editor.
  • A secret Header Auth token; the destination sheet/tab must be created.

How to set it up

  1. Get the free package and import workflow.json into n8n.
  2. Create the Google Sheets and Header Auth credentials.
  3. Set spreadsheetId, sheetName, fields and requiredFields in Configuration.
  4. POST the included example to the webhook, then confirm the row and deduplication behavior in Google Sheets.

Configure an explicit ordered field list; this flow does not copy arbitrary unknown payload fields.

The package includes detailed installation, configuration and troubleshooting guides.

Works with

  • Google Sheets
  • Webhook

Requirements

  • Google service account (JSON key)
  • Webhook token (Header Auth)

You connect your own accounts inside your n8n. Jervis never sees or stores your credentials.

Settings you'll fill in

Spreadsheet
The spreadsheet's URL or id. Share it with the service account email as Editor.
Sheet (tab) name
The tab that receives rows. It must exist; when it is empty, the flow writes the header row itself.
Fields to store
Comma-separated payload fields, in column order. Other fields are ignored.
Required fields (optional)
Comma-separated fields that must not be empty. Leave empty to accept partial payloads.

Supported runtime

n8n >=1.90.0 <3.0.0

Jervis Runtime support for catalog flows is planned.

Documentation

Installation, configuration, troubleshooting and architecture guides are included in the package.

What's new in 1.0.0

Released October 7, 2026

Added

• Webhook intake protected by a Header Auth token.

• Configurable field list and required fields; values stored as text with control characters removed and a

• 5000-character limit.

• Header row written automatically; new fields become new columns.

• Duplicate protection through the Idempotency-Key header or an eventId field.

• Retries (3 attempts, 3 s apart) on every Google Sheets call.

• JSON responses for the sender: 200 stored, 200 duplicate, 400 with field errors.

• Import-tested in a clean n8n 2.42.3 against a fake Google Sheets API.