đź’¬ Automated email verification & onboarding with VerifiEmail, Gmail & Slack

⚡ 238 views · 💬 Lead Nurturing & AI Sales Agents

Description

Customer Onboarding Email Verification

Automated email verification and welcome email workflow that validates new user signups, prevents fake emails, and creates a seamless onboarding experience with real-time team notifications.

Features

âś… Real-time email validation with VerifiEmail API
âś… Automatic data sanitization (lowercase, trim whitespace)
âś… Smart typo detection and correction suggestions
âś… Disposable email domain blocking
âś… Professional HTML welcome emails with responsive design
âś… Automatic duplicate prevention in Google Sheets logging
âś… Real-time Slack notifications for sales/marketing teams
âś… MX record and SMTP deliverability checks

What You Need

Required Accounts/APIs:

  1. VerifiEmail API - For email validation (verifi.email)
  2. Gmail account (or SMTP server) - For sending welcome emails
  3. Google Sheets - For logging verified users
  4. Slack workspace - For team notifications (optional but recommended)

Setup Instructions

  1. Create Google Sheet

    • Create new spreadsheet named “Verified Users”
    • Add headers: Name | Email | Status | Verified At | Original Email | Validation Score
  2. Connect Credentials

    • Add VerifiEmail API key in n8n credentials
    • Connect Gmail via OAuth2 (enable 2FA, generate app password if needed)
    • Connect Google Sheets via OAuth2
    • Connect Slack workspace via OAuth2
  3. Customize Email Template

    • Open “Personalize Welcome Email” node
    • Replace “Your Company” with your brand name (appears 3 times)
    • Update CTA URLs:
      • yourapp.com/dashboard → Your actual dashboard URL
      • yourapp.com/getting-started → Your docs/guide URL
      • yourapp.com/support → Your support page URL
    • Modify colors: Purple gradient #667eea to #764ba2 (line 37)
  4. Configure Slack Channel

    • Create #new-signup channel in Slack (or use existing)
    • Update channel in “Team Notification” node
  5. Test Workflow

    • Activate workflow
    • Copy webhook URL from Webhook node
    • Test with: curl -X POST [webhook-url] -H "Content-Type: application/json" -d '{"name":"Test User","email":"test@gmail.com"}'
  6. Integrate with Your Signup Form

    • Point form submission to webhook URL
    • Ensure payload includes name and email fields

Input Format

Send POST request to webhook with this JSON:

{
  "name": "John Doe",
  "email": "johndoe@gmail.com"
}

The workflow handles various input formats (nested in body field, query params, etc.) and sanitizes automatically.

Output

After execution, you’ll get:

  1. Email validated via VerifiEmail API with deliverability score
  2. Welcome email sent to user with personalized greeting and CTAs
  3. User logged to Google Sheets with timestamp and validation details
  4. Slack notification sent to team with user details and status
  5. Invalid emails blocked with typo correction suggestions prepared

For Valid Emails (~85-90%):

For Invalid Emails (~10-15%):

Customization

Change Email Design:

Edit the “Personalize Welcome Email” node HTML:

Modify Validation Rules:

In “Prepare Correction Email” node, add more typo patterns:

const commonTypos = {
  'gmial': 'gmail',
  'gmai': 'gmail',
  // Add your custom patterns:
  'yourdomain': 'yourcorrectdomain'
}

Enable Correction Email Sending:

Replace “Stop and Error” node with Gmail “Send Email” node:

Add More Notification Channels:

After “Log Valid Users” node, add:

Log Invalid Attempts:

Add Google Sheets node after “Prepare Correction Email”:

Troubleshooting

“undefined” error in Data Sanitization:

All emails marked as invalid:

Welcome emails not sending:

No Slack notifications:

Duplicate entries in Google Sheets:

High validation failure rate:

Performance Optimization

For high-volume signups (>100/day):

Maintenance

Weekly:

Monthly:

Support

For issues or questions, visit the n8n community forum.


đź”— Nodes Used

Google Sheets, Slack, Webhook, Gmail, Stop and Error

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup