AutomationFlowsAI & RAG › Route and Nurture Financial Services Leads with Openai, Gmail and Google Sheets

Route and Nurture Financial Services Leads with Openai, Gmail and Google Sheets

ByDavid Olusola @dae221 on n8n.io

Automatically route and nurture leads for Business Funding, Life Insurance, Credit Repair, and Agent Recruitment with hyper-personalized AI-generated emails. Lead Capture via Webhook Your landing page submits lead data (name, email, phone, interest, service-specific details) to…

Webhook trigger★★★★☆ complexityAI-powered21 nodesOpenAIGmailGoogle Sheets
AI & RAG Trigger: Webhook Nodes: 21 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #12719 — we link there as the canonical source.

This workflow follows the Gmail → Google Sheets recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "id": "75bd4fec-b427-4c19-97c6-bd17dfb662b7",
      "name": "Webhook - Lead Capture",
      "type": "n8n-nodes-base.webhook",
      "position": [
        272,
        368
      ],
      "parameters": {
        "path": "your-webhook-path-here",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2.1
    },
    {
      "id": "07a2f7a2-1dfd-4c67-a70c-0fd0fa0f953e",
      "name": "Route by Interest",
      "type": "n8n-nodes-base.switch",
      "position": [
        544,
        368
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "0f41c52d-404b-4cd2-be15-ab9e1faa9b29",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.body.interest }}",
                    "rightValue": "Business Funding"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "6c325aec-0a8a-43c0-a7e4-cf186883100b",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.body.interest }}",
                    "rightValue": "Life Insurance"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "9efa7364-029f-40a0-8f05-20300554cbf8",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.body.interest }}",
                    "rightValue": "Credit Repair"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "4fce0e2a-bc0b-4cb4-944e-e76d0a468b55",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.body.interest }}",
                    "rightValue": "Become an Agent"
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.4
    },
    {
      "id": "50f26cdd-b196-412a-9d1f-8df56465cd83",
      "name": "AI - Business Funding Email",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        832,
        176
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "responses": {
          "values": [
            {
              "content": "=Write a personalized funding email to {{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}.\n\nBusiness Profile:\n- Business Age: {{ $('Webhook - Lead Capture').item.json.body.additionalData.businessLength }} years\n- Monthly Revenue: {{ $('Webhook - Lead Capture').item.json.body.additionalData.monthlyRevenue }}\n- Credit Score: {{ $('Webhook - Lead Capture').item.json.body.additionalData.creditScore }}\n- Funding Need: {{ $('Webhook - Lead Capture').item.json.body.additionalData.fundingPurpose }}\n\nFUNDING CALCULATION (be specific):\n- If revenue \"Under 10k\": $10K-$50K\n- If revenue \"10k-50k\": $50K-$150K\n- If revenue \"50k-100k\": $150K-$300K\n- If revenue \"100k+\": $300K-$500K\n\nAdd 20% if credit 700+, reduce 20% if credit below 600.\n\nFor business age {{ $('Webhook - Lead Capture').item.json.body.additionalData.businessLength }}:\n- Less than 1 year: \"newer businesses can qualify\"\n- 1-2 years: \"established track record\"\n- 2-5 years: \"strong position, multiple options\"\n- 5+ years: \"prime candidate, best rates\"\n\nWRITING INSTRUCTIONS:\n\n1. Start: \"Hi {{ $('Webhook - Lead Capture').item.json.body.firstName }}, I just reviewed your funding request and I'm excited to share some options with you.\"\n\n2. Acknowledge SPECIFIC situation using EXACT data (2-3 sentences).\n\n3. Calculate SPECIFIC funding amount based on their revenue/credit.\n\n4. List 2-3 loan types that fit THEM specifically with rates.\n\n5. Reference their exact funding purpose: \"{{ $('Webhook - Lead Capture').item.json.body.additionalData.fundingPurpose }}\"\n\n6. Create urgency: \"I can get your pre-approval started today.\"\n\n7. Personal close: \"I've helped dozens of business owners - let's get this done for you, {{ $('Webhook - Lead Capture').item.json.body.firstName }}.\"\n\nHTML STRUCTURE:\n\n<div style=\"font-family: 'Segoe UI', Arial, sans-serif; max-width: 600px; margin: 0 auto; background-color: #F5F5DC; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1);\">\n  <div style=\"background: linear-gradient(135deg, #2EAE4E 0%, #25943F 100%); padding: 30px 20px; text-align: center;\">\n    <h1 style=\"color: #FFFFFF; margin: 0; font-size: 28px; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.2);\">Your Business Funding Options</h1>\n    <p style=\"color: #E8F5E9; margin: 8px 0 0 0; font-size: 16px;\">Personalized for {{ $('Webhook - Lead Capture').item.json.body.firstName }}</p>\n  </div>\n  <div style=\"padding: 35px 25px; background-color: #FFFFFF; color: #1F1F1F;\">\n    <p style=\"font-size: 17px; line-height: 1.7; margin: 0 0 20px 0;\">Hi {{ $('Webhook - Lead Capture').item.json.body.firstName }},</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">I just reviewed your funding request and I'm excited to share some options with you.</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 25px 0;\">[2-3 sentences using EXACT data: business age, revenue, credit, purpose]</p>\n    <div style=\"background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%); border-left: 5px solid #2EAE4E; padding: 20px; margin: 25px 0; border-radius: 8px;\">\n      <h2 style=\"color: #2EAE4E; margin: 0 0 12px 0; font-size: 20px; font-weight: 700;\">\ud83d\udcbc Here's What You Qualify For:</h2>\n      <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 12px 0;\"><strong style=\"color: #2EAE4E; font-size: 18px;\">[CALCULATE SPECIFIC amount: e.g. \"$175,000 to $250,000\"]</strong></p>\n      <p style=\"font-size: 16px; line-height: 1.7; margin: 0;\">[2-3 specific loan types with rates based on credit/revenue]</p>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">[How this helps their EXACT stated purpose]</p>\n    <h3 style=\"color: #2EAE4E; font-size: 18px; margin: 25px 0 12px 0; font-weight: 700;\">\ud83d\udccb Next Steps:</h3>\n    <ol style=\"font-size: 16px; line-height: 1.8; margin: 0 0 25px 0; padding-left: 25px;\">\n      <li>Click below - takes 5 minutes</li>\n      <li>I'll review personally within 24 hours</li>\n      <li>Funding in 3-5 business days if approved</li>\n    </ol>\n    <div style=\"text-align: center; margin: 35px 0 25px 0;\">\n      <a href=\"YOUR_FUNDING_LINK_HERE\" style=\"display: inline-block; background: linear-gradient(135deg, #2EAE4E 0%, #25943F 100%); color: #FFFFFF; padding: 16px 40px; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 18px; box-shadow: 0 4px 15px rgba(46, 174, 78, 0.3);\">Apply for Funding Now \u2192</a>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 25px 0 0 0;\">I've helped dozens of business owners secure funding - let's get this done for you, {{ $('Webhook - Lead Capture').item.json.body.firstName }}.</p>\n    <p style=\"font-size: 15px; line-height: 1.7; color: #666; margin: 15px 0 0 0;\">Talk soon,<br><strong style=\"color: #2EAE4E;\">Your Name</strong></p>\n  </div>\n  <div style=\"background-color: #F5F5DC; padding: 25px; text-align: center; border-top: 2px solid #2EAE4E;\">\n    <p style=\"margin: 0; font-size: 15px; font-weight: 600;\">Your Name</p>\n    <p style=\"margin: 5px 0 0 0; color: #666; font-size: 14px;\">Your Company | Your Title</p>\n  </div>\n</div>\n\n350-400 words. Write as yourself personally emailing them."
            },
            {
              "role": "system",
              "content": "You are a top partner who personally helps business owners secure funding.\n\nWrite emails as if YOU are directly emailing them - warm, confident, specific.\n\nCRITICAL:\n- Output ONLY raw HTML (no code fences, no markdown)\n- Calculate SPECIFIC funding amounts from their data\n- Write in first person (\"I reviewed...\" not \"Based on...\")\n- Use their first name naturally 3-4 times\n- Be confident and action-oriented"
            }
          ]
        },
        "builtInTools": {}
      },
      "typeVersion": 2
    },
    {
      "id": "1b959e0a-db0d-4ce1-b4e4-b9f01fb98cbb",
      "name": "AI - Life Insurance Email",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        832,
        352
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "responses": {
          "values": [
            {
              "content": "=Write personal life insurance email to {{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}.\n\nProfile:\n- Age: {{ $('Webhook - Lead Capture').item.json.body.additionalData.ageRange }}\n- Dependents: {{ $('Webhook - Lead Capture').item.json.body.additionalData.hasDependents }}\n- Health: {{ $('Webhook - Lead Capture').item.json.body.additionalData.healthStatus }}\n- Coverage: {{ $('Webhook - Lead Capture').item.json.body.additionalData.coverageNeeded }}\n\nPREMIUM CALCULATION:\nAge 18-30: $30-60/month for $250K-$500K term\nAge 31-40: $50-90/month for $500K-$1M term\nAge 41-50: $90-150/month for $500K-$1M term\nAge 51-60: $150-250/month for $500K-$1M term\n\nHealth adjustment:\n- Excellent: lower end\n- Good: mid range\n- Fair: higher end + \"still affordable\"\n\nINSTRUCTIONS:\n\n1. Start: \"Hi {{ $('Webhook - Lead Capture').item.json.body.firstName }}, I'm so glad you're thinking about protecting your family's future.\"\n\n2. If has dependents: \"I know how important it is to make sure they're taken care of\"\n   If no dependents: \"Locking in rates while young is smart\"\n\n3. SPECIFIC premium: \"For someone {{ $('Webhook - Lead Capture').item.json.body.additionalData.ageRange }} with {{ $('Webhook - Lead Capture').item.json.body.additionalData.healthStatus }} health, you're looking at **$X to $Y per month** for {{ $('Webhook - Lead Capture').item.json.body.additionalData.coverageNeeded }}\"\n\n4. Why NOW: \"Younger/healthier = better rates locked in. Waiting 5 years could double premium\"\n\n5. Make it real: \"That {{ $('Webhook - Lead Capture').item.json.body.additionalData.coverageNeeded }} would cover mortgage/education/income replacement\"\n\n6. Address objection: \"'I'm healthy, don't need it yet' - that's EXACTLY when you need it, while rates are low\"\n\nHTML:\n\n<div style=\"font-family: 'Segoe UI', Arial, sans-serif; max-width: 600px; margin: 0 auto; background-color: #F5F5DC; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1);\">\n  <div style=\"background: linear-gradient(135deg, #2EAE4E 0%, #25943F 100%); padding: 30px 20px; text-align: center;\">\n    <h1 style=\"color: #FFFFFF; margin: 0; font-size: 28px; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.2);\">Protect Your Future & Grow Tax-Free Wealth</h1>\n    <p style=\"color: #E8F5E9; margin: 8px 0 0 0; font-size: 16px;\">Life Insurance Guide for {{ $('Webhook - Lead Capture').item.json.body.firstName }}</p>\n  </div>\n  <div style=\"padding: 35px 25px; background-color: #FFFFFF; color: #1F1F1F;\">\n    <p style=\"font-size: 17px; line-height: 1.7; margin: 0 0 20px 0;\">Hi {{ $('Webhook - Lead Capture').item.json.body.firstName }},</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">I'm so glad you're thinking about protecting your family's future. [Acknowledge their family situation warmly - dependents or not]</p>\n    <div style=\"background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%); border-left: 5px solid #2EAE4E; padding: 20px; margin: 25px 0; border-radius: 8px;\">\n      <h2 style=\"color: #2EAE4E; margin: 0 0 12px 0; font-size: 20px; font-weight: 700;\">\ud83d\udee1\ufe0f Your Coverage Options:</h2>\n      <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 12px 0;\"><strong style=\"color: #2EAE4E; font-size: 18px;\">[SPECIFIC premium: e.g. \"$75-$95 per month\"]</strong> for {{ $('Webhook - Lead Capture').item.json.body.additionalData.coverageNeeded }}</p>\n      <p style=\"font-size: 16px; line-height: 1.7; margin: 0;\">[Term vs Whole Life - which fits THEM based on age]</p>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">[2-3 sentences what family would receive - emotional but not scary]</p>\n    <div style=\"background-color: #FFF9E6; border-left: 4px solid #FFC107; padding: 18px; margin: 20px 0; border-radius: 6px;\">\n      <p style=\"margin: 0; font-size: 15px; line-height: 1.6;\"><strong>\ud83d\udca1 \"But I'm healthy, why need it?\"</strong><br><br>[Answer naturally - 2-3 sentences about locking rates while young/healthy]</p>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 25px 0;\">Best time to get life insurance is when you don't think you need it - that's when it's most affordable.</p>\n    <div style=\"text-align: center; margin: 35px 0 25px 0;\">\n      <a href=\"YOUR_INSURANCE_LINK_HERE\" style=\"display: inline-block; background: linear-gradient(135deg, #2EAE4E 0%, #25943F 100%); color: #FFFFFF; padding: 16px 40px; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 18px; box-shadow: 0 4px 15px rgba(46, 174, 78, 0.3);\">Get My Free Quote \u2192</a>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 25px 0 0 0;\">I'd love to walk you through options, {{ $('Webhook - Lead Capture').item.json.body.firstName }}. No pressure - just want to make sure you're protected.</p>\n    <p style=\"font-size: 15px; line-height: 1.7; color: #666; margin: 15px 0 0 0;\">Here to help,<br><strong style=\"color: #2EAE4E;\">Your Name</strong></p>\n  </div>\n  <div style=\"background-color: #F5F5DC; padding: 25px; text-align: center; border-top: 2px solid #2EAE4E;\">\n    <p style=\"margin: 0; font-size: 15px; font-weight: 600;\">Your Name</p>\n    <p style=\"margin: 5px 0 0 0; color: #666; font-size: 14px;\">Your Company | Your Title</p>\n  </div>\n</div>\n\n350-400 words. Warm, caring, specific."
            },
            {
              "role": "system",
              "content": "You are a compassionate life insurance advisor who helps families protect their future.\n\nWrite as if YOU are personally emailing them - warm, caring, specific.\n\nCRITICAL:\n- Output ONLY raw HTML (no code fences)\n- Calculate SPECIFIC premiums based on age/health\n- Reference family situation naturally\n- Write in first person (\"I want to help you...\")\n- Be warm but not salesy"
            }
          ]
        },
        "builtInTools": {}
      },
      "typeVersion": 2
    },
    {
      "id": "1a2ffdcd-281a-4211-886d-8afd0a5569c9",
      "name": "AI - Credit Repair Email",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        832,
        528
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "responses": {
          "values": [
            {
              "content": "=Credit repair email for {{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}.\n\nType: {{ $('Webhook - Lead Capture').item.json.body.interest }}\nScore: {{ $('Webhook - Lead Capture').item.json.body.additionalData.currentScore }}\nGoals: {{ $('Webhook - Lead Capture').item.json.body.additionalData.creditGoals }}\n\nTIMELINE CALCULATION:\nScore below 500: 8-12 months to 620+\nScore 500-580: 6-9 months to 650+\nScore 580-650: 4-6 months to 700+\nScore 650-700: 3-4 months to 720+\n\nFor PERSONAL credit (\"Credit Repair\"):\n1. Start: \"Hi {{ $('Webhook - Lead Capture').item.json.body.firstName }}, I'm so glad you're taking steps to improve your credit.\"\n\n2. Validate their specific goal from {{ $('Webhook - Lead Capture').item.json.body.additionalData.creditGoals }}:\n   - \"Buy a home\": \"Homeownership is such an important goal\"\n   - \"Get a loan\": \"Better credit = better rates and approval odds\"\n   - \"Better interest rates\": \"Smart move - better credit saves thousands\"\n   - \"Start a business\": \"Strong credit opens so many funding doors\"\n\n3. Give REALISTIC timeline based on {{ $('Webhook - Lead Capture').item.json.body.additionalData.currentScore }}\n\n4. Explain program: dispute letters, credit coaching, monthly tracking\n\n5. Show impact: \"Going from {{ $('Webhook - Lead Capture').item.json.body.additionalData.currentScore }} to 700+ could save you $15K-$40K in interest over a mortgage\"\n\n6. CTA: YOUR_CREDIT_REPAIR_LINK_HERE\n\nFor BUSINESS credit (\"Business Credit Repair\"):\n1. Start: \"Hi {{ $('Webhook - Lead Capture').item.json.body.firstName }}, building business credit is one of the smartest moves for your company.\"\n\n2. Explain: \"Business credit is SEPARATE from personal - protects your personal credit and unlocks way higher funding amounts\"\n\n3. Timeline: \"90-180 days to establish strong business credit profile\"\n\n4. Benefits: \"With business credit, you can access $50K-$250K in funding WITHOUT personal guarantee\"\n\n5. Program: vendor tradelines, D&B profile, credit monitoring\n\n6. CTA: YOUR_BUSINESS_CREDIT_LINK_HERE\n\nHTML:\n\n<div style=\"font-family: 'Segoe UI', Arial, sans-serif; max-width: 600px; margin: 0 auto; background-color: #F5F5DC; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1);\">\n  <div style=\"background: linear-gradient(135deg, #2EAE4E 0%, #1E8E3E 100%); padding: 30px 20px; text-align: center;\">\n    <h1 style=\"color: #FFFFFF; margin: 0; font-size: 28px; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.2);\">{{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? '\ud83d\udcc8 Build Your Business Credit' : '\u2728 Your Credit Repair Roadmap' }}</h1>\n    <p style=\"color: #E8F5E9; margin: 8px 0 0 0; font-size: 16px;\">Personalized Plan for {{ $('Webhook - Lead Capture').item.json.body.firstName }}</p>\n  </div>\n  <div style=\"padding: 35px 25px; background-color: #FFFFFF; color: #1F1F1F;\">\n    <p style=\"font-size: 17px; line-height: 1.7; margin: 0 0 20px 0;\">Hi {{ $('Webhook - Lead Capture').item.json.body.firstName }},</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">[Validate their specific goal from data warmly]</p>\n    <div style=\"background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%); border-left: 5px solid #2EAE4E; padding: 20px; margin: 25px 0; border-radius: 8px;\">\n      <h2 style=\"color: #2EAE4E; margin: 0 0 12px 0; font-size: 20px; font-weight: 700;\">{{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? '\ud83c\udfe2 Your Business Credit Plan:' : '\u2728 Your Improvement Timeline:' }}</h2>\n      <p style=\"font-size: 16px; line-height: 1.7; margin: 0;\">[REALISTIC timeline based on current score, what can be fixed, how it helps their goal]</p>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">[Explain program benefits - be specific about what they get]</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 25px 0;\">[Show financial impact - savings on mortgage/loan OR funding access for business]</p>\n    <h3 style=\"color: #2EAE4E; font-size: 18px; margin: 25px 0 12px 0; font-weight: 700;\">What's Included:</h3>\n    <ul style=\"font-size: 15px; line-height: 1.8; color: #1F1F1F; margin: 0 0 25px 0; padding-left: 25px;\">\n      <li>{{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? 'Build business credit profile separate from personal' : 'Professional credit analysis & dispute letters' }}</li>\n      <li>{{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? 'Establish vendor tradelines with major suppliers' : 'Monthly progress tracking & score monitoring' }}</li>\n      <li>{{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? 'Increase funding capacity without personal guarantee' : 'Personalized credit coaching & education' }}</li>\n    </ul>\n    <div style=\"text-align: center; margin: 35px 0 25px 0;\">\n      <a href=\"{{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? 'YOUR_BUSINESS_CREDIT_LINK_HERE' : 'YOUR_CREDIT_REPAIR_LINK_HERE' }}\" style=\"display: inline-block; background: linear-gradient(135deg, #2EAE4E 0%, #25943F 100%); color: #FFFFFF; padding: 16px 40px; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 18px; box-shadow: 0 4px 15px rgba(46, 174, 78, 0.3);\">{{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? 'Start Building Business Credit \u2192' : 'Start My Credit Repair \u2192' }}</a>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 25px 0 0 0;\">I'd love to help you reach your goals, {{ $('Webhook - Lead Capture').item.json.body.firstName }}. Let's get your credit where it needs to be.</p>\n    <p style=\"font-size: 15px; line-height: 1.7; color: #666; margin: 15px 0 0 0;\">To your financial success,<br><strong style=\"color: #2EAE4E;\">Your Name</strong></p>\n  </div>\n  <div style=\"background-color: #F5F5DC; padding: 25px; text-align: center; border-top: 2px solid #2EAE4E;\">\n    <p style=\"margin: 0; color: #1F1F1F; font-size: 15px; font-weight: 600;\">Your Name</p>\n    <p style=\"margin: 5px 0 0 0; color: #666; font-size: 14px;\">Your Company | Your Title</p>\n  </div>\n</div>\n\n350-400 words. Encouraging, realistic, specific."
            },
            {
              "role": "system",
              "content": "You are a credit repair specialist who helps people improve their credit.\n\nWrite as if YOU are personally helping them - encouraging, realistic, specific.\n\nCRITICAL:\n- Output ONLY raw HTML (no code fences)\n- Give REALISTIC timelines based on current score\n- Reference their SPECIFIC goals from data\n- Show financial impact (savings or funding access)\n- Write in first person (\"I'd love to help you...\")\n- Use correct link based on personal vs business credit"
            }
          ]
        },
        "builtInTools": {}
      },
      "typeVersion": 2
    },
    {
      "id": "3f3a5fb7-b5e2-43b7-b7fe-012051360eab",
      "name": "AI - Recruitment Email",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        832,
        720
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "responses": {
          "values": [
            {
              "content": "=Recruitment email for {{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}.\n\nBackground:\n- Experience: {{ $('Webhook - Lead Capture').item.json.body.additionalData.hasExperience }}\n- Licensed: {{ $('Webhook - Lead Capture').item.json.body.additionalData.isLicensed }}\n- Interests: {{ $('Webhook - Lead Capture').item.json.body.additionalData.interests }}\n- Start: {{ $('Webhook - Lead Capture').item.json.body.additionalData.startTime }}\n\nINSTRUCTIONS:\n\n1. Start: \"Hey {{ $('Webhook - Lead Capture').item.json.body.firstName }}! \ud83d\udc4b So excited you're interested in joining our team.\"\n\n2. Match experience:\n   - If \"yes\": \"Your {{ $('Webhook - Lead Capture').item.json.body.additionalData.hasExperience }} experience gives you a HUGE head start. You already know the game.\"\n   - If \"no\": \"No experience needed - I'll personally train you. Some of our top earners started from zero.\"\n\n3. License status:\n   - If \"yes\": \"Since you're licensed, you can start earning immediately.\"\n   - If \"no\": \"Getting licensed is easy - I'll walk you through it. Usually takes 2-4 weeks.\"\n\n4. Address THEIR specific interests from {{ $('Webhook - Lead Capture').item.json.body.additionalData.interests }}:\n   - \"Flexible schedule\": \"Work when YOU want - I have agents closing deals from anywhere\"\n   - \"Passive income\": \"Life insurance = residual checks for YEARS. Build it once, get paid forever\"\n   - \"Helping others\": \"You're literally changing lives - protecting families and funding dreams\"\n   - \"Building team\": \"Override commissions mean you earn from your team's success too\"\n\n5. Create urgency based on {{ $('Webhook - Lead Capture').item.json.body.additionalData.startTime }}:\n   - \"Immediately\": \"Perfect - I have training spots opening THIS WEEK. Let's move fast.\"\n   - \"1-2 weeks\": \"Great timing - next training cohort starts soon.\"\n   - \"1 month\": \"I'll get you prepared now so you hit the ground running.\"\n   - \"Just exploring\": \"No pressure - let's chat and see if this fits your goals.\"\n\n6. Real talk: \"Here's what I love - you control your income. Part-timers make $3K-$8K/month. Full-timers hit $10K-$30K. Top performers? $50K-$100K+. It's on YOU.\"\n\n7. Close: \"I'm looking for 3-5 serious people this month. If you're ready to build something real, let's talk.\"\n\nHTML:\n\n<div style=\"font-family: 'Segoe UI', Arial, sans-serif; max-width: 600px; margin: 0 auto; background: linear-gradient(180deg, #FFF9E6 0%, #F5F5DC 100%); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1);\">\n  <div style=\"background: linear-gradient(135deg, #2EAE4E 0%, #FFD700 100%); padding: 30px 20px; text-align: center;\">\n    <h1 style=\"color: #1F1F1F; margin: 0; font-size: 28px; font-weight: 700;\">\ud83d\ude80 Join Our Team</h1>\n    <p style=\"color: #1F1F1F; margin: 8px 0 0 0; font-size: 16px; font-weight: 600;\">Build Your Financial Future</p>\n  </div>\n  <div style=\"padding: 35px 25px; background-color: #FFFFFF;\">\n    <p style=\"font-size: 17px; line-height: 1.7; margin: 0 0 20px 0;\">Hey {{ $('Webhook - Lead Capture').item.json.body.firstName }}! \ud83d\udc4b</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">So excited you're interested in joining our team. [Match experience level enthusiastically - use EXACT data]</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 25px 0;\">[Address license status naturally]</p>\n    <div style=\"background: linear-gradient(135deg, #E8F5E9 0%, #FFF9E6 100%); border: 2px solid #2EAE4E; padding: 20px; margin: 25px 0; border-radius: 8px;\">\n      <h2 style=\"color: #2EAE4E; margin: 0 0 15px 0; font-size: 20px; font-weight: 700;\">\ud83d\udcb0 Multiple Income Streams:</h2>\n      <ul style=\"margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: #1F1F1F;\">\n        <li><strong>Business Funding:</strong> $1,000-$5,000 per deal</li>\n        <li><strong>Life Insurance:</strong> Residual income (paid monthly for YEARS!)</li>\n        <li><strong>Credit Repair:</strong> $500-$1,500 per client</li>\n        <li><strong>Team Building:</strong> Override commissions on your team's sales</li>\n      </ul>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">[Address THEIR specific interests from the data - be enthusiastic and specific]</p>\n    <div style=\"background-color: #FFF9E6; padding: 20px; margin: 20px 0; border-radius: 8px; border-left: 5px solid #FFD700;\">\n      <h3 style=\"color: #1F1F1F; margin: 0 0 12px 0; font-size: 18px; font-weight: 700;\">\ud83d\udcca Real Income Examples:</h3>\n      <p style=\"margin: 0; font-size: 15px; line-height: 1.7;\">\n        <strong style=\"color: #2EAE4E;\">Part-time:</strong> $3K-$8K/month<br>\n        <strong style=\"color: #2EAE4E;\">Full-time:</strong> $10K-$30K/month<br>\n        <strong style=\"color: #FFD700;\">Top performers:</strong> $50K-$100K+/month\n      </p>\n    </div>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 20px 0;\">[Create urgency based on their start time - be specific about next steps]</p>\n    <p style=\"font-size: 16px; line-height: 1.7; margin: 0 0 25px 0;\">Here's what I love, {{ $('Webhook - Lead Capture').item.json.body.firstName }} - YOU control your income. It's on you. I'm looking for 3-5 serious people this month who are ready to build something real.</p>\n    <div style=\"text-align: center; margin: 35px 0 25px 0;\">\n      <a href=\"YOUR_RECRUITMENT_LINK_HERE\" style=\"display: inline-block; background: linear-gradient(135deg, #2EAE4E 0%, #FFD700 100%); color: #1F1F1F; padding: 16px 40px; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 18px; box-shadow: 0 4px 15px rgba(46, 174, 78, 0.3);\">Schedule My Interview \u2192</a>\n    </div>\n    <p style=\"font-size: 15px; line-height: 1.7; color: #666; margin: 25px 0 0 0; text-align: center; font-style: italic;\">Excited to potentially have you on the team!</p>\n  </div>\n  <div style=\"background-color: #F5F5DC; padding: 25px; text-align: center; border-top: 2px solid #2EAE4E;\">\n    <p style=\"margin: 0; color: #1F1F1F; font-size: 15px; font-weight: 600;\">Your Name</p>\n    <p style=\"margin: 5px 0 0 0; color: #666; font-size: 14px;\">Your Company | Your Title</p>\n  </div>\n</div>\n\n350-400 words. Exciting, direct, no BS."
            },
            {
              "role": "system",
              "content": "You are an enthusiastic recruiter building your team.\n\nWrite as if YOU are personally recruiting them - excited, direct, authentic.\n\nCRITICAL:\n- Output ONLY raw HTML (no code fences)\n- Address THEIR specific experience/license/interests from data\n- Create urgency based on their start time\n- Write in first person (\"I'm looking for...\")\n- Be exciting but real - no hype, just facts"
            }
          ]
        },
        "builtInTools": {}
      },
      "typeVersion": 2
    },
    {
      "id": "8a7ce33e-1e3b-4bde-9b16-a5938fcddc13",
      "name": "Gmail - Business Funding",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1104,
        176
      ],
      "parameters": {
        "sendTo": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
        "message": "={{ $json.output[0].content[0].text }}",
        "options": {
          "appendAttribution": false
        },
        "subject": "=\ud83d\udcb0 Your Business Funding Pre-Approval - {{ $('Webhook - Lead Capture').item.json.body.firstName }}"
      },
      "typeVersion": 2.1
    },
    {
      "id": "ccec78e6-f80d-4edc-916a-83eed3a04d9c",
      "name": "Gmail - Life Insurance",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1104,
        352
      ],
      "parameters": {
        "sendTo": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
        "message": "={{ $json.output[0].content[0].text }}",
        "options": {
          "appendAttribution": false
        },
        "subject": "=\ud83d\udee1\ufe0f Your Life Insurance Quote - {{ $('Webhook - Lead Capture').item.json.body.firstName }}"
      },
      "typeVersion": 2.1
    },
    {
      "id": "6d7d2cd6-c13a-41f6-abc2-fadc3090e0f7",
      "name": "Gmail - Credit Repair",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1104,
        528
      ],
      "parameters": {
        "sendTo": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
        "message": "={{ $json.output[0].content[0].text }}",
        "options": {
          "appendAttribution": false
        },
        "subject": "={{ $('Webhook - Lead Capture').item.json.body.interest === 'Business Credit Repair' ? '\ud83d\udcc8 Build Your Business Credit Fast - ' + $('Webhook - Lead Capture').item.json.body.firstName : '\u2728 Your Credit Repair Roadmap - ' + $('Webhook - Lead Capture').item.json.body.firstName }}"
      },
      "typeVersion": 2.1
    },
    {
      "id": "8fb6ef2f-e76b-4110-85e8-013918c223dd",
      "name": "Gmail - Recruitment",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1104,
        720
      ],
      "parameters": {
        "sendTo": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
        "message": "={{ $json.output[0].content[0].text }}",
        "options": {
          "appendAttribution": false
        },
        "subject": "=\ud83d\ude80 Opportunity Awaits - {{ $('Webhook - Lead Capture').item.json.body.firstName }}"
      },
      "typeVersion": 2.1
    },
    {
      "id": "8414da26-480d-495b-abdb-51ab7ba183fb",
      "name": "Sheets - Business Funding",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1392,
        176
      ],
      "parameters": {
        "columns": {
          "value": {
            "Name": "={{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}",
            "Email": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
            "Phone": "={{ $('Webhook - Lead Capture').item.json.body.phone }}",
            "Details": "={{ $('Webhook - Lead Capture').item.json.body.additionalData.creditScore }} Monthly Rev: {{ $('Webhook - Lead Capture').item.json.body.additionalData.monthlyRevenue }} Business Length:{{ $('Webhook - Lead Capture').item.json.body.additionalData.businessLength }}",
            "Interest": "={{ $('Webhook - Lead Capture').item.json.body.interest }}"
          },
          "mappingMode": "defineBelow"
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "YOUR_GOOGLE_SHEET_ID",
          "cachedResultName": "Lead Tracking Sheet"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "dde86ec9-545b-4290-a12a-11a13bf9a480",
      "name": "Sheets - Life Insurance",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1392,
        352
      ],
      "parameters": {
        "columns": {
          "value": {
            "Age": "={{ $('Webhook - Lead Capture').item.json.body.additionalData.ageRange }}",
            "Name": "={{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}",
            "Email": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
            "Phone": "={{ $('Webhook - Lead Capture').item.json.body.phone }}",
            "State": "={{ $('Webhook - Lead Capture').item.json.body.additionalData.state }}",
            "Interest": "={{ $('Webhook - Lead Capture').item.json.body.interest }}",
            "Health Status": "={{ $('Webhook - Lead Capture').item.json.body.additionalData.healthStatus }}",
            "Coverage Needed": "={{ $('Webhook - Lead Capture').item.json.body.additionalData.coverageNeeded }}"
          },
          "mappingMode": "defineBelow"
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "YOUR_GOOGLE_SHEET_ID",
          "cachedResultName": "Lead Tracking Sheet"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "73e0b629-f6b2-4672-ab19-ed8468e3c86a",
      "name": "Sheets - Credit Repair",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1392,
        528
      ],
      "parameters": {
        "columns": {
          "value": {
            "Name": "={{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}",
            "Email": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
            "Phone": "={{ $('Webhook - Lead Capture').item.json.body.phone }}",
            "Details": "={{ $('Webhook - Lead Capture').item.json.body.additionalData.currentScore }} NegativeItems: {{ $('Webhook - Lead Capture').item.json.body.additionalData.negativeItems }}",
            "Interest": "={{ $('Webhook - Lead Capture').item.json.body.interest }}"
          },
          "mappingMode": "defineBelow"
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "YOUR_GOOGLE_SHEET_ID",
          "cachedResultName": "Lead Tracking Sheet"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "cee8f7b7-700a-44ec-96da-5f95234a8b03",
      "name": "Sheets - Recruitment",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1392,
        720
      ],
      "parameters": {
        "columns": {
          "value": {
            "Name": "={{ $('Webhook - Lead Capture').item.json.body.firstName }} {{ $('Webhook - Lead Capture').item.json.body.lastName }}",
            "Email": "={{ $('Webhook - Lead Capture').item.json.body.email }}",
            "Phone": "={{ $('Webhook - Lead Capture').item.json.body.phone }}",
            "Interest": "={{ $('Webhook - Lead Capture').item.json.body.interest }}"
          },
          "mappingMode": "defineBelow"
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "YOUR_GOOGLE_SHEET_ID",
          "cachedResultName": "Lead Tracking Sheet"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "da01d1ce-3074-4b10-b265-3e158339d0d2",
      "name": "Main Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        -112
      ],
      "parameters": {
        "color": 2,
        "width": 520,
        "height": 440,
        "content": "## How it works\n\nThis workflow automates personalized email responses for financial service leads captured from a landing page. When someone submits their information, the workflow:\n\n1. Captures lead data via webhook\n2. Routes them based on their selected interest (Business Funding, Life Insurance, Credit Repair, or Agent Recruitment)\n3. Generates a hyper-personalized AI email using their specific data (credit score, revenue, age, goals, etc.)\n4. Sends the email via Gmail with service-specific subject lines\n5. Logs all lead data to Google Sheets for tracking\n\nEach service path includes intelligent calculations (funding amounts, insurance premiums, credit repair timelines) based on the lead's actual information.\n\n## Setup steps\n\n1. **Webhook**: Replace the webhook path with your own and update your landing page form to POST data to this URL\n2. **OpenAI**: Add your OpenAI API credentials (all AI nodes use the same credential)\n3. **Gmail**: Connect Gmail OAuth2 and verify sender permissions\n4. **Google Sheets**: Create your tracking spreadsheet and update the Sheet ID in all append nodes\n5. **Personalization**: Replace all \"Your Name\", \"Your Company\", and service link placeholders throughout the AI prompts\n6. **Test**: Use the webhook test data to validate each path before going live\n\nBuilt by David Olusola | DaexAI"
      },
      "typeVersion": 1
    },
    {
      "id": "f7b5ac02-5592-44c4-904a-ee22180ebcc3",
      "name": "Webhook Data",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        352
      ],
      "parameters": {
        "color": 5,
        "width": 260,
        "height": 424,
        "content": "## Webhook expects\n\nJSON with firstName, lastName, email, phone, interest, and service-specific additionalData fields.\n\n**Business Funding**: creditScore, monthlyRevenue, businessLength, fundingPurpose\n\n**Life Insurance**: ageRange, hasDependents, healthStatus, coverageNeeded, state\n\n**Credit Repair**: currentScore, creditGoals, negativeItems\n\n**Recruitment**: hasExperience, isLicensed, interests, startTime"
      },
      "typeVersion": 1
    },
    {
      "id": "9070ac75-1fb6-40fd-9658-183fe765e68f",
      "name": "Routing Logic",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        176
      ],
      "parameters": {
        "color": 6,
        "width": 260,
        "height": 368,
        "content": "## Routes by interest\n\nSwitch node routes to 4 paths:\n- Business Funding\n- Life Insurance\n- Credit Repair\n- Agent Recruitment"
      },
      "typeVersion": 1
    },
    {
      "id": "472c7f4c-e908-4ec8-a149-e9b6d17bcd98",
      "name": "AI Generation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        816,
        -80
      ],
      "parameters": {
        "color": 5,
        "width": 260,
        "height": 360,
        "content": "## AI email generation\n\nGPT-4o-mini generates custom emails using lead data. Calculates funding amounts, premiums, or timelines based on their profile.\n\nOutputs raw HTML templates.\n\nCustomize prompts to match your brand voice."
      },
      "typeVersion": 1
    },
    {
      "id": "6fe1964b-1630-4262-8e37-6c60e007c0ad",
      "name": "Email Delivery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1088,
        -48
      ],
      "parameters": {
        "color": 6,
        "width": 260,
        "height": 356,
        "content": "## Gmail automation\n\nSends personalized emails with dynamic subject lines.\n\nRemove attribution footer in options.\n\nTest deliverability before going live."
      },
      "typeVersion": 1
    },
    {
      "id": "9253f478-4102-4253-9700-73ff2bed2b87",
      "name": "Data Tracking",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        -32
      ],
      "parameters": {
        "color": 5,
        "width": 260,
        "height": 344,
        "content": "## Lead logging\n\nSaves contact info and service details to Google Sheets for follow-up tracking.\n\nCreate separate sheets per service OR use one sheet with filtered views."
      },
      "typeVersion": 1
    },
    {
      "id": "42927f85-6ab0-45bb-b2e5-99d35a72e43c",
      "name": "Extensions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        32
      ],
      "parameters": {
        "color": 6,
        "width": 260,
        "height": 388,
        "content": "## Extend this workflow\n\nAdd:\n- SMS notifications\n- CRM integration\n- Follow-up sequences\n- Slack alerts\n- Calendar booking\n\nMonitor AI costs and track conversion rates.\n\nA/B test subject lines and email templates."
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Route by Interest": {
      "main": [
        [
          {
            "node": "AI - Business Funding Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI - Life Insurance Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI - Credit Repair Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI - Recruitment Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Recruitment": {
      "main": [
        [
          {
            "node": "Sheets - Recruitment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Credit Repair": {
      "main": [
        [
          {
            "node": "Sheets - Credit Repair",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI - Recruitment Email": {
      "main": [
        [
          {
            "node": "Gmail - Recruitment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Life Insurance": {
      "main": [
        [
          {
            "node": "Sheets - Life Insurance",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook - Lead Capture": {
      "main": [
        [
          {
            "node": "Route by Interest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI - Credit Repair Email": {
      "main": [
        [
          {
            "node": "Gmail - Credit Repair",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Business Funding": {
      "main": [
        [
          {
            "node": "Sheets - Business Funding",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI - Life Insurance Email": {
      "main": [
        [
          {
            "node": "Gmail - Life Insurance",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI - Business Funding Email": {
      "main": [
        [
          {
            "node": "Gmail - Business Funding",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Automatically route and nurture leads for Business Funding, Life Insurance, Credit Repair, and Agent Recruitment with hyper-personalized AI-generated emails. Lead Capture via Webhook Your landing page submits lead data (name, email, phone, interest, service-specific details) to…

Source: https://n8n.io/workflows/12719/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Instantly map all internal URLs, perform AI-powered (ChatGPT) analysis, and deliver results in HTML via webhook, Google Sheets, or email. All from your own n8n instance!

OpenAI, HTTP Request, XML +3
AI & RAG

Watch on Youtube▶️

HTTP Request, Email Send, Google Sheets +3
AI & RAG

This is for creators who run Patreon and/or Kofi pages, support donations and want to automate their communication process.

Gmail, Google Sheets, OpenAI
AI & RAG

Imagine your recruitment process transformed into a sleek, efficient, AI-powered assembly line for talent. That's exactly what this system creates. It automates the heavy lifting, allowing your human

Google Sheets, OpenAI, Gmail +2
AI & RAG

Transform customer feedback into actionable insights automatically with AI analysis, professional PDF reports, personalized emails, and real-time team notifications. Overview Features Demo Prerequisit

OpenAI, Gmail, Google Sheets +2