Skip to content
Book a build

Designing a HubSpot data model: objects, properties and associations

Use objects for identities, properties for attributes and associations for relationships. Then decide who owns each value and how the model behaves in workflows, reports and migrations.

On this page

A HubSpot data model is a set of decisions about the business, not just a list of fields. Before creating a custom object, describe the thing it represents, how it changes and how people will use it.

Begin with a few concrete business questions. Can one company have several installations? Does a renewal belong to an account, a contract or a deal? Which system knows that a subscription ended? The answers determine the model.

Distinguish entities from attributes

Contacts, companies, deals and tickets provide established identities and behaviors. Use an existing object when its meaning and lifecycle fit. Do not make every business noun a new object.

A custom object may be appropriate when an entity has its own identity, repeated relationships and lifecycle. Availability and limits depend on the HubSpot subscription and account configuration. Confirm those constraints before designing an implementation around it.

A property is better for an attribute of an existing entity. If you find numbered fields such as “Installation 1” and “Installation 2,” ask whether you are forcing a repeating relationship into a flat record.

Define properties before generating them

Keep a property dictionary with object, internal name, label, type, allowed values, owner and source of truth. Labels help people; internal names support configuration and integrations. Treat them as different parts of the contract.

Choose a type for the operations the field must support. A text field is flexible, but it does not enforce a shared category vocabulary. An enumeration needs explicit option-value governance. A calculated field has dependencies and feature requirements that a stored number does not.

Distinguish unknown, not applicable and genuinely empty where the business needs those states. Replacing every blank with a default can make a report look complete while hiding uncertainty.

Model relationships explicitly

Associations connect records. Decide the object pair, direction and any labels that carry meaning. A contact’s relationship to a company may differ from that same person’s relationship to a specific deal.

Write down cardinality in business terms: one installation can have many service visits; a visit belongs to one installation. Then check what can be represented and enforced with the available features. Do not assume that an association label automatically enforces every business rule.

Design questionImplementation consequence
Can multiple records be related?Reporting and automation must handle collections
Is the relationship directional?Readers and writers need the correct association direction
Is a label meaningful?Migrations need an explicit label mapping
Can the relationship end?Retention and lifecycle behavior need a policy

Use stable identifiers for external systems. A display name is not a durable association key.

Separate lifecycle from pipeline stage

Lifecycle stage describes a relationship over time; a deal or ticket pipeline describes the progress of a particular process. A company can be a customer while a new deal is still open.

Define which actions update each state and which system has authority. Avoid several workflows independently interpreting the same business event. If backward movement is allowed, document it rather than relying on a vague “always move forward” rule.

Review reporting consequences. A current-stage property cannot necessarily answer when a record passed through every historical stage. Required history and measurement should influence the design before rollout.

Design for the people and systems that consume it

Review forms, segments, reports, workflows and integrations before adding fields. A clean schema that the operational tools cannot use is not a completed design.

Decide how users enter and correct values. Assign permissions appropriate to the process. Identify who handles an invalid association or an external ID conflict.

Prototype with representative records and reports, including multiple associations and missing data. Do not approve the design solely because its diagram looks coherent. The real test is whether the important workflows and questions can be expressed.

Prepare for reuse and migration

Internal names can help match equivalent properties between portals, but equal names do not prove equal meanings. Compare types, options, calculations and consumers.

Portal-specific IDs for owners, pipelines, stages and related assets need destination mapping. Associations and records form a separate workstream from moving configuration. A copied schema does not bring its records or history with it.

Keep a mapping register and unresolved decisions visible. Do not silently create a second field when the destination has an ambiguous match; ask whether to reuse, extend or redesign.

Put the model through review

Projects can turn a portal-scoped brief into a reviewable plan with dependency-aware generation and deployment. Those stages have separate approvals, followed by durable runs, receipts and read-back verification. They do not replace the business’s model decisions.

Portal Audit is read-only and can help inspect an existing setup before redesign. Use the evidence to understand current consumers, not as permission to remove them.

A maintainable model is one another administrator can explain: what each entity means, who writes each important field and how relationships survive the next change.

Further reading

All field notes