Churn risk alerts
Checks Stripe each morning for cancellations, downgrades and failed payments, and tells Slack who owns each account in HubSpot.
Search and update contacts, companies, deals, and notes in the CRM. Toolspoke gives your agents 15 of its actions, and you decide which ones each project allows.
Open the marketplace in your workspace, add HubSpot to the project your agents work in, and it appears on the gateway immediately.
Provide the credential HubSpot asks for. Where to get it, and what it has to be able to reach, is the next section.
Describe the job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. It can use every HubSpot action the project leaves on.
Ask it in a channel or a thread, and it replies in the thread it was asked in.
Email it. Each write waits for a person's go-ahead unless that action is allowed in advance.
Mention it on a pull request, and it answers there.
A routine wakes it on a schedule, or when a new item matches.
Any agent in the project can use HubSpot, and only the actions the project leaves on.
Private app access token. You provide it once, when you install the connector. Toolspoke encrypts it at rest and decrypts it only for the length of a single call, and the gateway attaches it to the outbound request itself, so it is never part of the arguments an agent sends.
15 actions, each one declared by name in the connector. A workspace policy grants a person all of them, a hand-picked selection, everything on the read side, everything on the write side, or none.
10 read, 5 write, none destructive
Fetches data and changes nothing.
search_contactsSearch contact records. `query` matches HubSpot's default text properties (name, email, company, phone) the way the CRM search box does; `filters` is the precise form, one filter per property, and every filter in the list must match. Returns the properties you name plus each record's id, pass an id to get_contact for the whole record. Prefer this over get_contact whenever you are starting from a name, an email address or a company rather than from an id. Call list_properties for the property names this account actually has before filtering on anything beyond the standard ones.
get_contactFetch one contact record in full. Takes the HubSpot record id that search_contacts returns; set id_property to "email" to look one up by email address instead, which saves a search when you already have the address. Ask for the properties you need. HubSpot returns a small default set otherwise, and use associations to see which companies, deals and tickets the contact is attached to.
search_companiesSearch company records, with the same body shape as search_contacts: `query` for free text over HubSpot's default text properties, `filters` for exact property conditions. Use it to turn a company name or domain into a record id before calling get_company, or before filtering deals by associations.company.
get_companyFetch one company record in full, by the record id search_companies returns. Set id_property to "domain" to look one up by web domain instead. Use associations to list the contacts and deals attached to it.
search_dealsSearch deal records. Beyond ordinary property filters this is the operation that answers pipeline questions: filter on dealstage, pipeline, closedate or amount, and sort by hs_lastmodifieddate to see what moved. HubSpot also accepts the association pseudo-properties here, {"propertyName": "associations.company", "operator": "EQ", "value": "<company id>"} returns that company's deals. Call list_pipelines first for the stage ids this account uses, since dealstage holds an internal id rather than the label shown in the UI.
get_dealFetch one deal record in full, by the record id search_deals returns. Use associations to see which contacts and companies it is attached to; the returned dealstage is an internal stage id, which list_pipelines translates into a label.
list_notesList the notes logged against one record, newest first, the written history of what people have said about a contact, company, deal or ticket. Give the record's own id and say which kind of record it is; the ids come from search_contacts, search_companies or search_deals. Returns the note bodies as HTML, since that is how HubSpot stores them.
list_ownersList the account's owners, the HubSpot users a record can be assigned to, with their ids, names and email addresses. Call it to turn a person's name into the hubspot_owner_id that create_deal, update_deal and create_note take. This is also the cheapest read in the connector, which is why it is the connection check.
list_pipelinesList the pipelines defined for an object type, each with its stages in display order. This is the translation table between what a person says and what the API takes: "Closed Won" is a label, closedwon is the stage id, and create_deal and update_deal only accept the id. Defaults to deals; pass tickets for the support pipelines.
list_propertiesList every property defined on an object type, with its internal name, label, type and any dropdown options. Call this before filtering or writing anything non-standard: HubSpot accounts add custom properties freely, and a filter naming a property that does not exist comes back as an error rather than as an empty result. The internal name is what search_contacts, create_contact and update_deal take.
Creates or updates something on the other side.
create_contactCreate a contact. `properties` is a flat map of HubSpot property names to values, email is the one HubSpot treats as the unique key, so include it unless you have an external id scheme. HubSpot rejects a create whose email already exists; search_contacts first, and use update_contact when the record is already there. Call list_properties for the property names this account defines.
update_contactChange properties on an existing contact. Only the properties you send are touched; everything else is left alone, and sending an empty string clears a property. Get the record id from search_contacts or get_contact first. This cannot delete the record.
create_dealCreate a deal. HubSpot needs dealname, and needs pipeline and dealstage to be internal ids rather than the labels shown in the UI, call list_pipelines first and copy the ids from there. hubspot_owner_id comes from list_owners. This creates the deal on its own; attaching it to a contact or company is a separate association HubSpot's UI usually does, and this connector does not expose the associations API.
update_dealChange properties on an existing deal, this is how a deal is moved to another stage, re-priced, or given a new close date. Only the properties you send are touched. dealstage must be an internal stage id from list_pipelines, not a label. This cannot delete the deal.
create_noteLog a note on a CRM record. The note appears on that record's activity timeline for the account's own users; it is not sent to the contact and nobody outside the portal sees it, which is why this is a write rather than a destructive action. `body` is HTML, so line breaks want <br> rather than \n. `timestamp` is when the note should be dated, pass the current time in ISO 8601 unless you are back-dating something. Attach the note by giving the record's id and the HubSpot-defined association type for its object: 202 for a contact, 190 for a company, 214 for a deal, 228 for a ticket.
The gateway enforces each of these, so they can be stated flatly.
15 named actions: 10 that only read and 5 that write. They include search_contacts, get_contact and create_contact. Nothing outside that list is reachable: the connector declares each operation by name rather than proxying whatever an agent asks for.
Private app access token. The connector asks for private app access token. Values are encrypted at rest and attached to the outbound request by the gateway, so they are never part of the arguments an agent sends and never reach the audit log.
Install HubSpot in a project and every agent in that project can use the actions the project leaves on. Describe a job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. The agent answers when someone asks it in Slack, emails it or mentions it on a GitHub pull request, or when its routine wakes it.
The 15 actions above are the whole of it. A call to any other name is refused before it reaches HubSpot rather than forwarded on, and connecting your account does not add to the list: it is fixed by the connector, not discovered at run time. This connector writes to HubSpot, but nothing in it deletes or permanently alters anything. Toolspoke holds no access to HubSpot of its own. Every call carries the credential you stored and nothing besides, so whatever that credential cannot reach, this connector cannot reach either. Nothing is pushed to it. There is no webhook, no subscription and no polling, so this connector cannot notice by itself that something changed in HubSpot. An agent has to ask. Toolspoke does not retry, queue or back off around HubSpot's own rate limits. A call that HubSpot refuses comes back to the agent as a failed call.
Yes, in two places. The project switches HubSpot's actions on and off one at a time, for everyone in the project at once, and the screen groups them by read, write and destructive so turning off everything that deletes is one click. An individual agent key can then be narrowed further, to particular toolkits in a project and to particular actions in a toolkit. Whatever it was granted, a key never reaches a project its owner cannot.
Every attempt, with the agent that made it and the person that agent belongs to, the full request payload, the response payload, the status, the duration, and what the call cost in sandbox time and model tokens. Values whose key names a secret are masked out before the record is shown to anyone. An operation the connector marks as not retained never has its response body written at all, so the gateway keeps no second copy of what was read.
Checks Stripe each morning for cancellations, downgrades and failed payments, and tells Slack who owns each account in HubSpot.
Scores your open HubSpot leads against your own criteria each weekday, explains every score, and posts who sales should call first.
Finds companies that match your ideal customer profile and scores each one, with the evidence and source link behind it.
Each weekday morning, drafts one email briefing you on today's external meetings from HubSpot and your past email threads.