<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bilal Saleh's Blog]]></title><description><![CDATA[Bilal Saleh's Blog]]></description><link>https://bilalflowmind.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 21:55:59 GMT</lastBuildDate><atom:link href="https://bilalflowmind.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to auto-alert yourself about every new lead with n8n (free workflow)]]></title><description><![CDATA[If a lead fills your form at 9pm and you only see the email at 11am, they've often already booked someone else. Email alerts are easy to ignore. A WhatsApp…]]></description><link>https://bilalflowmind.hashnode.dev/how-to-auto-alert-yourself-about-every-new-lead-with-n8n-free-workflow</link><guid isPermaLink="true">https://bilalflowmind.hashnode.dev/how-to-auto-alert-yourself-about-every-new-lead-with-n8n-free-workflow</guid><category><![CDATA[No Code]]></category><category><![CDATA[n8n]]></category><category><![CDATA[automation]]></category><category><![CDATA[Small business]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Bilal Saleh]]></dc:creator><pubDate>Thu, 26 Nov 2026 12:41:01 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b082826575ddf024f337c52/70319655-2c39-427d-bb01-bdfc95136d33.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If a lead fills your form at 9pm and you only see the email at 11am, they've often already booked someone else.</p>
<p>Email alerts are easy to ignore. A WhatsApp ping on your phone isn't. This tutorial walks through a free n8n workflow that:</p>
<ol>
<li>Receives a website form submission via webhook</li>
<li>Validates it (real email <strong>or</strong> a phone with 8+ digits)</li>
<li>Saves the lead to Google Sheets</li>
<li>Alerts <strong>you</strong> by email and WhatsApp within seconds</li>
<li>Auto-replies to the lead if they left an email</li>
<li>Returns a clean JSON response the form can show as success/error</li>
</ol>
<p>No custom code. Built-in n8n nodes only. Works on n8n Cloud and the free self-hosted Community Edition.</p>
<h2>What you'll need</h2>
<ul>
<li>An n8n account (Cloud or self-hosted)</li>
<li>A Google account (for Sheets + Gmail)</li>
<li>Optional: a Twilio account if you want WhatsApp/SMS alerts (email-only works without it)</li>
<li>A website form you can point at a webhook URL (WordPress, Webflow, Framer, or plain HTML)</li>
</ul>
<h2>Step 1 — Get the workflow JSON</h2>
<p>Download the free "Lead Capture Lite" pack (workflow JSON + HTML form example + sheet headers):</p>
<p>👉 <a href="https://pebble71.gumroad.com/l/free-n8n-lead-capture">https://pebble71.gumroad.com/l/free-n8n-lead-capture</a></p>
<p>Or grab the JSON straight from the public gist: <a href="https://gist.github.com/konvff/74439ec1f076fbc509c91b3b79e59dd5">https://gist.github.com/konvff/74439ec1f076fbc509c91b3b79e59dd5</a></p>
<h2>Step 2 — Import into n8n</h2>
<ol>
<li>Open n8n → <strong>New workflow</strong></li>
<li>Click <strong>⋯ → Import from File…</strong></li>
<li>Choose <code>02-website-lead-capture-alerts.json</code></li>
<li>You should see about a dozen nodes, including sticky notes that explain the setup on the canvas itself</li>
</ol>
<h2>Step 3 — Connect credentials</h2>
<p>Click each of these nodes and connect (or create) credentials:</p>
<table>
<thead>
<tr>
<th>Node</th>
<th>Credential</th>
</tr>
</thead>
<tbody><tr>
<td>Save Lead to Sheet</td>
<td>Google Sheets OAuth</td>
</tr>
<tr>
<td>Email Alert to You</td>
<td>Gmail OAuth</td>
</tr>
<tr>
<td>Auto-Reply to Lead</td>
<td>Gmail OAuth (same account is fine)</td>
</tr>
<tr>
<td>WhatsApp Alert to You</td>
<td>Twilio API (optional)</td>
</tr>
</tbody></table>
<p>If you're skipping WhatsApp for now, disable the Twilio node or set it to <em>Continue On Fail</em> so a missing credential doesn't stop the rest of the run.</p>
<h2>Step 4 — Edit the Settings box</h2>
<p>Open <strong>⚙️ Settings + Clean Lead</strong>. This is the only place you should need to type your business details:</p>
<ul>
<li>Business name (used in the auto-reply)</li>
<li>Your alert email</li>
<li>Your WhatsApp number in international format, e.g. <code>+923001234567</code></li>
<li>Twilio WhatsApp sender (if using Twilio)</li>
</ul>
<p>The same node also normalises the incoming payload. It accepts <code>name</code> or <code>full_name</code>, <code>phone</code> or <code>whatsapp</code>, lowercases the email, and strips junk characters from the phone. That means one workflow works with slightly different forms without rewriting expressions everywhere.</p>
<h2>Step 5 — Create the Google Sheet</h2>
<p>Make a sheet with a tab named <code>Leads</code> and this header row:</p>
<pre><code class="language-plaintext">date,name,email,phone,service,message,source
</code></pre>
<p>Copy the sheet URL into the <strong>Save Lead to Sheet</strong> node (document field). Map columns to the cleaned fields from the Settings node — not from the webhook directly, because the Sheets node output replaces your original fields later in the flow.</p>
<h2>Step 6 — Activate and wire the form</h2>
<ol>
<li><strong>Activate</strong> the workflow</li>
<li>Open the <strong>Lead Form Webhook</strong> node and copy the <strong>Production URL</strong></li>
<li>Point your form at that URL</li>
</ol>
<p>For a plain HTML site, the free pack includes <code>lead-form-example.html</code> that posts JSON with <code>fetch()</code>. Two gotchas:</p>
<ul>
<li>Set <code>allowedOrigins</code> on the webhook if the form lives on a different domain, or the browser will block the request (CORS).</li>
<li>Use the Production URL after activating. The Test URL only works while you're listening in the editor.</li>
</ul>
<h2>Step 7 — Test the unhappy paths</h2>
<p>Don't only test a perfect submission.</p>
<ol>
<li>Submit with neither email nor phone → you should get a 400-style JSON error and nothing written to the sheet</li>
<li>Submit with email only → sheet row + email alert + auto-reply (WhatsApp alert may no-op if disabled)</li>
<li>Submit with phone only → sheet row + alerts, no auto-reply email</li>
</ol>
<p>If WhatsApp isn't arriving: Twilio's sandbox only delivers to numbers that have already texted the join code. Test with your own phone first.</p>
<h2>Why validate before you save</h2>
<p>A lot of "form → sheet" templates happily log empty or spam submissions. That pollutes your CRM-ish sheet and trains you to ignore it. The <strong>Valid Lead?</strong> IF node in this workflow requires a plausible email <strong>or</strong> a long-enough phone before anything is written. Invalid hits get a <code>Respond Invalid</code> JSON payload so your form UI can show an error instead of a fake success.</p>
<h2>Where this fits in a bigger stack</h2>
<p>Lead alerts alone won't run a business. The same pattern — webhook or trigger → validate → log → notify → optional customer message — is what you reuse for appointment reminders, review requests, and invoice chasers.</p>
<p>If you want those next five as ready-made templates (plus an 11-page setup guide), they're in the Small Business Automation Pack:</p>
<p>👉 <a href="https://pebble71.gumroad.com/l/small-business-n8n-pack">https://pebble71.gumroad.com/l/small-business-n8n-pack</a><br />($19+ PWYW; code <strong>LAUNCH50</strong> takes 50% off for the first 50 buyers)</p>
<h2>Recap</h2>
<ul>
<li>Import the free JSON</li>
<li>Connect Google (and Twilio if you want WhatsApp)</li>
<li>Fill one Settings node</li>
<li>Create a <code>Leads</code> sheet</li>
<li>Activate, paste the Production webhook into your form</li>
<li>Test valid and invalid submissions</li>
</ul>
<p>You should feel the first ping on your phone the next time someone fills the form — including after hours. That's the whole point.</p>
<p>Questions about CORS, Twilio sandbox, or mapping a WordPress / Webflow form? Drop a comment and I'll help.</p>
<hr />
<p><em>Workflow by FlowMind Agency. n8n, Google, OpenAI, Twilio and WhatsApp are trademarks of their respective owners; this is an independent guide.</em></p>
]]></content:encoded></item></channel></rss>