Connect HubSpot to your Wiro AI agent
Contacts, companies, deals, tickets and notes in HubSpot CRM, with segments, campaigns and marketing email drafts.
Before the pipeline meeting: which open deals have gone two weeks without any activity, and who owns them?
Four open deals have had no activity for 14 days or more, $96,500 in all:
- Brightwell Robotics, 40 seats: $38,000, Contract sent, Priya Nair
- Pebblecreek Dental renewal: $27,500, Decision maker bought-in, Marco Ruiz
- Kettleby Freight pilot: $18,000, Presentation scheduled, Priya Nair
- Oakline Architects: $13,000, Qualified to buy, Ellie Chen
Priya's two are also past their close dates, so raise those first.
Overview
What HubSpot does for your agent
Works on HubSpot's own MCP server, signed in as one HubSpot user. The agent searches and reads contacts, companies, deals, tickets and other records, creates and updates them, logs notes and activities, manages segments and drafts marketing emails. HubSpot decides which tools an account gets, by its subscription and by the signed-in user's permissions.
Use cases
What your Wiro agent can do with HubSpot
- 01
Log a sales call on the right contact and deal
Paste your call notes in Chat. The agent finds the contact, the company and the deal in HubSpot, logs the notes on them, adds a follow-up task with a due date and moves the deal to the stage the call settled. By default, each of those changes waits for your approval in Chat.
- 02
A Monday pipeline review by stage and owner
A Scheduled Task reads your open deals every Monday morning and posts a summary in Chat: the amount in each stage, each owner's deals, the deals whose close date has passed and the ones with no activity in the last two weeks, so the pipeline meeting starts from the deals to chase.
- 03
A brief before a customer call
Name the company you are about to meet. The agent reads its HubSpot record, its contacts, open deals and tickets, recent notes and inbox conversations, and writes a short brief in Chat: where each deal stands, what the customer asked for last and which tickets are still open.
- 04
Fill the gaps in your contact records
Ask the agent for the contacts that have no owner or no lifecycle stage. It lists them in Chat with what it suggests for each, from their company's record and its owner, and once you approve, it updates those properties in HubSpot.
- 05
A segment and an email draft for a launch
Describe who should hear about a launch, for example contacts in Germany at the customer lifecycle stage. The agent searches HubSpot, shows you the count and a sample, creates a segment with those contacts and drafts the launch email as a HubSpot marketing email. You review the draft and send it to the segment from HubSpot.
- 06
See how last quarter's campaigns did
Ask in Chat how your campaigns performed. The agent reads each campaign's assets and results, HubSpot's campaign attribution report and the marketing email analytics, then sums it up in a table: sends, opens and clicks per email, and what HubSpot's attribution credits to each campaign.
How it works
How HubSpot works with Wiro
- 01
Connect HubSpot
Deploy an agent, open its Connectors tab, choose HubSpot and sign in with your HubSpot account.
- 02
Choose what each action may do
Set each HubSpot action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for HubSpot work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsOn mcp.hubspot.com, a server run by HubSpot. Your agent sends each request there.
- Where its data goes
mcp.hubspot.com - How it signs inSign in to HubSpot with Wiro's app or with your own app.
- ActionsListed after the first connection.
How to connect
Connect HubSpot to Wiro
Open the agent's Connectors tab, choose HubSpot and sign in with your account. The consent screen shows what the agent can reach.
Sign in to HubSpot as the user the agent should act as. If you have more than one HubSpot account, choose the one to connect.
Review the access HubSpot lists and approve it. The window closes and HubSpot reads as connected.
What the Connect dialog asks for
Pick one way in the Connect dialog: it asks only for what that way needs.
Wiro's ready-made app
Nothing to fill in: you sign in to HubSpot in its own window.
Your own app
Client ID and Client Secret from your own HubSpot app, then you sign in to HubSpot in its own window.
| Field | About |
|---|---|
| Client IDRequired |
|
| Client SecretRequired | Used only to sign in; the agent never receives it. |
Troubleshooting
Troubleshooting HubSpot
What to check when HubSpot stops working for your agent.
- Your own app's sign-in fails Check your app's settings in HubSpot: the redirect URL shown in the Connect dialog must be added there, and the client secret you pasted must be the app's current one. Then sign in again.
- Access revoked in HubSpot If the access is removed in HubSpot, or the sign-in can no longer renew, the connection reads Reconnect needed. Open the agent's Connectors tab, choose HubSpot and Reconnect.
- Limits set by HubSpot HubSpot limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your HubSpot plan.
For developers
Connect HubSpot from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "hubspot" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "hubspot", "title": "HubSpot", "category": "crm", "authtype": "oauth", "credentialfields": [ { "name": "clientid", "label": "Client ID", "required": true, "secret": false, "format": "text" }, { "name": "clientsecret", "label": "Client Secret", "required": true, "secret": true, "format": "password" } ], "tools": [] } ] } - 02
Start the sign-in
Connect answers with the vendor's sign-in page. Open it in the browser of the person who owns the account.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "hubspot", "values": { "clientid": "YOUR_CLIENTID", "clientsecret": "YOUR_SECRET" }, "redirecturl": "https://your-app.example.com/connectors/return" }Response { "result": true, "errors": [], "status": "pending", "authorizeUrl": "https://vendor.example.com/oauth/authorize?client_id=...&state=..." } - 03
Come back to your page
After the consent screen the browser returns to your redirect URL with the outcome in its query. Read the status next; the query is only a reason to look.
Your redirect URL https://your-app.example.com/connectors/return?connector_connected=true https://your-app.example.com/connectors/return?connector_error=authorization_denied - 04
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "hubspot", "title": "HubSpot", "authtype": "oauth", "status": "connected", "accounts": {}, "savedvariables": [ "clientid", "clientsecret" ], "lasterror": null } ] } - 05
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "hubspot" }Response { "result": true, "errors": [], "removed": true, "revoked": true, "restart": "scheduled" }
Questions
HubSpot and Wiro FAQ
What can a HubSpot AI agent do with this connector?
It works through HubSpot's own MCP server, signed in as one HubSpot user. It searches and reads contacts, companies, deals, tickets and other CRM records with their properties and owners, answers questions across that data, and creates and updates records, notes and tasks. It builds segments and adds or removes their contacts, sets up custom properties and pipelines, drafts marketing emails, and reads campaign results, email analytics and inbox conversations. HubSpot decides which of these tools your account gets.
How do I connect HubSpot to an AI agent?
Open your agent's Connectors tab and choose HubSpot, or ask the agent in Chat to connect it. There are two ways in: sign in with the ready-made HubSpot app, which needs no setup on your side, or sign in with your own HubSpot MCP connector. For your own, create one in your HubSpot account under Development → MCP Connectors, add the redirect URL the Connect dialog shows, and paste its Client ID and Client Secret. Either way, you choose the HubSpot account and approve the access on HubSpot's own consent screen.
Is this HubSpot's own MCP server?
Yes. The connector sends each request to the MCP server HubSpot runs, so there is nothing to install or host on your side. HubSpot decides which tools exist and how they behave, and the tools an account gets depend on its subscription and on the signed-in user's permissions. The connector adds what sits around them: the sign-in kept encrypted, and an Allow, Ask or Block setting for every tool.
Will the agent change HubSpot records without asking me?
Not from Chat unless you change it. Searching and reading run freely, while creating or updating a record, a segment, a property, a pipeline or an email draft asks for your approval in Chat first. Scheduled Tasks run those changes by default; set them to Ask or Block there when a person should approve each one. Every tool can be set to Allow, Ask or Block on the Connectors tab, once for Chat and once for Autopilot, the column that covers Scheduled Tasks.
Can the agent send marketing emails or delete records in HubSpot?
No. HubSpot's MCP tools send no email: the agent makes a marketing email as a draft, and you review and send it from HubSpot. They create and update records but do not delete them, so removing a contact, a company or a deal stays a step you take in HubSpot.
Which HubSpot data can the agent reach?
What the HubSpot user who signed in can reach, in the one HubSpot account chosen at sign-in. To keep the agent away from some records, sign in as a user whose HubSpot permissions leave them out. With HubSpot's Sensitive Data setting on, HubSpot keeps conversations away from its MCP server, so the agent cannot read them.
Where is my HubSpot sign-in kept?
The tokens HubSpot issues are kept encrypted, out of the AI model's sight, and are renewed automatically. With your own HubSpot MCP connector, its Client ID and Client Secret serve only to sign in and renew the sign-in, and never reach the agent. Disconnecting HubSpot on the Connectors tab deletes the saved sign-in; the app stays installed in your HubSpot account until you uninstall it in HubSpot's connected apps settings.
What does the HubSpot connector cost?
Nothing extra: Connectors are included in every agent plan. Your HubSpot subscription still decides which tools your account gets: the answer engine optimization (AEO) tools need Marketing Hub Professional or Enterprise, and custom pipelines are not available on free accounts. Every tool acts within the signed-in user's HubSpot permissions.
Access and limits
HubSpot access and limits
- Revoke access
Uninstall the app in HubSpot's connected apps settings (Settings → Integrations → Connected Apps), then disconnect HubSpot here. Disconnecting here alone deletes the saved sign-in and leaves the app installed in HubSpot.
- Limits
HubSpot decides which tools an account gets: some need a paid HubSpot subscription, and every tool acts with the signed-in user's permissions, so the agent sees and changes only what that user can. HubSpot's tools create and update records but do not delete them, and they send no email: a marketing email is made as a draft, and you send it from HubSpot. With HubSpot's Sensitive Data setting on, conversations are not available.
Related connectors
More CRM connectors for your Wiro agent
Put HubSpot to work with Wiro
Deploy an agent and connect HubSpot from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.