Import from HubSpot
import_from_hubspotImport a HubSpot account: companies, contacts (linked to their company), deals (stage, amount, currency, close date, and the company and contact they belong to) and notes (on their contact's timeline, else added to their deal or company). Needs a private app access token. Make one in HubSpot under Settings > Integrations > Service Keys, with the read scopes crm.objects.companies.read, crm.objects.contacts.read and crm.objects.deals.read; a private app's token works too (Development > Legacy apps > the app > Auth tab). HubSpot makes no new private apps since 26 October 2026. Called without its token, it answers at once with a link for the owner, who types the token on a Conecto page, so it never passes through the chat (from_a_terminal does the same from a terminal); account.credential_added says when the import started, with its call_id. Wrong credentials are refused before anything is reserved or charged; the token is kept only encrypted while the import runs, then erased. Contacts match existing ones by email, companies by domain, then name. Runs in the background for up to 15 minutes and imports up to max_records records; when more remain, the result has next_cursor: call again with the same arguments plus next_cursor to continue. Running it again never duplicates anything: changed records are updated, unchanged ones skipped. Unchanged records are free, and 1,000 imported records cost $1. max_records x $0.001 is reserved while it runs and only what was imported is charged; lower max_records if your balance is smaller. Costs $0.001 per record imported (created or updated); nothing if none are found. Runs in the background: the reply has a call_id; poll it with the account_get_call tool or GET /v1/calls/.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "import_from_hubspot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_records | No | The most records this run may create or update (and reserve $0.001 each for). | |
| next_cursor | No | The next_cursor a previous run of this import returned, to continue where it stopped. | |
| access_token | No | The HubSpot private app access token (starts with pat-). Leave it out to get the link instead. | |
| default_currency | No | The currency of deal amounts that name none (HubSpot leaves it blank when the account has a single currency). | USD |