Templates / Capture website form leads with deduped logging in Google Sheets and Telegram

Capture website form leads with deduped logging in Google Sheets and Telegram

Ready for 3.0

by Dmytro ✓ · 3 views · created 2026-07-29 · Lead Generation

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Telegram.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Confirm Form Submission (Respond to Webhook): sends the response back to the webhook caller
  2. Map Lead Fields (Code): runs custom JavaScript code
  3. Check Existing Lead in Sheets (Google Sheets): read
  4. If: checks a condition and branches into true / false
  5. Build Updated Lead Row (Code): runs custom JavaScript code
  6. Create New Lead Row (Code): runs custom JavaScript code
  7. Update Lead in Sheets (Google Sheets): update
  8. Append Lead to Sheets (Google Sheets): append
  9. Notify Repeat Inquiry via Telegram (Telegram): send message
  10. Notify New Lead via Telegram (Telegram): send message

Services it uses

Google SheetsTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick overview This workflow receives website form submissions via webhook, normalizes lead fields, detects duplicates using a phone/email dedupe key, and writes the lead to Google Sheets as a new row or an update. It then sends a Telegram alert with…

Excerpt from Dmytro's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.