HubSpot
HubSpot is a CRM where sales and support teams keep their contacts, companies, deals and tickets. With this connector TAO can look those records up, and create, update or delete some of them, with a person approving every change.
What you can do
Illustrative examples. Ask in your own words.
- "Find the Acme renewal deal and tell me its stage and close date."
- "Who owns the contact jane@acme.com?"
- "List the contacts on that deal."
- "Create a new contact for Sam Lee at Acme."
- "Move the Acme deal to the next stage."
- "Which pipelines do we have, and what stages are in the sales pipeline?"
Before you connect
- A HubSpot account (HubSpot calls it a portal) where you can sign in.
- Permission in HubSpot to see the records you want TAO to read. TAO acts as you and gets no more access than you have.
- An admin must have set up the HubSpot app for your TAO installation. You do not need an API key.
HubSpot asks you to approve the following kinds of access (called scopes, meaning the list of things the app may do):
| Access | Used for |
|---|---|
| Contacts, companies, deals, line items, custom objects, leads (read and write) | Reading and changing those records |
| Tickets and e-commerce | Tickets, products and line items |
| Owners (read) | Finding the person who owns a record |
| Object schemas (read) | Listing the fields you can set |
| Lists (read and write) | Granted, but no tool in the product source uses lists yet |
Connect it
Open My Connectors
Go to Settings and open My Connectors. If you cannot see HubSpot, ask your admin to turn it on.
Click Connect
On the HubSpot card, click Connect. If you already have a connection, the button says Connect another.
Approve access in HubSpot
HubSpot opens in a new window. Sign in, choose your account if asked, and approve the access listed above.
Check the card
You return to TAO. The card now shows your connection. Use Make default if you have several HubSpot accounts and want this one used first.
Tools
The tools are built from one list of record types, so each type gets the same set of tools. HubSpot has 34 tools: 19 read and 15 write.
Record types
| Record type | Read tools | Write tools |
|---|---|---|
| Deal | hubspot_get_deal, hubspot_find_deal | hubspot_create_deal, hubspot_update_deal, hubspot_delete_deal |
| Contact | hubspot_get_contact, hubspot_find_contact | hubspot_create_contact, hubspot_update_contact, hubspot_delete_contact |
| Company | hubspot_get_company, hubspot_find_company | hubspot_create_company, hubspot_update_company, hubspot_delete_company |
| Ticket | hubspot_get_ticket, hubspot_find_ticket | hubspot_create_ticket, hubspot_update_ticket, hubspot_delete_ticket |
| Product | hubspot_get_product, hubspot_find_product | None (read only) |
| Line item | hubspot_get_line_item, hubspot_find_line_item | None (read only) |
| Custom object | hubspot_get_custom_object, hubspot_find_custom_object | hubspot_create_custom_object, hubspot_update_custom_object, hubspot_delete_custom_object |
- Get reads one record when you already have its ID.
- Find searches on one or two fields, such as name or email, and returns the matches with their IDs.
- A custom object is a record type your own team defined. For these, you also give the object's type name.
Portal lookups (all read)
| Tool name | What it does | Read or Write |
|---|---|---|
hubspot_list_properties | Lists the field names you can set on a record type, with their allowed values | Read |
hubspot_list_pipelines | Lists pipelines and every stage, with the stage IDs | Read |
hubspot_find_owner | Lists HubSpot users, optionally filtered by email, with their owner IDs | Read |
hubspot_get_owner | Shows the name and email for one owner ID | Read |
hubspot_find_associations | Lists records linked to a given record, such as the contacts on a deal | Read |
These five exist because changes need them. HubSpot expects its internal field names, stage IDs and owner IDs, not the labels you see on screen. A wrong name is rejected, not ignored.
Writes
All 15 write tools wait for a person to approve them. The five delete tools (hubspot_delete_deal, hubspot_delete_contact, hubspot_delete_company, hubspot_delete_ticket, hubspot_delete_custom_object) are marked irreversible and always need a person.
Total: 34 tools (19 read, 15 write).
Limits and good to know
- Products and line items are read only. The product docs say a line item means little without a link to a deal or quote, and linking is not built yet.
- There is no tool to create links between records.
hubspot_find_associationsonly reads them. - Deletes ask for the name. A delete needs the record's name as well as its ID. TAO re-reads the record and refuses if the name does not match, once when the request is queued and again when it runs.
- A custom object delete needs one more detail. The product docs say it fails safely if TAO does not know which field holds the name. In that case TAO finds the field with
hubspot_list_properties. - Duplicate contacts. HubSpot refuses a contact whose email already exists. TAO is told to find the existing record and update it instead.
- CMS pages, forms, files and workflows are not covered. The product docs say these would need extra access, which would force every user to reconnect.
- Several tools at once. HubSpot is the largest tool set. TAO only offers its tools when your request looks CRM related, or when you select HubSpot.