HubSpot
Make every lead capture form, contact form, ticket creation form, and feedback survey on your HubSpot portal callable by Breeze AI agents, without touching a single form. Paste one script tag into the custom HTML tracking code section and you're done.
Works with Breeze AI agents
⏱ ~5 min to deploy
All pages, all portals
1
Add the script via HubSpot tracking code
-
1
In your HubSpot portal, go to Settings (gear icon, top right).
-
2
In the left sidebar, navigate to Website › Pages, then click the Tracking & Analytics tab (or search "Custom HTML" in the settings search bar).
-
3
In the Additional code snippets section, choose Footer HTML: all pages and paste the snippet below.
-
4
Click Save. The script will load on every published HubSpot page.
-
5
Open any page with a form and check the browser console. You should see
[auto-webmcp] registered N tools.
<script src="https://cdn.jsdelivr.net/npm/auto-webmcp@0.2.1/dist/auto-webmcp.iife.js" async></script>
That's it. One line. auto-webmcp auto-initialises on load and registers every <form> on the page.
2
Alternative: per-page via CMS module
If you prefer per-page control, you can add the script tag through HubSpot's drag-and-drop page editor using a Custom HTML module.
-
1
Open the page in the HubSpot page editor.
-
2
Drag a Custom HTML module anywhere on the page (it renders no visible content).
-
3
Paste the same
<script>tag above into the module's HTML field. -
4
Publish the page.
3
What gets registered automatically
HubSpot form types that become AI-callable out of the box
- Lead capture forms: name, email, company, phone, lead source
- Contact forms: enquiry type, message, preferred contact method
- Ticket creation: subject, description, priority, category
- Feedback surveys: NPS, CSAT, open text responses
- Meeting / demo request forms: date, team, agenda
- Newsletter signup: email, subscription preferences
HubSpot Forms JS (forms.js) compatibility: HubSpot embeds forms via an
iframe by default. If you use HubSpot's native embed code, make sure the form is rendered
directly in the page DOM (not inside an iframe) by selecting Inline rendering
in the form settings. auto-webmcp cannot cross iframe boundaries.
4
Optional: enrich with spec attributes
For HubSpot CMS templates, add these attributes directly to the
<form> element in your HubLang template file to give
Breeze AI agents a precise description of what each form does.
<form id="demo-request-form" toolname="request_product_demo" tooldescription="Schedule a product demo. Requires name, email, company size, and preferred time slot." toolautosubmit="true" > ... </form>
Next steps