FREE GUIDE STEP-BY-STEP ~15 MIN BUILD ZERO CODE

Your First n8n Workflow

Build a real, working automation in 15 minutes — free, visual, click by click

By the time you finish this guide, you will have a working n8n workflow that automatically collects data, processes it, and sends you a notification. Fifteen minutes. Zero code.

Before We Start

  • An n8n account (Cloud or self-hosted) — get one here
  • A Gmail or Google account
  • 10-15 minutes of focused time
  • Coding skills — NOT needed
FREE TO BUILD

n8n Cloud: 14-day free trial, then $24/month. Self-hosted: FREE FOREVER.

Everything in this guide works on both Cloud and self-hosted. No paid features required.

What We Are Building

What This Is

We are building a Lead Capture Workflow. Here is what it does:

1. Someone submits a form on your website (we will use a webhook as the trigger)
2. n8n logs their info in a Google Sheet
3. n8n sends you an email notification

This is one of the most useful workflows in business. Every time someone fills out a contact form, signs up for a newsletter, or requests a quote, you get a tidy spreadsheet row and an instant heads-up in your inbox.

The flow looks like this:

Webhook (receives data) → Google Sheets (logs it) → Gmail (notifies you)

Build It: Step by Step

Step 1 of 7

Create a New Workflow

1

Open n8n and click "Add Workflow"

You will see a blank canvas. Click the workflow name at the top and rename it to "Lead Capture".

What you will see: A blank canvas with a "+" button in the center.
Step 2 of 7

Add the Webhook Trigger

2

Click the "+" and search for "Webhook"

Select Webhook. This creates a URL that can receive data from any form, website, or app. Leave the default settings (POST method, JSON response). Click the node to see the settings.

What you will see: A webhook node with a test URL and a production URL.

Pro Tip: Copy the Test URL — you will use it in Step 6 to test the workflow. The Production URL is used after you activate the workflow.

Step 3 of 7

Add Google Sheets

3

Click the "+" on the webhook node and search for "Google Sheets"

Select Google Sheets → Append Row. Connect your Google account when asked. Then:

  • Pick (or create) a spreadsheet called "Leads"
  • Pick the first sheet
  • Map the columns: Name = {{$json.name}}, Email = {{$json.email}}, Message = {{$json.message}}
YOUR SPREADSHEET SETUP
Create a Google Sheet called "Leads" with these column headers in row 1: Column A: Name Column B: Email Column C: Message Column D: Date
Step 4 of 7

Add Gmail Notification

4

Click the "+" on the Google Sheets node and search for "Gmail"

Select Gmail → Send Email. Connect your Gmail account. Then fill in:

  • To: your email address
  • Subject: New lead: {{$json.name}}
  • Body: (see below)
COPY-PASTE: EMAIL BODY
New lead just came in! Name: {{$json.name}} Email: {{$json.email}} Message: {{$json.message}} Logged to your Leads spreadsheet automatically.
Step 5 of 7

Test with Sample Data

5

Click "Listen for test event" on the Webhook node

The webhook starts listening. Now open a new browser tab and send a test request. You can use this command in your terminal, or use any API testing tool:

COPY-PASTE: TEST COMMAND
curl -X POST YOUR_TEST_URL_HERE \ -H "Content-Type: application/json" \ -d '{"name": "Jane Smith", "email": "jane@example.com", "message": "I want to learn more about your services"}'
What this does: Sends fake form data to your webhook. Replace YOUR_TEST_URL_HERE with the test URL from Step 2.

No terminal? Use reqbin.com — a free online tool. Paste your test URL, set method to POST, add the JSON body, and click Send.

Step 6 of 7

Check Your Results

6

Go back to n8n and check each node

Click the Webhook node — you should see the test data. Click Google Sheets — you should see the row was added. Click Gmail — you should see the email was sent. Green checkmarks on every node means success.

Check your Google Sheet — the new row should be there. Check your inbox — the notification email should be there. That is a working workflow.
Step 7 of 7

Activate It

7

Toggle the workflow to "Active"

Click the toggle in the top right corner. It switches from "Inactive" to "Active." Your workflow is now live. The Production URL is what you put in your actual website form.

Important: The Test URL only works when you click "Listen for test event." The Production URL works 24/7 once the workflow is active. Use the Production URL in your real website forms.

Make It Better: 5 Quick Upgrades

Your workflow works. Now make it smarter:

  1. Add a timestamp. In the Google Sheets node, add a Date column and set it to {{$now.format('yyyy-MM-dd HH:mm')}}
  2. Add Slack notification. Add a Slack node after Gmail to also ping your team channel.
  3. Add email validation. Add an IF node before Google Sheets that checks if the email field contains "@".
  4. Add auto-reply. Add another Gmail node that sends a "Thanks for reaching out!" email back to the lead.
  5. Add to CRM. Add a HubSpot or Notion node to create a contact record automatically.

Action Step: Pick one upgrade from this list and add it to your workflow right now. It should take less than 5 minutes.

Troubleshooting

ProblemFix
"No data" on the WebhookMake sure you clicked "Listen for test event" BEFORE sending the test request. The webhook needs to be listening.
Google Sheets node failsCheck that your column headers in the spreadsheet match exactly what you mapped in n8n. Case matters.
Gmail node failsReconnect your Gmail credentials. Go to Settings → Credentials → Gmail and reconnect.
Workflow does not run after activationUse the Production URL (not the Test URL) in your website form. The Test URL only works during testing.
Data shows up garbledMake sure the request sends JSON with Content-Type: application/json. If using a form, set the encoding to JSON.
What's Next

What to Do Next

Our recommendation: We use Claude AI for our own business and recommend it to everyone we work with. You can connect Claude to n8n workflows for AI-powered automation. Try Claude.

claude.ai (web)  ·  iPhone app  ·  Android app

Ready for More?

Join thousands of people who use CreatorHQ to automate their work.

Explore CreatorHQ