Help Center
Go to siteOpen app
  • Help Center
  • Welcome to the Help Center!
  • Guides
    • Designing a Basic Template from Scratch
    • Adding Variables
    • e-signatures with SignNow
    • How to create Tables
  • Templates
    • What's a template?
    • Page Elements
      • Layout Elements
      • Content Elements
      • Conditional Logic
      • Repeating Elements
    • Settings
    • Headers & Footers
    • Data and Variables
      • Syntax
      • Data Types
      • Formatting
      • Functions
        • $calc (beta)
      • Operators
    • Template Designer v2 (Beta)
      • Connections
        • Airtable Connection
        • HubSpot (Coming Soon)
      • Fields Editor
      • Tokens
      • Coming soon
  • Documents
    • What is a Document?
    • Minted Documents
  • Additional Resources
    • How-To Videos
      • Formatting Variables
      • Airtable Integrations
      • Airtable Data and Variables Videos
      • How to add variable images from your Airtable attachments
      • How to filter items in your Documents
      • How to group items in your Documents
      • Signing Documents with SignNow and Zapier
      • Add charts to your Documents with QuickChart.io
      • Add a Word Cloud chart to your Documents with QuickChart.io
      • Using Make.com (Integromat) to create line items in your documents
      • How to QR codes to your documents with QuickChart.io
      • How to add a progress chart to your documents with QuickChart.io
      • How to connect your Documint account using API keys
      • How to connect your Documint account to Airtable using your Personal Access Token (PAT)
    • Glossary
    • Frequently Asked Questions
    • Troubleshooting
  • Integrations
    • HubSpot
      • Installing the Documint app
      • Connecting your Documint account
      • Navigating the Documint App
      • Working with Custom Object Data
      • Adding HubSpot Properties to Your Template
      • Generating Your documents
      • Using Quick-Create
      • Using Workflows to Create Your Documents
      • Troubleshooting the Documint App
      • Uninstalling the Documint App
    • Airtable
      • Add your Airtable Personal Access Token
      • Airtable Extension
      • Generation Link
      • Automation Script
      • Field Types to Documint Variables
      • Adding Images from Airtable
      • Expanding Linked Records
      • Lookup Fields
      • Documents from Multiple Records
      • Duplicate Document Prevention
      • Password Protection
      • Creating Documents
        • Preview Mode
    • Zapier
    • Make.com
    • Coda
    • Stacker
    • Noloco
    • Softr
    • Pory
    • REST API
Powered by GitBook
On this page

Was this helpful?

  1. Integrations
  2. HubSpot

Adding HubSpot Properties to Your Template

PreviousWorking with Custom Object DataNextGenerating Your documents

Last updated 4 months ago

Was this helpful?

Hubspot records contain data as properties and these properties are used to retrieve and display your data. Each property is a key-value pair. The key is an identifier shared by all records that contain that property. The value is the value unique to that specific record. So, all records of a particular object type will have the same keys (e.g. contacts will having "lastname", "firstname", "email", etc.), but their values will be unique (e.g. "John", "Rachel", "Andrew", etc.). In order to get your Hubspot data to merge with your Documint templates you will need to find the property names (keys) and paste them into your template. The Documint Hubspot extension contains an easy table where you can see and copy all your record's properties.

The Documint app can access property data for these objects:

  • Contacts

  • Companies

  • Deals

  • Tickets

  • Custom Objects

Viewing Properties

To search and view the available properties, just click the View Properties button near the bottom of the dashboard.

You can filter and view all properties for your object as well as the properties for associated objects.

Primary properties

Primary properties are properties that belong to the object type that is currently selected.

Copy a proprety by highlighting it and pressing "Ctrl+C". Then paste it into your template.

Association properties

Association properties are the properties for associated objects. For example: your selected object is contacts and its associations are contacts (other contacts), companies, deals, and tickets.

The Documint app does not currently provide association data for custom objects.

Displaying a single value

To display values from a single record use the following syntax in your template:

Select "First item" from the "Use type" dropdown and then copy the associated object property you want to use.

Now just paste the property into you template.

Displaying all values for an associations list

Select "All items" from the "Use type" dropdown and copy the association list name that appears at the top of the properties table.

In your Documint template, select the parent element that will be repeated for each item in the list then click "Edit logic"

Paste the associated list name into the "List variable" field.

Copy one of the associated object's properties from the Documint app.

Paste it inside the repeating element in your template.

You're all set to generate your document!

See on how to change the selected object.

Because associations are lists/arrays of data for related records (see ), you can either display the values for associations by looping over each record, or you can just display data for a singe record from the list (This is useful when an associations list only contains a single associated record).

Working with Custom Object Data
array data type
The properties table also show the properties' types and group identifiers as well as if they are custom or Hubspot defined
Copy a token.
Paste it!
Notice: you can replace the 0 with any number if you know the position of the item you want to display.
Notice the association list token is not wrapped in curly braces.