Get association definitions
The HubSpot Get Association Definitions tool enables users to retrieve valid association types between various HubSpot CRM objects. It ensures accurate relationship mapping by providing detailed association definitions including type IDs, labels, and categories.
Features
- Retrieves valid association types between specified HubSpot object types.
- Returns an array of association definitions with comprehensive details.
- Supports a wide range of HubSpot objects including contacts, deals, companies, tickets, and more.
- Helps prevent errors by guiding valid association creation in HubSpot CRM.
- Provides essential data to troubleshoot and validate object relationships within HubSpot.
Benefits
- Enhances data integrity by ensuring correct associations between CRM objects.
- Simplifies the process of managing complex relationships in HubSpot CRM.
- Reduces the risk of errors when creating or updating associations.
- Facilitates better CRM customization and automation workflows.
- Improves troubleshooting efficiency with clear association definitions.
Description
🎯 Purpose: 1. Retrieves valid association types between specific HubSpot object types. 📦 Returns: 1. Array of valid association definitions with type IDs, labels, and categories. 🧠Usage Guidance: 1. Always use before creating associations to ensure valid relationship types or to help troubleshoot association creation errors.
Parameters
2 parameters
| Name | Type | Description |
|---|---|---|
| fromObjectTyperequired | string | The type of HubSpot object to get association from. Valid values include: appointments, companies, contacts, courses, deals, leads, line_items, listings, marketing_events, meetings, orders, postal_mail, products, quotes, services, subscriptions, tickets, users. For custom objects, use the hubspot-get-schemas tool to get the objectType. |
| toObjectTyperequired | string | The type of HubSpot object to get association to. Valid values include: appointments, companies, contacts, courses, deals, leads, line_items, listings, marketing_events, meetings, orders, postal_mail, products, quotes, services, subscriptions, tickets, users. For custom objects, use the hubspot-get-schemas tool to get the objectType. |