GenAiHub

Last checked 23 October 2026 — responded normally.

Send lead notifications and acknowledgements via webhook, Gmail and Data Tables

Quick overview

Live
Open / InstallLast updated October 23, 2026

Description

Quick overview This workflow receives new lead submissions via a header-authenticated webhook, validates and normalizes the payload, prevents duplicate notifications using an n8n Data Table, then sends two Gmail emails (admin alert and lead acknowledgement) and returns a JSON response with the processing result. How it works Receives a POST request on a header-authenticated webhook containing lead details. Normalizes the incoming fields (for example trimming the name and lowercasing the email) and rejects invalid payloads with an HTTP 400 JSON response. Checks an n8n Data Table log for an existing row with the same leadId to prevent sending notifications twice. If the lead was already processed, returns a JSON response indicating the request is a duplicate. If the lead is new, sends an admin notification email and a lead acknowledgement email through Gmail while allowing either email to fail without stopping the run. Logs email send statuses and errors back to the n8n Data Table and responds to the caller with a JSON success payload. Setup Create and attach a Header Auth credential to the webhook and configure the calling form/CRM to send requests to the webhook URL with the required header. Connect a Gmail OAuth2 credential and select it in both Gmail email-sending steps. Create an n8n Data Table named lead_notification_log with the expected columns (leadId, executionId, adminEmailStatus, adminEmailError, leadEmailStatus, leadEmailError, status, notifiedAt) and select it in both Data Table steps. Update the admin recipient email address (currently admin@example.com) and adjust the email subjects/bodies to match your branding. An n8n automation workflow template by Bincy Bhanu. S.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Bincy Bhanu. S

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • gmail

Capabilities

  • 1 nodes

Information

TypeWorkflow
Sourcen8n
AddedOctober 10, 2026

Comments

?

Others in the same category, ranked by how often they are opened.