Create CRM Association (HubSpot)
HubSpot → Create CRM Association (HubSpot)
/v1/hubspot-create-crm-association{ "from_object_id": "sample-value", "to_object_id": "sample-value", "definition_id": "sample-value" }
{ "ok": true, "data": { "success": true } }
Associate two CRM objects together in HubSpot (e.g., associate a contact with a company, or a deal with a contact).
Install
Add create crm association (hubspot) to your MCP client.
Drop this into claude_desktop_config.json (or your client's equivalent) and the tool shows up in any chat.
{ "mcpServers": { "texau": { "command": "npx", "args": ["-y", "@texau/mcp-server"], "env": { "TEXAU_API_KEY": "..." } } } }
Tool name: texau__hubspot-create-crm-association
When to use this.
The "Create CRM Association (HubSpot)" action enables users to establish relationships between different CRM objects within HubSpot, such as linking a contact to a company or associating a deal with a contact. This action requires three key input parameters: 'fromObjectId' (text), which identifies the primary object being associated (e.g., Contact ID); 'toObjectId' (text), which specifies the secondary object to associate with (e.g., Company ID); and 'definitionId' (select), which determines the type of association being created. Upon execution, the action returns a 'success' output (boolean) indicating whether the association was successfully established. This functionality is particularly useful for businesses looking to enhance their CRM data relationships, streamline sales processes, and improve customer management by ensuring relevant objects are interconnected. As part of the CRM category, this action is essential for organizations aiming to optimize their HubSpot usage and improve overall data integrity.
Try it
Run a sample request.
The response is a deterministic, cached example. No live call, no credits used.
Create CRM Association (HubSpot)
Response
Output schema.
Every field returned in `data`. Click rows to expand nested objects.
successSuccessboolean
Integrate
Copy-pasteable snippets.
Real endpoint: https://v3-api.texau.com/api/v1/hubspot-create-crm-association. Auth: x-api-key.
/v1/hubspot-create-crm-associationcurl -X POST 'https://v3-api.texau.com/api/v1/hubspot-create-crm-association' \ -H 'x-api-key: $TEXAU_API_KEY' \ -H 'content-type: application/json' \ -d '{"from_object_id":"sample-value","to_object_id":"sample-value","definition_id":"sample-value"}'
{ "ok": true, "data": { "success": true } }
Compose
How this fits a workflow.
The next 2 actions most operators chain after this one.
crm
List Contacts (HubSpot)
Retrieves all HubSpot contacts with email, name, phone, company, and custom properties.
crm
Get Contact (HubSpot)
Retrieves a specific HubSpot contact by ID with all standard, demographic, and custom properties.
crm
Create Company (HubSpot)
Creates a new company record in HubSpot with firmographic properties and optional associations.
Output
Results land in a TexAu table.
Sample rows below.
Real result preview coming soon.
| Input | Status | Score |
|---|---|---|
| [email protected] | valid | 96 |
| [email protected] | risky | 54 |
| [email protected] | invalid | 12 |
Workflow
A real example.
Trigger → create crm association (hubspot) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.
Built for
Who runs this.
Reliability
Rate limits & reliability.
- Per-minute limitNo public cap
- Per-day limitPlan-defined
- RetriesAutomatic w/ backoff
- ModeSync
Errors
HTTP status codes.
What each response means and what to do about it.
| Code | Cause | Fix |
|---|---|---|
| 200 OK | Action ran. Data in `data`. | Read response. |
| 400 Bad Request | Missing or malformed input. | Validate against the input schema. |
| 401 Unauthorized | Missing or invalid `x-api-key`. | Re-issue from /api-platform. |
| 403 Forbidden | Workspace lacks plan tier. | Upgrade or contact sales. |
| 404 Not Found | Action key not recognized. | Verify the slug. |
| 429 Rate Limited | Per-minute or per-day cap hit. | Backoff; reduce concurrency. |
| 500 Server Error | Unexpected TexAu issue. | Retry with backoff. |
| 502 Bad Gateway | Upstream provider 5xx. | Retry; we surface root cause. |
| 504 Timeout | Upstream slower than maxLatency. | Switch to `isAsync` polling. |
Related
More HubSpot actions.
crm
List Contacts (HubSpot)
Retrieves all HubSpot contacts with email, name, phone, company, and custom properties.
crm
Get Contact (HubSpot)
Retrieves a specific HubSpot contact by ID with all standard, demographic, and custom properties.
crm
Create Company (HubSpot)
Creates a new company record in HubSpot with firmographic properties and optional associations.
crm
Search Contacts (HubSpot)
Search for HubSpot CRM contacts by email address or other filters and retrieve their properties.
FAQ.
Is this real-time?
Yes. Synchronous actions return in ~1–4 s. Long-running work uses async polling (see status 504 → switch to async).
Do I get charged on failure?
No. Verified failures cost zero credits. Provider miss / 5xx / timeout cascade to the next provider in the waterfall when applicable.
Does it work with Claude / Cursor via MCP?
Yes. Add the texau MCP server to your client config, then call `texau__hubspot-...` directly.
What CRMs can I push results to?
HubSpot, Salesforce, Pipedrive, Zoho, and GoHighLevel are bidirectional. Smartlead, Instantly, Lemlist, HeyReach, Apollo Sequences, and Reply.io for outbound.
Run Create CRM Association (HubSpot) in 60 seconds.
Pull your API key, paste the cURL, ship to your CRM.