Enrich new HubSpot companies with tech stack and hiring data
When a new company lands in HubSpot, automatically add its tech stack, open roles count, and a hiring snapshot note so reps can act immediately.
Build a code workflow that automatically enriches every new company in my HubSpot CRM with TheirStack data.
Trigger: a HubSpot webhook that fires whenever a new company record is created. The payload will include the company ID and (depending on subscription) the domain.
For each new company:
1. Resolve the company's primary domain. If the webhook payload does not include it, fetch the company from HubSpot by ID and read the domain property. If there is no domain, exit early.
2. Call TheirStack Get Company Technographics with that domain to retrieve the full tech stack with confidence and mention counts. Keep the top 5 to 10 technologies ranked by confidence.
3. Call TheirStack Search Jobs scoped to the same company domain (company_domain_or) with posted_at_max_age_days = 30. Aggregate the total open roles count and pick the top hiring function (engineering, sales, marketing, operations, etc.) based on the job titles returned.
4. Use HubSpot Update Company to write structured fields back to the same company record: top technologies as a tag-style list, total open roles as a number, and top hiring function as a single value. Skip the write if TheirStack returned no data for a given field so existing values are not blanked out.
5. Use HubSpot Create Note associated with the company to attach a one-paragraph hiring snapshot summarizing the recent postings (a handful of representative titles, locations, and posted dates). Only create the note if there were jobs in the last 30 days.
Every step is deterministic with known inputs and outputs (webhook, then two TheirStack lookups, then two HubSpot writes), so this should be a pure code workflow with no agent reasoning. Handle the case where TheirStack returns no technographics or no jobs by skipping that step cleanly.
What does this prompt do?
- Triggers the moment a new company is created in HubSpot, so enrichment never falls behind.
- Looks up the company's tech stack and recent hiring activity over the last 30 days.
- Writes the top technologies, total open roles, and top hiring function back to the company record.
- Attaches a one-paragraph hiring snapshot note to the company so reps see the story without leaving HubSpot.
What do I need to use this?
- A HubSpot account where you can authorize a connection and write to company records and notes.
- A TheirStack account and API key (the technographics and job search features are required).
- Company records in HubSpot that have a domain populated, since the workflow looks up by domain.
How can I customize it?
- Change the hiring lookback window (30 days by default) to match how quickly your team wants signals.
- Pick which company properties get written, like adding a tag when a specific technology is detected.
- Filter which companies get enriched, for example only those with a domain or based in certain regions.
FAQs
Does this run on companies that are already in HubSpot, or only new ones?
What happens if TheirStack has no data for a company?
Will this work on HubSpot Free?
How do I change the 30 day hiring lookback?
Will it overwrite values I already entered?
Related templates
Pick a client and a date range to see sent, replies, meetings booked and the real deal value your cold email produced, campaign by campaign.
Work every partner tier decision from one board, with the revenue and commission numbers, clear promotion thresholds, and AI review briefs.
Open one board at month end to find every closed deal missing a commission, every commission with no deal behind it, and every amount that does not add up.
Open one board each morning to see which of your accounts are hiring, what they are building, and where your product fits the roles they just opened.
Open a live deal, see the market pay range for that role and city, set your markup, and write the agreed numbers straight back onto the deal.
Work every unanswered Instagram comment, Reel reply and Direct message from one queue, with claimed rows so two people never answer the same person.
Stop researching new companies by hand.
Connect HubSpot and TheirStack once, and every new company gets its tech stack and hiring signals added automatically.