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

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

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

  • Personalized email sent to qualified enterprise leads.
  • No email sent for personal or small company leads.

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.


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 Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free