What this workflow does
This workflow takes business email addresses from online form submissions and automatically checks if they are real. It then scores the leads to find who might be the best customers. If a lead scores over 60 on customer fit, the workflow sends an alert email. This stops wasting time on fake or weak leads and helps focus on strong prospects fast.
Who should use this workflow
Users with many contact form submissions who want to save time on sorting contacts.
Sales managers and teams needing quick lead qualification and notification.
Anyone wanting to avoid contacting invalid emails or low potential prospects.
Tools and services used
- n8n Form Trigger: Captures email from form submissions.
- Hunter Email Verifier API: Checks if email addresses are valid.
- NoOp node: Stops processing of invalid or low-score leads.
- MadKudu API (HTTP Request node): Scores leads by customer fit based on email.
- Gmail node: Sends notification email about hot leads.
How this workflow works
Inputs
The workflow starts when someone submits a business email in the web form.
Processing steps
First, email verification checks the email valid or not using Hunter.
If invalid, the workflow skips the lead using the NoOp node.
If valid, the workflow requests MadKudu to score the lead.
MadKudu returns a customer fit score.
Then, an If node checks if score is over 60.
If low, the NoOp node stops processing.
If high, Gmail node sends an alert email about the lead.
Outputs
The output is a notification email sent to the sales team about hot leads only.
Beginner step-by-step: How to use this workflow in n8n
Step 1: Import the workflow
- Download the workflow file by clicking the Download button on this page.
- In n8n editor, click the menu and select “Import from File.” Choose the downloaded workflow file.
Step 2: Configure credentials and settings
- Open each node needing credentials and add your API Keys for Hunter and MadKudu.
- In the Gmail node, connect your Gmail account with OAuth2 credentials.
- Update any email addresses in the Gmail node for who should receive notifications.
- If needed, change form field names to match your form data.
Step 3: Test and activate
- Submit a test contact form entry with a valid email to check workflow runs properly.
- Look for the notification email if the lead score is above 60.
- When testing is done, activate the workflow to run automatically in production.
If hosting on your own server, visit self-host n8n for more options.
Handling errors and edge cases
- If Hunter API fails or returns no status, check API keys and ensure email data is mapped correctly.
- If no emails arrive from Gmail, reauthenticate Gmail OAuth2 and verify recipient address.
- When MadKudu API returns 401 Unauthorized, update API credentials and check authentication settings.
- NoOp nodes safely stop workflow for invalid emails or low lead scores, preventing errors.
Customization ideas
- Replace the Form Trigger node with other form services like Typeform or Google Forms.
- Change lead scoring threshold by editing the If node comparing score > 60.
- Send notification emails to different salespeople based on lead data by dynamically setting recipient in Gmail node.
- Add a Slack node after scoring to post hot lead alerts in a sales channel.
Summary of the workflow result
✓ Automates lead validation and scoring quickly.
✓ Notifies sales only about high-potential leads.
→ Saves hours of manual work daily.
→ Focuses outreach on better leads to help close more sales.
