Lead Generation · n8n

Score and Filter Spam From Website Form Submissions With AI

Stop junk leads from cluttering your CRM — AI scores each form submission for spam likelihood and only genuine leads pass through to sales.

difficulty Intermediatesetup 30 minresult Only real, actionable leads reach your CRM and sales team, keeping your pipeline clean.
  1. 1

    Receive Submissions

    Add a Webhook node that your website form posts to with name, email and message.

  2. 2

    Score for Spam

    Add an OpenAI node returning a 0-100 spam score based on the message content and email pattern.

  3. 3

    Filter the Junk

    Add an IF node discarding submissions above your spam threshold and logging them separately.

  4. 4

    Create the Lead

    Add a HubSpot node creating a contact only for submissions that pass the check.

  5. 5

    Activate and Test

    Activate the workflow and submit both a real and a spammy message. Confirm only the genuine one reaches HubSpot.

Frequently asked questions

Won't it reject real leads?

Set a conservative threshold and log borderline cases for review so nothing genuine is silently dropped.

Can I add a honeypot too?

Yes — combine a hidden honeypot field with the AI score for stronger, cheaper spam filtering.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.