Qualify WPForms leads in HubSpot with Slack alerts

When someone fills out your WPForms inquiry, an agent researches their company, scores the lead, files it in HubSpot, and pings sales in Slack.

Agentic Task
WPFormsHubSpotSlackSalesMarketingLead EnrichmentNotifications & AlertsData Sync

Build me an agent that turns every new WPForms inquiry into a qualified HubSpot record and a Slack alert in our sales channel. Trigger: WPForms Subscribe to Form Entries (webhook). I'll pick the specific form and field mapping at setup.

When a submission arrives, parse out the lead's name, work email, company (or fall back to the email domain), phone, and the message they wrote. Then branch on the email address:

If the email is from a free-mail provider (gmail.com, yahoo.com, outlook.com, hotmail.com, icloud.com, aol.com, proton.me, live.com, msn.com), skip enrichment. Just use HubSpot Create Contact to add the person with whatever fields are present, then jump to the Slack step.

Otherwise, do a quick web lookup on the company domain to enrich firmographics. Pull industry, approximate headcount, and headquarters location. Use this plus the message they sent to assign a lead-quality score from 0 to 100 with a one-sentence plain-English reason (for example: 'mid-market SaaS in the US, message mentions evaluating vendors this quarter, score 82').

Then use HubSpot Create Contact to add the person to the CRM with email, first name, last name, company, phone, and lifecycle stage of 'lead'. Use HubSpot Create Note to attach a note to that contact containing the enrichment summary, the score, the reason, and every field from the original WPForms submission so an AE has full context in one place.

If the score is at or above a configurable threshold (default 70), use HubSpot Create Deal to open a new deal associated with the contact. Use the company name in the deal title, set the pipeline and stage I configure, and leave the amount blank for the AE to fill in.

Finally, use Slack Send a Message to post in my sales channel (default #sales-inbound, configurable) with a tagged alert. The message should include the contact's name and company, the score and one-line reason, whether a deal was opened, and a direct link to the HubSpot contact (and deal if created) so an AE can pick it up immediately.

Make these configurable inputs: WPForms form ID and field mapping, free-mail domain list, score threshold for opening a deal, HubSpot pipeline and deal stage, Slack channel, and the Slack user or group to tag in the alert.

Additional information

What does this prompt do?
  • Watches your WPForms inquiry form for new submissions and reacts in real time.
  • Looks up the company behind a business email and pulls industry, headcount, and location.
  • Scores each lead and saves the reasoning to a HubSpot note alongside the original form answers.
  • Opens a HubSpot deal automatically when the score clears your bar, and tags your sales channel in Slack with a direct link to the record.
What do I need to use this?
  • A WordPress site running WPForms Pro with the inquiry form you want to capture.
  • A HubSpot account where contacts, notes, and deals can be created.
  • A Slack workspace and the channel where new leads should be announced.
How can I customize it?
  • Pick which WPForms form to listen to and map its fields to name, work email, company, and message.
  • Raise or lower the score threshold that decides when a HubSpot deal gets opened automatically.
  • Change the Slack channel, the user or group to tag, and the wording of the alert.

Frequently asked questions

Will this work for any WPForms form?
Yes. Point the agent at the form you use for sales inquiries and tell it which fields are the name, work email, company, and message. You can swap the form later without rebuilding the workflow.
What happens when someone uses a personal email address?
If the email is from a free provider like Gmail, Yahoo, Outlook, or iCloud, the agent skips the company research step and just creates a basic contact in HubSpot. You still get the Slack alert so nothing slips through.
Can I change the score that opens a deal?
Yes. You set the threshold when you connect the workflow, and you can raise or lower it any time. Leads above the bar get a HubSpot deal created automatically; everything else stays as a contact with a note.
Will this create duplicate contacts in HubSpot?
The agent uses HubSpot's standard create flow, which keys off email. If the person already exists, HubSpot will surface the conflict so you can review rather than silently overwriting their record.
Which Slack channel does the alert go to?
Whatever channel you choose at setup. The agent posts a tagged message with the lead's name, company, score, the reason in plain English, and a clickable link straight to the HubSpot contact and deal.

Stop letting inbound leads go cold.

Connect WPForms, HubSpot, and Slack once, and every form submission lands in your CRM qualified and announced to sales in seconds.