Templates / Qualify WordPress Contact Form 7 leads with Gemini, HubSpot, and Slack

Qualify WordPress Contact Form 7 leads with Gemini, HubSpot, and Slack

Ready for 3.0

by Mateusz Skorupa · 3 views · created 2026-09-29 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini Chat Model, HubSpot and Slack. It also calls api.hubapi.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Settings (Edit Fields (Set)): sets 8 fields: business, hot_score, sales_channel…
  2. Lead Fields (Code): runs custom JavaScript code
  3. Qualify Lead (Information Extractor): extracts structured fields from text with AI, with model: Gemini Chat Model
  4. Lead Verdict (Code): runs custom JavaScript code
  5. Route Lead (Switch): routes items into 3 branches
  6. Has Email (If): checks a condition and branches into true / false
  7. Notify Support (Slack): uses Slack
  8. Save to HubSpot (HubSpot): create or update (contact)
  9. Sales Alert (Code): runs custom JavaScript code
  10. Contact Saved (If): checks a condition and branches into true / false

…plus 2 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelHubSpotSlack

HTTP calls to: api.hubapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick overview Gemini reads every Contact Form 7 submission and sorts it into lead, support or spam. Leads are scored from 1 to 5 and saved to HubSpot with a note, support requests go to their own Slack channel, and spam never reaches your CRM. How it works…

Excerpt from Mateusz Skorupa's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.