Hi everyone,
I’m new to n8n and just finished my first real project, so I turned it into a
beginner-friendly repo in case it helps other people learning.
What it does
A visitor submits an HTML form → n8n receives it through a Webhook → the
Google Sheets node appends a new row → the sender gets a JSON success response.
Flow: Webhook → Google Sheets (Append Row) → Respond to Webhook
What’s in the repo
- Import-ready workflow JSON (personal IDs removed)
- A sample
form.htmlto test with - A step-by-step README with the Google Sheet headers and expressions used
Mistakes I ran into (hopefully saves you some time) - Test URL (/webhook-test/) only works while “Listen for test event” is active.
The Production URL (/webhook/) only works when the workflow is Active. - Webhook data arrives under
body, so the expression is
{{ $json.body.name }}, not{{ $json.name }}. - Spaces in the webhook path cause trouble. Use something like
form-submit. - Column headers in the sheet must match the mapping exactly, or cells stay empty.
- The webhook URL is public, so don’t share your real one. Consider Header Auth.
Repo: GitHub - codewithghani/n8n-webhook-form-to-google-sheets: Beginner n8n workflow: receive HTML form submissions via webhook and save them to Google Sheets. · GitHub
Feedback is welcome, especially on how to add spam protection and validation
to a public form. Thanks!
