Tool

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.

HubSpot

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

NameTypeDescription
fromObjectTyperequiredstring

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.

toObjectTyperequiredstring

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.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .