Newsletter Subscriber Verification, Welcome Email & Google Sheets Tracking - n8n Workflow

Automate newsletter signups using a robust n8n workflow. This automation template integrates email verification via Verifi API, personalized Gmail welcome emails, and comprehensive tracking/logging in Google Sheets.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Marketing teams aiming to clean their email lists and improve sender reputation.

  • Developers needing reliable webhook handling and conditional automation logic.

  • Businesses requiring comprehensive audit trails for subscriber activity.

  • Users looking for advanced n8n templates integrating external verification services.

Overview

Maintaining a clean subscriber list is critical for maximizing email deliverability and protecting your sender score. This sophisticated n8n workflow template ensures that every signup is meticulously vetted before an email is sent. It solves the costly problem of welcoming disposable, invalid, or typo-ridden email addresses.

The automation starts with an external submission captured by an n8n trigger (a webhook). It implements immediate data validation and then utilizes a dedicated email verification n8n node (Verifi Email) to check deliverability, domain status, and disposable nature. Based on the outcome, the n8n node either triggers a personalized welcome email via Gmail or logs the specific failure reason to a separate Google Sheets log. Finally, every transaction (success or failure) is logged to a master audit sheet, providing unparalleled visibility into your lead quality using a high-performance n8n automation template.

How it Works

This n8n workflow operates in a precise, conditional sequence:


  1. Trigger Reception: The workflow starts when the Webhook n8n trigger receives a new subscriber signup via a POST request.

  2. Initial Validation: The Check Data Completeness If n8n node checks if the name and email fields are present. If data is incomplete, the flow diverts to the Log Incomplete Submissions Google Sheets n8n node.

  3. Email Verification: Complete submissions proceed to the Verifi Email n8n node, which performs detailed checks on the email address (MX records, disposable status, etc.).

  4. Conditional Routing: The Check Email Validity If n8n node routes the flow. Only if the email is confirmed valid does it proceed to the successful path.

  5. Success Path: The Generate Welcome Email HTML Code n8n node dynamically constructs a highly personalized, responsive HTML welcome message. The Send Welcome Email Gmail n8n node then delivers the message.

  6. Invalid Path: If the email is invalid, the Prepare Invalid Email Message Code n8n node extracts the specific technical reason (e.g., 'Disposable email service'). This data is logged into the Invalid Emails Google Sheets n8n node.

  7. Master Audit: Data from the Invalid Log path feeds into the Format Master Log Entry Code n8n node to standardize the audit record. This final record is appended to the comprehensive Master Log using the Log to Master Sheet Google Sheets n8n node, creating a complete audit trail of every entry processed by the n8n workflow.

Installation Guide

To deploy this powerful n8n workflow, follow these steps:


  1. Import: Copy the entire JSON code and paste it into your n8n canvas using the 'New' -> 'Import from JSON' option.

  2. Credentials Setup: Configure the required credentials for the n8n node connections:

Google Sheets OAuth2: Authorize n8n to connect to your Google Drive account.
Gmail OAuth2: Authorize n8n to send emails from your Gmail account.
* Verifi Email API: Input your API key for the Verifi Email n8n node.

  1. Configure Sheets: Open the three Google Sheets n8n node instances (Log Incomplete, Log Invalid, Master Log) and update the Document ID and Sheet Name parameters to match your tracking spreadsheet setup (ensure you create separate tabs: InvalidSubmissions, InvalidEmails, and Master_Log).

  2. Activate Webhook: Click the Webhook - Newsletter Signup n8n trigger node and copy the URL. This is the endpoint your website form must post data to.

  3. Activate Workflow: Set the workflow status to 'Active' to start listening for signups.

Node Details

Webhook - Newsletter Signup (n8n trigger):
Function: Serves as the primary entry point, listening for external signup submissions.
Key Configuration: HTTP Method set to POST, Response Mode set to lastNode, Path set to newsletter-signup.
Check Data Completeness (If n8n node):
Function: Ensures the incoming data payload contains non-empty values for both the subscriber's name and email.
Key Configuration: Checks {{ $json.body.email }} and {{ $json.body.name }} for isNotEmpty.
Verifi Email (n8n node):
Function: Connects to the Verifi Email API to validate the email address structure, domain existence, and check against disposable lists.
Key Configuration: Uses an expression to dynamically pass the subscriber's email: ={{ $json.body.email }}.
Generate Welcome Email HTML (Code n8n node):
Function: Uses JavaScript to construct a personalized, styled HTML email template, dynamically inserting the user's first name and confirmation links.
Key Configuration: Retrieves the original payload via the $('Webhook - Newsletter Signup').first().json.body reference.
Send Welcome Email (Gmail n8n node):
Function: Sends the personalized welcome email to the successfully verified subscriber.
Key Configuration: Send To set dynamically to ={{ $json.email }} and content is set to the generated HTML.
Prepare Invalid Email Message (Code n8n node):
Function: Interprets the failure response from the Verifi Email n8n node and assigns clear, structured reasons for logging (e.g., 'Disposable email address detected').
Google Sheets (Log Incomplete Submissions, Log Invalid Emails, Log to Master Sheet):
* Function: These n8n nodes handle logging. They use the append operation to write detailed, structured data into specific sheets based on the verification outcome. All these nodes require separate sheet configurations within the same Document ID.

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by

AI Automation Specialist - OpenAI, CRM & Automation Expert with a solid understanding of various tools that include Zapier, Make, Zoho CRM, Hubspot, Google Sheets, Airtable, Pipedrive, Google Analytics, and more.

Featured*