{
  "name": "Automated email verification & onboarding with VerifiEmail, Gmail & Slack",
  "nodes": [
    {
      "id": "86910847-a9b7-4a7d-9ed0-259e9fb0b880",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -80,
        0
      ]
    },
    {
      "id": "e834db7e-1dc7-4ee5-8ac4-1be83f1a4041",
      "name": "Data Sanitization",
      "type": "n8n-nodes-base.code",
      "position": [
        176,
        0
      ]
    },
    {
      "id": "f0ccbc6e-9c10-47b3-bd2e-fb06a1f3615d",
      "name": "Email Validation",
      "type": "n8n-nodes-verifiemail.verifiEmail",
      "position": [
        496,
        0
      ]
    },
    {
      "id": "7fa85889-6906-4637-8bcb-d2ec30370fda",
      "name": "Validation Decision",
      "type": "n8n-nodes-base.if",
      "position": [
        800,
        0
      ]
    },
    {
      "id": "1c045477-d1eb-4bc7-a006-fd87321ddbb4",
      "name": "Personalize Welcome Email",
      "type": "n8n-nodes-base.code",
      "position": [
        1072,
        -96
      ]
    },
    {
      "id": "090efe61-fd58-400b-935b-70291bb3595e",
      "name": "Prepare Correction Email",
      "type": "n8n-nodes-base.code",
      "position": [
        1104,
        176
      ]
    },
    {
      "id": "3fb1d01c-b57d-4f0d-b160-5ed16f4ff5e5",
      "name": "Team Notification",
      "type": "n8n-nodes-base.slack",
      "position": [
        1968,
        -96
      ]
    },
    {
      "id": "d42409be-e1c4-41e0-8114-4d59aaccea1e",
      "name": "Log Valid Users",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1536,
        -96
      ]
    },
    {
      "id": "9e8d198e-2cda-4ff3-8cda-3bfc909444b5",
      "name": "Send Welcome Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1328,
        -96
      ]
    },
    {
      "id": "04369699-c5d2-4948-96ea-47e74919fe9a",
      "name": "Stop and Error",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        1472,
        176
      ]
    },
    {
      "id": "b03ea9e9-1f92-4858-b2ae-e39f4ad2fe83",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -112
      ],
      "parameters": {
        "width": 480,
        "height": 368,
        "content": "## CUSTOMER ONBOARDING EMAIL VERIFICATION WORKFLOW\n\n**Purpose**: Validate **new signups** and send **personalized welcome emails**\n**Owner**: [Your Team]\n**Status**: ✅ Active\n\n**Quick Stats**:\n- Avera"
      }
    },
    {
      "id": "528bf108-604f-4242-8b99-1990ea3e682e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -448
      ],
      "parameters": {
        "width": 304,
        "height": 576,
        "content": "## WEBHOOK TRIGGER\n\n**Configuration**:\n- Method: **POST**\n- Path: **/new-signup**\n- Authentication: **[None/Basic Auth]**\n\n**Required Fields**:\n```\n{\n  \"name\": \"string\",\n  \"email\": \"string\"\n}\n```\n\n**T"
      }
    },
    {
      "id": "b06d93a6-c7d8-4983-8393-f3df19536dda",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -480
      ],
      "parameters": {
        "width": 304,
        "height": 608,
        "content": "## DATA SANITIZATION\n\n- **Actions**:\n✓ Trim whitespace\n✓ Lowercase email\n✓ Preserve original email\n✓ Add timestamp\n\n**Common Issues**:\n- **\"undefined\" error** → Check webhook data structure\n- Missing "
      }
    },
    {
      "id": "99f39f7d-8b0d-49b4-81a7-cc691caba8bb",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        -416
      ],
      "parameters": {
        "width": 256,
        "height": 576,
        "content": "## EMAIL VALIDATION (VerifiEmail)\n\n- Service: **VerifiEmail API**\n\n**Validation Checks**:\n✓ Format validation\n✓ MX records exist\n✓ Disposable domain detection\n✓ Deliverability verification\n\n**Key Resp"
      }
    },
    {
      "id": "878cf3ea-e3e7-4e87-a4e3-6a209497ec1b",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        -320
      ],
      "parameters": {
        "width": null,
        "height": 448,
        "content": "## VALIDATION DECISION POINT\n\n**DECISION POINT**\n**Condition**: **$json.valid == true**\n\n✅ **TRUE (~85-90%)**\n→ Welcome email → Sheets → Slack\n\n❌ **FALSE (~10-15%)**\n→ Error message → Stop\n\n💡 Monitor "
      }
    },
    {
      "id": "b9b68238-69ee-4542-ab77-1503382c235d",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -432
      ],
      "parameters": {
        "width": 272,
        "height": 480,
        "content": "## PERSONALIZE EMAIL\n\n**Template**:\n- **Subject**: \"Welcome, {firstName}! 🎉\"\n- **HTML format (~8KB)**\n\n**Update These**:\n- Company name\n- CTA URLs (yourapp.com/*)\n- Brand colors\n- Footer copyright\n\nDa"
      }
    },
    {
      "id": "9d7e44a0-3e33-4e27-9e91-508b1704f6e4",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        -448
      ],
      "parameters": {
        "width": null,
        "height": 496,
        "content": "## LOG TO SHEETS\n\n**Operation**: Append or Update\n**Match**: Email (no duplicates)\n\nFields:\n- Name, Email, Status\n- Timestamp, Original Email\n- Validation Score\n\n**Uses**:\n✓ Audit trail\n✓ Marketing li"
      }
    },
    {
      "id": "d249ffe4-fb29-4c93-8146-bba14304ff66",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1792,
        -384
      ],
      "parameters": {
        "width": 304,
        "height": 432,
        "content": "## SLACK ALERT\n\n**Channel**: #new-signup\n\n**Message**:\n🎉 New Verified Signup!\n👤 Name \n📧 Email \n⏰ Time\n\n**Who**: Sales, Marketing, Product\n\n- If >100/day, switch to:\n  - Hourly digest\n  - Daily summary"
      }
    },
    {
      "id": "0d82df0e-bcef-478e-a58c-8d0562f40fc0",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1408,
        160
      ],
      "parameters": {
        "width": 256,
        "height": 480,
        "content": "\n\n\n\n\n\n\n\n\n\n\n## STOP & ERROR\n\n**Error**: **\"Invalid email address\"**\n\n**Result**:\n- Workflow stops\n- Marked as error\n- No email sent\n- Not logged\n\n**BETTER OPTION**:\n- Replace with Send Email node\n- Not"
      }
    },
    {
      "id": "e76c5aeb-c342-4e9e-81ec-ad9d0330eeab",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        320
      ],
      "parameters": {
        "width": 288,
        "height": 384,
        "content": "## MAINTENANCE\n\n📅 WEEKLY:\n□ Check API usage\n□ Review Slack alerts\n□ Test sample signup\n\n📅 MONTHLY:\n□ Update email template\n□ Archive old data\n□ Check Gmail limits\n\n🆘 QUICK FIXES:\n- No emails? → Check "
      }
    },
    {
      "id": "f177dd8d-ba9e-4b74-816e-385b34a0da5d",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        320
      ],
      "parameters": {
        "width": 304,
        "height": 496,
        "content": "## QUICK REFERENCE\n\n🔗 Links:\n- Webhook: /webhook/new-signup\n- Sheet: Verified Users\n- Slack: #new-signup\n- API: verifi.email\n\n📊 Targets:\n- Success: >95%\n- Time: <5 sec\n- Delivery: >98%\n\n🧪 Test:\n```\ncu"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Data Sanitization",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Valid Users": {
      "main": [
        [
          {
            "node": "Team Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Validation": {
      "main": [
        [
          {
            "node": "Validation Decision",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Sanitization": {
      "main": [
        [
          {
            "node": "Email Validation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Welcome Email": {
      "main": [
        [
          {
            "node": "Log Valid Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validation Decision": {
      "main": [
        [
          {
            "node": "Personalize Welcome Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Correction Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Correction Email": {
      "main": [
        [
          {
            "node": "Stop and Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Personalize Welcome Email": {
      "main": [
        [
          {
            "node": "Send Welcome Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}