Auto-enrich new HubSpot leads with their tech stack

By General Input

The moment a contact lands in HubSpot, pull their company's tech stack, score ICP fit, and ping a Slack channel so reps can act in seconds.

Integrations

  • HubSpot
  • BuiltWith
  • Slack

Type

Agentic Task

Categories

  • Sales
  • Operations

Build me an agent-style workflow that enriches every new HubSpot contact with their company's tech stack the moment they are created, then alerts my sales team in Slack.

Trigger: a HubSpot outgoing webhook for new contact creation. When the webhook fires, the workflow receives the contact's properties (email, first name, last name, company name, HubSpot contact ID, associated company ID if any) and the agent starts.

Step 1. Read the email address from the contact and extract the domain. If the domain is a personal email provider (gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, yahoo.com, aol.com, icloud.com, proton.me, protonmail.com), stop immediately and exit. We only enrich real company leads.

Step 2. If the contact has no email but does have a company name, call BuiltWith's Company to URL API with the company name to find the most likely root domain. If neither email nor company name is present, stop and exit. Otherwise, use the email domain as the root domain to look up.

Step 3. Call BuiltWith's Domain API Lookup on the root domain. Pull the full technology profile: technologies grouped by category (ecommerce, payments, analytics, CRM, marketing automation, hosting, CDN, ads), the meta block (company name, country, social profiles, employee and revenue estimates), and any spend estimates BuiltWith returns.

Step 4. Reason about fit against my ICP. My ICP is: [REPLACE WITH YOUR ICP, e.g. 'growth-stage ecommerce brands on Shopify Plus doing more than $5M GMV']. Identify the three or four most telling technologies, the ones that signal fit, not generic ones like jQuery or Google Fonts. Assign a fit rating using emoji: 🔥 high fit, 👍 medium fit, ❄️ low fit, with a one-sentence reason.

Step 5. Use HubSpot's Create Note operation to write a structured tech-stack summary into HubSpot. Associate the note with both the contact and the associated company so it appears in both timelines. Format the note body as:

• Tech stack summary (4 to 6 most relevant technologies). • Vendor signals broken out by ecommerce platform, payments, analytics, marketing automation, and CRM. • Estimated tech spend if BuiltWith provided it. • Fit rating with the one-line reason. • Detected company size, country, and social links from BuiltWith's meta block. • Source: BuiltWith Domain API, with the lookup timestamp.

Step 6. Use Slack's Send a Message operation to post a punchy alert to the #new-leads channel. Keep it under five lines so a rep can act on it in seconds:

• Line 1: company name, domain, and fit rating emoji. • Line 2: the three or four most relevant detected technologies, comma-separated. • Line 3: one-line fit reason. • Line 4: a routing suggestion (for example 'Route to ecommerce SDR pod', 'Send to enterprise AE', 'Auto-nurture, low fit'). • Line 5: a link to the HubSpot contact record.

Keep the Slack alert short and scannable. No headers, no preamble, no markdown tables. The HubSpot note is where the long-form detail lives, Slack is where the call to action lives.

Edge cases: if BuiltWith returns no technologies (small site, parked domain, or an error), still post the Slack alert with a '❄️ Unknown stack, manual review' note so the lead does not silently fall through the cracks. If the HubSpot contact has no associated company yet, attach the note to the contact only.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredTurn Mailjet email clicks into ranked HubSpot follow-upsiMessage campaign console with pre-flight checks and delivery boardChat quality review board for LiveChat support leadsA searchable RFP answer library your bid team drafts fromSee which target accounts just started advertising on LinkedInAccount health board that puts product usage next to your CRMLook up a customer's full chat history mid conversationLusha prospecting workbench with credit-safe reveals