Skip to main content

Qualify & reach out to B2B leads with Groq AI, Apollo, Gmail & Sheets

Workflow preview

Workflow preview
100%
Qualify & reach out to B2B leads with Groq AI, Apollo, Gmail & Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow contains community nodes that are only compatible with the self hosted version of n8n. How it works This workflow captures new lead information from a web form, enriches it with Ap...

Best for

  • Lead Generation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.gmailtool, @n8n/n8n-nodes-langchain.lmchatgroq, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.googlesheets, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by VKAPS IT.

Original n8n.io source

1.1 Workflow description

Title
Qualify & reach out to B2B leads with Groq AI, Apollo, Gmail & Sheets
Workflow name
Qualify & reach out to B2B leads with Groq AI, Apollo, Gmail & Sheets

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

🎯 How it works This workflow captures new lead information from a web form, enriches it with Apollo.io data, qualifies the lead using AI, and—if the lead is strong—automatically sends a personalized outreach email via Gmail and logs the result in Google Sheets.

🛠️ Key Features 📩 Lead form capture with validation

🔍 Enrichment via Apollo API

🤖 Lead scoring using AI (LangChain + Groq)

đź“§ Dynamic email generation & sending via Gmail

📊 Logging leads with job title & org into Google Sheets

✅ Conditional email sending (score ≥ 6 only)

đź§Ş Set up steps

  • Estimated time: 15–20 minutes

  • Add your Apollo API Key to the HTTP Header credential (never hardcode!)

  • Connect your Gmail account for sending emails

  • Connect your Google Sheets account and set up the correct spreadsheet & sheet name

  • Enable LangChain/Groq credentials for lead scoring and AI-generated emails

  • Update the form endpoint to your live webhook if needed

📌 Sticky Notes

  • Add the following mandatory sticky notes inside your workflow:

  • FormTrigger Node: "Collects lead info via form. Ensure your form is connected to this endpoint."

  • HTTP Request Node: "Enrich lead using Apollo.io API. Add your API key via header-based authentication."

  • AI Agent (Lead Score): "Scores lead from 1-10 based on job title and industry match. Only leads with score ≥ 6 proceed."

  • AI Agent (Email Composer): "Generates a concise, polite email using lead’s job title & company. Modify tone if needed."

  • Google Sheets Append: "Logs enriched lead with job title, org, and LinkedIn URL. Customize sheet structure if needed."

  • Gmail Node: "Sends personalized outreach email if lead passes score threshold. Uses AI-generated content."

💸 Free or Paid? Free – No paid API services are required (Apollo has a free tier).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - HTTP Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 4 - Send a message in Gmail

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.1

Block 5 - Groq Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 7 - Append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 8 - AI Agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 9 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Groq Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 11 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 12 - Google Sheets Trigger

Type / Role
n8n-nodes-base.googleSheetsTrigger - googleSheetsTrigger
Config choices
Version 1

3. Summary Table

Workflow Qualify & reach out to B2B leads with Groq AI, Apollo, Gmail & Sheets
Complexity intermediate
Nodes 12
Categories Lead Generation, Multimodal AI
Author VKAPS IT
Published 10 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5832/5832.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Qualify & reach out to B2B leads with Groq AI, Apollo, Gmail & Sheets do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. How it works This workflow captures new lead information from a web form, enriches it with Ap...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, Multimodal AI use case.