Docs
Sign in

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.

Screenshot to add: The HubSpot card on the My Connectors page with the Connect button.

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):

AccessUsed for
Contacts, companies, deals, line items, custom objects, leads (read and write)Reading and changing those records
Tickets and e-commerceTickets, 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

  1. Open My Connectors

    Go to Settings and open My Connectors. If you cannot see HubSpot, ask your admin to turn it on.

  2. Click Connect

    On the HubSpot card, click Connect. If you already have a connection, the button says Connect another.

  3. Approve access in HubSpot

    HubSpot opens in a new window. Sign in, choose your account if asked, and approve the access listed above.

  4. 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 typeRead toolsWrite tools
Dealhubspot_get_deal, hubspot_find_dealhubspot_create_deal, hubspot_update_deal, hubspot_delete_deal
Contacthubspot_get_contact, hubspot_find_contacthubspot_create_contact, hubspot_update_contact, hubspot_delete_contact
Companyhubspot_get_company, hubspot_find_companyhubspot_create_company, hubspot_update_company, hubspot_delete_company
Tickethubspot_get_ticket, hubspot_find_tickethubspot_create_ticket, hubspot_update_ticket, hubspot_delete_ticket
Producthubspot_get_product, hubspot_find_productNone (read only)
Line itemhubspot_get_line_item, hubspot_find_line_itemNone (read only)
Custom objecthubspot_get_custom_object, hubspot_find_custom_objecthubspot_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 nameWhat it doesRead or Write
hubspot_list_propertiesLists the field names you can set on a record type, with their allowed valuesRead
hubspot_list_pipelinesLists pipelines and every stage, with the stage IDsRead
hubspot_find_ownerLists HubSpot users, optionally filtered by email, with their owner IDsRead
hubspot_get_ownerShows the name and email for one owner IDRead
hubspot_find_associationsLists records linked to a given record, such as the contacts on a dealRead

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_associations only 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.