Skip to main content

Populate your document’s fields with HubSpot data

Speed up your signature workflows by automatically filling fields on your documents using your HubSpot data.

Ferdinand avatar
Written by Ferdinand
Updated this week

📖 Table of contents

With the Yousign for HubSpot integration, you can create documents like quotes or contracts directly from HubSpot and have key fields filled automatically using your CRM data—no more copy-pasting!

Discover the feature


When sending a quote or a contract to a lead or prospect, there’s no need to copy data manually from HubSpot into your document. Instead, you can:

  1. Start a Signature Request directly from a HubSpot record.

  2. Select a pre-configured Yousign template.

  3. Review the document in Yousign, where key fields like the deal amount, company name, and contact details are automatically filled using HubSpot data.

  4. Send the request with just a few clicks.

Why use this feature?

  • Save time — auto-fill documents without manual entry.

  • Avoid mistakes — no more typos or outdated info.

  • Centralize your process — no juggling between tools.

How it works

Your Yousign template can include HubSpot tags that link fields in your document to HubSpot properties (from Deals, Companies, or Contacts). These tags allow Yousign to automatically pull the right data when you create a signature request from HubSpot.

Step-by-Step: Set Up Your Template


1. Create a new template in the Yousign application

To get started with templates, consult this article.

2. Add fields to your template.

You can use two field types:

3. Click the edit button to open the Field’s settings modale.

4. Add a HubSpot tag

In each field, insert a HubSpot tag in this format:

hs.{objectType}.{propertyName}

Examples:

  • hs.contact.firstname → Kelly

  • hs.deal.amount → 50,000

  • hs.company.name → Initech Inc.

Supported HubSpot Tags


The HubSpot tags listed below include the most commonly used standard properties. The tags provided in the tables can be copied and pasted directly into your Yousign template fields to save you time during setup.

Deal properties — hs.deal.{propertyName}

Property

HubSpot tag

Example value

Amount

hs.deal.amount

50000

Amount in company currency

hs.deal.amount_in_home_currency

46000

Annual contract value

hs.deal.hs_acv

120000

Annual recurring revenue

hs.deal.hs_arr

100000

Close Date

hs.deal.closedate

2025-06-30T00:00:00Z

Deal Description

hs.deal.description

Enterprise software license for 500 users

Deal Name

hs.deal.dealname

Acme Corp – Q3 Expansion

Deal owner

hs.deal.hubspot_owner_id

John Smith

Deal Tags

hs.deal.hs_tag_ids

High Priority,Renewal

Deal Type

hs.deal.dealtype

New Business

Exchange rate

hs.deal.hs_exchange_rate

0.92

Monthly recurring revenue

hs.deal.hs_mrr

8333.33

Next step

hs.deal.hs_next_step

Finalize contract and schedule onboarding.

Total contract value

hs.deal.hs_tcv

150000

Weighted amount

hs.deal.hs_projected_amount

37500

Weighted amount in company currency

hs.deal.hs_projected_amount_in_home_currency

34500

Company properties — hs.company.{propertyName}

Property

HubSpot tag

Example value

About Us

hs.company.about_us

Innovating the future of AI solutions.

Annual Revenue

hs.company.annualrevenue

7500000

City

hs.company.city

San Francisco

Company Domain Name

hs.company.domain

techinnovators.com

Company name

hs.company.name

Tech Innovators Inc.

Country/Region

hs.company.country

United States

Description

hs.company.description

Leading provider of cloud-based services.

Industry

hs.company.industry

Computer Software

Industry group

hs.company.hs_industry_group

Technology

Is Public

hs.company.is_public

True

Number of Employees

hs.company.numberofemployees

250

Phone Number

hs.company.phone

+14155557890

Postal Code

hs.company.zip

94107

Quick context

hs.company.hs_quick_context

Recently expanded into European markets.

Revenue range

hs.company.hs_revenue_range

$5M - $10M

State/Region

hs.company.state

California

Contact properties — hs.contact.{propertyName} (Text Input Fields only)

Property

HubSpot tag

Example value

Annual Revenue

hs.contact.annualrevenue

$5,000,000

City

hs.contact.city

San Francisco

Company Name

hs.contact.company

Initech

Country/Region

hs.contact.country

United States

Country/Region Code

hs.contact.hs_country_region_code

US

LinkedIn Account

