When HubSpot objects are associated with each other (e.g., a deal with multiple contacts), ChiliDocs® allows you to reference a specific association in your template.
✅ Default behavior
-
If you use a placeholder like
[contact.firstname]
in a deal, ChiliDocs® automatically pulls data from an associated contact. -
This works even without specifying an association label.
✅ Specific associations with labels
-
If you want to reference a specific associated contact, you can use labels in your placeholders.
-
Add the label in parentheses:
- Primary association:
[contact(Primary).firstname]
-
[contact(Primary).lastname]
-
Other labels:
-
[contact(Some Label).lastname]
-
This way, you can control which associated contact (e.g., Primary Contact, Billing Contact, Technical Contact) appears in your document.
💡 Note:
-
This syntax works for all objects, not just contacts.
-
Example:
[company(Partner).name]
will pull the company associated with the label Partner.