Use Clearbit & Gmail in n8n to Automate B2B Lead Follow-Up

This n8n workflow automates handling B2B contact form submissions by enriching business emails with Clearbit, filtering non-business contacts, and sending personalized Gmail responses for qualified leads, saving time and avoiding manual errors.
clearbit
gmail
formTrigger
+5
Workflow Identifier: 2036
NODES in Use: Form Trigger, Clearbit, If, Gmail, Set, Filter, NoOp, Sticky Note
Automate lead follow-up with n8n and Clearbit

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does ⚙️

This workflow takes contact form submissions and picks only good business leads.
It filters out personal email addresses like @gmail.com.
It uses Clearbit APIs to find details about the person and company behind the email.
Then it checks if the company is big and B2B, with more than 499 employees.
If yes, it sends a thank-you email to the lead.
If no, it does nothing.
This saves time and helps sales teams react fast to important leads.


Who should use this workflow

Teams that get many contact form leads and need to focus on big business clients first.
Sales operations, marketing teams, or anyone handling lead qualification manually will find this useful.
It helps avoid wasting time on personal emails or small companies.
It works best if you want fast, automated replies for qualified enterprise prospects.


Tools and services used

  • n8n Form Trigger: Captures form submissions automatically.
  • Filter node: Removes personal email domains like @gmail.com, @yahoo.com, etc.
  • Clearbit Person API: Finds person details from business email.
  • Clearbit Company API: Gets company info such as employee count and tags.
  • If node: Checks if company is B2B and has more than 499 employees.
  • Gmail node: Sends personalized follow-up email to qualified leads.
  • NoOp node: Silently ignores leads that fail qualification.

Input → Process → Output

Input

  • Contact form submission including business email and role.

Processing Steps

  • Map email field for consistent data.
  • Filter out personal email domains.
  • Use Clearbit Person API to enrich person info.
  • Use Clearbit Company API to enrich company info.
  • Check if company is B2B and has >499 employees.
  • If qualified, send thank-you email.
  • If not qualified, end workflow silently.

Output


Beginner step-by-step: How to use this workflow in n8n

1. Download and import the workflow

  1. Click the Download button on this page to get the workflow file.
  2. Open your n8n editor where you manage workflows.
  3. Choose Import from File and upload the downloaded workflow file.

2. Configure credentials and settings

  1. Add your Clearbit API Key in the Clearbit credentials section.
  2. Set Gmail OAuth2 credentials for sending emails.
  3. Update any IDs, emails, or channel info if the workflow uses hardcoded values.

3. Test and activate the workflow

  1. Submit a test form entry with a business email to make sure all nodes run correctly.
  2. Check execution logs for errors and fix if needed.
  3. Switch the workflow status to Active to start live processing.

You are now ready to use this workflow to screen leads automatically and respond to qualified ones fast.

If you want full control over server resources, consider self-host n8n.


Customization ideas ✏️

  • Change the employee count in the If node to target different sized companies.
  • Modify the Gmail message to add calendar invites or HTML formatting.
  • Add more personal email domains to the filter node to block additional non-business leads.
  • Include extra Clearbit fields like company revenue or funding for richer qualification.
  • Replace Form Trigger with other form providers by updating webhook URL and field mapping.

Common issues and solutions 🔧

Issue: No data from Clearbit Person API

The email address may be personal or invalid.
Check personal email filtering and Clearbit API key validity.

Issue: Emails not sending

Check Gmail OAuth2 credentials and daily send limits.
Try reauthorizing Gmail credentials in n8n.

Issue: Workflow not triggering on form submission

Verify webhook URL in Form Trigger node matches the form submission URL.
Test webhook manually to confirm connection.


Pre-production checklist ✅

  • Test Clearbit API calls with your API Key.
  • Submit test forms with different emails to verify filtering.
  • Send test emails through Gmail node to confirm setup.
  • Review If node logic for correct qualification.
  • Export and back up the workflow and credentials before live use.

Deployment guide

Enable all nodes.
Switch workflow to Active.
This opens webhook to receive real form submissions.

Monitor executions regularly for errors.
If using self-host n8n, set up alerts for uptime.


Summary

✓ This workflow takes contact form emails and finds good business leads.
✓ It filters out personal emails from free providers.
✓ It uses Clearbit APIs to get info about leads fast.
✓ It sends thank-you emails only to big, B2B companies.
→ You save hours every week and reply quickly to important leads.
→ Your sales team can focus on valuable prospects.


Automate lead follow-up with n8n and Clearbit

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, n8n supports multiple email providers like SMTP and Outlook. You must configure those credentials inside n8n.
Yes, each person and company data call consumes Clearbit API credits based on the subscription plan.
Yes, n8n stores credentials securely. Follow Clearbit data privacy policies when processing personal information.
Yes, n8n supports scaling to handle large workloads, especially when using self-host n8n setups.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.