What it does
- Watches your demo request Google Form and runs the moment a new response arrives.
- Builds a one-paragraph profile of the company from their own website, including industry, size signals, and what they have published lately.
- Creates the company and contact in HubSpot, with the domain and industry filled in so the rep does not have to.
- Posts a Slack alert with the profile and clickable links to the new HubSpot records, so reps can reach out within minutes.
The prompt
Paste it into a new chat in General Input, and a specialist builds it with you.
Build me an inbound lead enrichment agent that runs on every new demo request submission. Trigger: poll Google Forms for a new_response on my demo request form.
For each new response, do the following:
1) Pull the submitter's name, work email, and any company website field. If there is no website, extract the domain from the work email. Skip the run if the email is on a free email provider (gmail.com, outlook.com, yahoo.com, hotmail.com, icloud.com, proton.me, aol.com, etc.) or if the submission is obvious junk (single-letter names, role-only emails like info@, test entries).
2) Call Diffbot Analyze URL (Auto-detect Page Type) on the company homepage to classify the page and extract structured data. If Diffbot classifies the homepage as an article hub, blog, or list, also call Diffbot Extract Article on the most recent post on that site to get a feel for what they publish.
3) Synthesize a one-paragraph company profile that covers what the company does, likely industry, any signs of size or stage (team page hints, customer logos, funding mentions), and a recent product or content angle pulled from the article extraction. Keep it tight, four to six sentences, written for a sales rep skimming on mobile.
4) Create the records in HubSpot. Use HubSpot Create Company with the company name, domain, and inferred industry. Use HubSpot Create Contact for the form submitter with their email, first and last name, and associate the contact to the new company. Capture the returned HubSpot company id and contact id so we can link to them.
5) Post a Slack alert with Slack Send a Message to the lead alerts channel. Include the company profile paragraph, the form responses (any qualifying questions the submitter answered), and clickable links to the new HubSpot company and contact records so a rep can pick it up immediately.
Integrations to use: Google Forms (trigger), Diffbot (Analyze URL plus optional Extract Article), HubSpot (Create Company, Create Contact), Slack (Send a Message). Make the Slack channel, the skip rules for free email domains, and the profile tone easy to edit at the top of the agent's instructions.
What you'll need
- A Google account with access to the demo request form.
- A HubSpot account where new companies and contacts can be created.
- A Slack workspace and the channel where you want lead alerts to land.
- A Diffbot account for the company website analysis.
Make it yours
- Change the Slack channel, or DM a specific rep instead of posting to a shared channel.
- Tweak the skip rules for free email domains and obvious junk submissions.
- Adjust the company profile style, for example shorter, more sales-flavored, or focused on a specific industry angle.