hs.contact.linkedin_account

https://linkedin.com/in/emmajohnson

Date of first engagement

hs.contact.hs_sa_first_engagement_date

2024-05-15T14:30:00Z

Description of first engagement

hs.contact.hs_sa_first_engagement_descr

Downloaded whitepaper

Email

hs.contact.email

emma.johnson@initech.com

Employment Role

hs.contact.hs_role

Marketing

Employment Seniority

hs.contact.hs_seniority

Director

Employment Sub Role

hs.contact.hs_sub_role

Digital Marketing

Fax Number

hs.contact.fax

+1 555-111-2222

First Name

hs.contact.firstname

Emma

Industry

hs.contact.industry

Information Technology

Job Title

hs.contact.jobtitle

Marketing Director

Last Name

hs.contact.lastname

Johnson

Mobile Phone Number

hs.contact.mobilephone

+1 555-123-4567

Number of Employees

hs.contact.numemployees

100-500

Persona

hs.contact.hs_persona

Decision Maker

Phone Number

hs.contact.phone

+1 555-987-6543

Postal Code

hs.contact.zip

94107

Salutation

hs.contact.salutation

Ms.

State/Region

hs.contact.state

California

State/Region Code

hs.contact.hs_state_code

CA

Street Address

hs.contact.address

123 Main Street

Time Zone

hs.contact.hs_timezone

UTC -07:00 US Pacific

Website URL

hs.contact.website

https://www.initech.com

The tag list is not exhaustive. You can use any existing HubSpot property—including both standard and custom ones—as long as it belongs to the relevant object type (deal, company, or contact).

To find the property name, go to you HubSpot account and navigate to: "Settings" > "Properties", click "Edit property" and look under “Internal name”.

HubSpot tag compatibility

⚠️ Contact properties (e.g. hs.contact.firstname) only work in Text Input Fields.

Field Type

Supports

Text Input Field

deal, company, contact

Read-Only Text Field

deal, company only

Tag format

To work correctly, your tag must follow all these rules:

  • Must begin with hs.

  • Object types: deal, company, or contact

  • Property name:

    • Uses the property "internal name"

    • Must start with a lowercase letter (a-z)

    • Lowercase letters (a-z), numbers (0-9), and underscores only (_)

    • Max 100 characters

Creating & Sending a Request


Once your template is ready, you can create a signature request using HubSpot data:

  1. Go to a HubSpot record (Deal, Company, or Contact)

  2. Click "Create Signature Request"

  3. Select your Yousign template

  4. Replace the placeholder signers with HubSpot contacts

  5. Click "Create signature request"

  6. Click "Continue on Yousign"

  7. The fields are auto-filled. HubSpot data has been automatically added to:

    • Text Input Fields “default value”

    • Read-Only Text Fields “value”

    → You can review and adjust the value if needed

  8. Send the request 🎉

If a value or default value is already defined in the template field, it will be overwritten if corresponding HubSpot data is found.

How Data Is Retrieved


When you create a signature request from HubSpot:

Deal properties — hs.deal.{propertyName}

  • If you create the request from a Deal record → we use that Deal’s properties

  • If not → we look at the associated Deal (we ignore them all if there is more than one associated Deal)

Company properties — hs.company.{propertyName}

(same logic as Deals)

  • If you create the request from a Company record → we use that Company’s properties

  • If not → we look at the associated Company (we ignore them all if there is more than one associated Company)

Contact properties — hs.contact.{propertyName}

  • We use the HubSpot contact you selected to replace the placeholder signer in the template.

    Example:

    You have a placeholder signer with a Text Input Field tagged hs.contact.firstname.

    In HubSpot, you assign the contact of Kelly Smith to that placeholder signer → Yousign will fill the field's default value with "Kelly".

Troubleshooting Guide


This section outlines common issues that may occur when attempting to fill fields with HubSpot data.

🕳️ The field is empty

  • The HubSpot tag is misspelled or uses the wrong property name

    → Double-check internal names in HubSpot Settings

  • The HubSpot property has no value

✂ The value is cut off

  • Your Text Input Field has a character limit that’s too low

    → Increase or remove the limit in the template

  • The field is too small on the document

    → Just resize the field manually during document preview

Help us improve this feature


We're constantly working to improve. If you have suggestions, encounter issues, or just want to share your experience, we'd love to hear from you!

Did this answer your question?