Every contact request qualified, saved to the CRM and flagged when it's hot
Whenever someone fills in your contact form, the agent scores the fit with your ideal customer, saves the contact in HubSpot and, for a hot lead, alerts you on Slack with a reply draft ready.
- Difficulty
- Intermediate
- Setup time
- ≈ 1.5 h (estimate)
- Estimated cost
- HubSpot CRM free plan possible; n8n: €0 self-hosted or from €20/month (Starter, billed annually) + OpenAI API calls
- Category
- Marketing
⏱ Trigger
New contact-form submission (event)
✋ Human approval
Nothing is sent to the lead: the reply stays a draft until you review it.
→ Output
Enriched HubSpot contact + Slack alert + Gmail draft (hot leads)
Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.
01Connected tools
02What the agent does on its own
- step 01
Receives the request (name, work email, website, message) through an n8n form embedded in or linked from your site.
- step 02
Has the company's industry and size estimated, the fit with your ideal customer scored (0 to 100) and the lead ranked hot, warm or cold.
- step 03
Creates or updates the contact in HubSpot with the summary, score and priority.
- step 04
For a hot lead: posts a detailed alert on Slack and creates a reply draft in Gmail.
03Agent instructions
> My ideal customer: {IDEAL_CUSTOMER_DESCRIPTION}. Request received: {NAME}, {EMAIL}, {WEBSITE}, "{MESSAGE}". Return JSON {"industry":"…","size":"…","score":0-100,"priority":"hot|warm|cold","reasons":"…","reply":"…"}. If information is missing, write "unknown" instead of guessing. The reply is under 120 words and suggests a call.04Limits and legal points
Industry and size are model estimates: check them before relying on them. State on the form how the data will be used. Personal data: check your LLM provider's data-processing terms (GDPR) and send it as little as possible.
05In short
- When does the agent run, and what does it produce?
- Trigger: New contact-form submission (event). Output: Enriched HubSpot contact + Slack alert + Gmail draft (hot leads).
- What stays under your control?
- Nothing is sent to the lead: the reply stays a draft until you review it. Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.
- How much does it cost and how long does setup take?
- Estimated cost: HubSpot CRM free plan possible; n8n: €0 self-hosted or from €20/month (Starter, billed annually) + OpenAI API calls. Setup time: ≈ 1.5 h (estimate), difficulty "intermediate". Tools: n8n – Form Trigger, n8n – OpenAI, n8n – HubSpot, n8n – Slack, n8n – Gmail.
Answers taken from this recipe · updated 19 October 2026
06Source
https://n8n.io/workflows/16386-qualify-inbound-leads-with-openai-hubspot-slack-and-gmail/
07Related recipes
Same category or same connected tools.