# HubSpot

In today’s fast-paced business environment, data plays a key role in driving smarter decisions. HubSpot, a leading platform for marketing, sales, and service, is a powerful repository of business data. But did you know you can also use that data to automate document creation in Portant? In this guide, you’ll learn how to connect HubSpot to Portant and use your CRM data to generate personalized documents like proposals, quotes, and invoices.

**In this article, you’ll learn how to:**<br>

1. Log in to Portant
2. Connect your HubSpot account to Portant
3. Set HubSpot as your workflow source
4. Connect and customize your document template
5. Manage HubSpot fields used in your documents
6. Generate your first document
7. Disconnect HubSpot from Portant<br>

## Log in to Portant

If you don't have a Portant account yet, you can sign up for free here:[ app.portant.co/signup](https://app.portant.co/signup)

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdnv0cASmyy6v3GgNY3CHhrerFYx2XvAniauU2TLEmapNvzGlUDKAaCpZC0uqsJoBNk2ykFZ-U6wdxkFaPpudwPm7do2egMqOHBCuqNtDVkkqyoP8m053lkniO8tvUpIORgYlvnsA?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

## Connect Your HubSpot Account to Portant

Click the **Settings icon** in the bottom-left corner.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeD4AFoIln9ZGYlgmrCQJY5F2L-5_r64xFbzrVQ_5ouPiGHhxtptc-FKGG6rGeTM_jsOS3eYFVsqTVahppUH6I2r-Hieh8msoAep_RWybceDq519afQPIEnkvuWTxiKVwx8ymDsYw?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Go to the **Integrations** tab, locate HubSpot and click **Connect**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcpcwZMD1_z5T8QX43sMavlBKHi8GmNRg2aTneqatK8xMzYdEJuGCvQe1TRT34geD5tzb__FX_N9iWCogzWrrRcwdFPuWYpKxUpWebFGEjzKiCZYV0Q_7sXYpsEbOnXY7r4_Zja?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Click **Connect HubSpot to Portant** and follow the authorization steps.

Once your accounts are linked, you’ll be ready to create workflows powered by HubSpot data.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcLqODMxuVcgqLN20jRw2b7BXLO0bwEp7GWwOZEa9RRcnKfp9j8cRGeD7qD7TfSextf42Kc27pWKWyfU9KJOhaiVTVQ3pQ5j2HwCEvWxWC7kSgB3bC5WTMzZUkppqilxb7bu-ek?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Once connected to HubSpot, go back to the main Portant page (app.portant.co) and click the blue “**+ Add Workflow**” button in the top-right corner of the dashboard to get started.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcbDyicupgIInEmX9AnXQtLgHHJ-Yov1_L9JUJ92DhgGAlYK7yxA7vy0gESysEGdA-zpxWv8cxoTVnPgeV_NFAW9VLpx-CEgwlGtO7gOZL0CHMXYLEDep0rxFVmvB9ujtKIhjFufg?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

## Set HubSpot as Your Workflow Source

Choose HubSpot as your source when setting up your workflow.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAEdN_ywb-xdXIR-DYB2BAITX-aL8AvmhvAUe2znimTYQUYL3AeeXxrPEDWr7QRh3PjJPAM8aqxiLytJWzjACBnHWIAfhAeTt-lnSt-ynmyqbDDL-IpdG7r7N3sjhT2PtqtniGrQ?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Select a primary object, such as:

* **Contacts**
* **Companies**
* **Deals**
* **Tickets**
* **Custom Objects (NEW)**<br>

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf2uBLgzKrO00oz780GjhXBFNc1CfsSHp6ECemznMN3OqZniZu-k2TbEKdkBKALrVHMvJ1bJl2of1ywZ5SC7Ny5ZjcdNplxzKotDdfOLxDNXqcdpRgj7yWafUmLB4AM8qgFiVc0?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Custom Objects and any items from your HubSpot Object Library will appear below the primary ones.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcpXY5At-9s-bu4FI2WKMvn-SH9kKKrUXKQVMKorUfWBm4ADEnr3g2Z3zwaZip-zGlzYe5Z1QJiRTKKPLc3qEP4NRxJTGHX4e0qnCBvTh7vUUn-u-Sp_8yRh234txj7cpebO8DcbA?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

> **Note:** If some objects from the **Object Library** appear greyed out, make sure they are enabled in your HubSpot account.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfJonZhlidrvu5f5qk4MCsdjKdoDcweXepV3kjUzRhxAzT33mPln7T1Ce814BTZTTuX6FuI1Kif7ZeIn0T5TxVfKuhPakGU1L2EkAetkuP1WhHINsdyHttv3o0Jf8T0EFO97KcB?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

After selecting your source, name your workflow, pick an icon and color, and click **Create**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcpVuUUd-Onieg5YTJM3J0HiEgQJsBQAWkGTyfwu4_45MxbBkgJvQzbOekF3ONMTkdngvEV_dacE8m3zvUWBf_uDsJq2r_9uQ8is36Q6OgoDAJw_0kWsBpjxnLx4_H2Ulb6yhg2?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

## Connect and Customize Your Document Template

Click **Add Template**.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfdVc4yY7sOC-xOR92wMDNW5AwGgQfbU1Mj3AntV9ciN6Rq2EEksnEUQRkfkMEvoNmFWK202Z1wrwbQbaeCiWjHi2ddquZwilw959r6jAPSg8_hXtYOD9yR7v98qYCw_Jq9U-RP?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Choose your template type:

* **Google Docs**
* **Google Slides**
* **(Advanced) Fillable PDFs**
* **Google Sheets** <br>

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc76eD0_8OJnq2paADgUFfsY_cM4Fjh2WrDBrHvDp4lQCRWXnc6AnuuoN-fPuPidMRoJgaHkDodrcxuwg3t01m6S9W8w2x85ro6t4npfTFYjE9_o2eUahIZZOuYzZL-KgDmN2BXRA?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Choose how to create your template:

* **Select Google Docs/Slides file:** Use an existing file from Google Drive.
* **New Google Docs/Slides file:** Start with a blank document.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfCsB-lZAdLtDYLHd8AJPDFnUllfqCM8V7-K39dWWtMIDdCrseRciP4gXjTXvLT59pKHFFYi8Q7HU6lde5jADe2j-QFuO_gqll5CuLb9bMyEo87SvRUyNv3UamJr7Tg1nozKlF_og?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Once selected, click **Select** to confirm your template.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdAj9_DpOcGYQV6hia6sJ8wJM5PFfnHGuQ_Jf9EFBdDLovK9bxkOLhPjTLYuiy4GnHOlJgrmsNcfYrIUX0IlvcFVLGDPmy70cpLTgMRWKYo4QZH2agt6I_8hIXTv6lWaf42KqM0Sw?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Customize your template by inserting HubSpot tags directly from the Source Table:

* **Click Copy beside a tag.**
* **Paste the tag (CTRL+V or CMD(⌘)+V) into your template.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcAPmQccg0UMObzCIx1f5U0uMUqEBthA6YJh8-ub2Mr-MTxUAsjbIpaekBucVtLqhbFj_KfdwnW3IyewZ9akquaXtqOTqwMHV-VL-IoSUJJQ2rinrhbFBTrrhearcNd4XlSzvIc6A?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

You can also customize the **Output Name** and choose export formats such as PDF and others.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdZ3pGaQeK7RtTGohizHMFLh4LZEoBrBBphty5yYve2xbGNTc-Z-J9xI9vNEymJMtVEXq4ssr2Br5VnXqq-OlFxNsPVlubNch6delGyIOJbk3OHj-DiJ96DigulCqn3OfHuTQ0aXw?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

> **Note:** Documents exported as PDFs on the Free plan include a Portant watermark. [Upgrade to Teams or Pro](https://app.portant.co/settings/billing) to remove it.

**EXPLORE:** Ready-made templates available here:[ app.portant.co/templates](https://app.portant.co/templates)<br>

## M**anage Your HubSpot Fields**

HubSpot contains many properties—including custom ones—that you can include in your workflows.

Click **Manage HubSpot Fields**:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdf9kUkpik6qGNReexUfhk8Jax2mK-xV92vl3VY0GYY8lZH9SHQZEgAyQurSl_AJ0RP2T2nxZmFX4uPuxZN7mxiwZEAfx1kDFc_vKgbPMrUkdJ3t7JEFeYX_g7MXp1UMVNV5jpn4g?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Next, you’ll see a list of all available objects and their properties. Click on an object to view its associated properties.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc2nUUp67FXADI6TQb72c3u_BIteWduGfuudmy0e9CuMUkXI6nSLSoLxWfS6BDnRWvyuhGMYpFYFSvsOlv_mf0MoVeGRuTSKlP2cLUthvOTqVqj6Vl8ROjClxFX3Wi1XnQ_VDhqEg?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

Select the fields you need and click Save

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfBQwVDhUKteamla9ZguNUrGTWFfu0QpZRULjIJoUjShNmgtDNGoGUUTh-ASQY8-9AS4ul5plSzpZoDPjLXjo0e2wiG6zX0YdOmwoBsUQi-Lzjf5BimBO8GbrFdlcKjUd0MVhiR?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

You can also sort associated objects by field and order—for example, to include Line Items in Deals.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf7gKU0tbElrtc-hk60xaRH2aUco16CblVneZWwNGOUkZuhIqZDw5s3r4FpOh4XTQPuxsFemYlnApmdDmJjVK9fQqjw6im1-IHGz8axjGQ04K1r7oWndtwLz1W1nYZ6I220HIrPLQ?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

## Generate Your First Document

Once your workflow and template are set, head over to HubSpot, open your object (e.g., a Deal). Then, locate the **Portant App Card** in the right-hand panel.

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2Fu3JkpMfYCqZMyCQPA9Fp%2Fimage.png?alt=media&#x26;token=55a13751-cc33-4d74-b564-72b82e7d7c47" alt=""><figcaption></figcaption></figure>

Click **Generate Documents**, then choose your workflow.<br>

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2F8dWExKJDWwx7upb8piMv%2Fimage.png?alt=media&#x26;token=a188180f-8d3c-4c2a-96e8-3be33f1fe164" alt=""><figcaption></figcaption></figure>

> **Note 1:** Workflows only appear for the corresponding primary object selected in Portant.

> **Note 2:** If you don’t see all the Portant App Cards in your HubSpot account, here’s how to easily add them: [Learn more](https://docs.portant.co/portant-docs/sources/hubspot/how-to-install-the-portant-app-in-hubspot/how-to-add-portant-app-cards-to-hubspot).

A modal will appear. Select any associated objects (e.g., Contacts or Line Items) and click **Start Automation**.

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FqhKv9d77FK1ClI4MpWXn%2Fimage.png?alt=media&#x26;token=53323599-55e2-4389-85d3-8761a1eee084" alt=""><figcaption></figcaption></figure>

The document will be created in a few seconds.

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2FjGqo95XbhmWJ8iXFEJgV%2Fimage.png?alt=media&#x26;token=2f5b3647-b01a-4ca1-afeb-6aafea84f689" alt=""><figcaption></figcaption></figure>

You will then see the generated output document displayed in the modal. A copy of the document will also be automatically saved in a newly created folder in your Google Drive.

<figure><img src="https://1896334337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPksGGRu3iiruaw3YMfz1%2Fuploads%2Fc8uTRFx5Y29jidnT7ruT%2Fimage.png?alt=media&#x26;token=42d9d0a9-b64d-4cd9-b097-8c30f1cd718c" alt=""><figcaption></figcaption></figure>

That's all there is to it, you've just set up a document workflow using a HubSpot as a data source!

**Want to add eSignatures?** Check out this guide:[ Portant + HubSpot eSignatures](https://docs.portant.co/portant-docs/sources/hubspot/portant-esignatures-+-hubspot)<br>

## Disconnect HubSpot from Portant

To disconnect your HubSpot account:

1. **Visit**[ **Portant Settings > Permissions**](https://app.portant.co/settings/permissions)
2. **Click Manage next to HubSpot**
3. **Click Disconnect Portant from HubSpot**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc04-Qw6SIWKzkggkld05ZG-6VrKZnXMbh3r2QsxyxKcDzc_gshWPx9fVBUVsHppwJdxr1vy-maLSUW_EvKVzEr7Mp54TcWOpwsgMY00OtjyJ7dvSGqlUEgA9rw8D9vVyfAOf1Bnw?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

To fully uninstall Portant from HubSpot:

1. **Open the HubSpot App Marketplace**
2. **Click Manage apps**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcxdy8PYRbi_Eu4Q-KXhi9yf7XFtvFWTrvutXkkVsPvwDAchZ4biE2x7nRHOrAEnFtJKimji0Tv7ld3liKZtSK9LkJe2dqhcovJ6HWLDXZq-l-V29Y9pF0ytk4X60nQU916oXSnBw?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

3\.   **Select Actions > Uninstall under Portant**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe83wFQ-PTlRJ8wnTRvIwk3aImL65EBttET9IOAKpBCu5CoAI53RfLxMxAqWbezrb-By3_2BK41A0oVj2oZfEWIW5QW-oWHf36AVHy9Hebx71W1ZGN5lv5rGjdUqV4oxvVbb21F?key=2m1KmRZEwIFimUg99iBwwxN4" alt=""><figcaption></figcaption></figure>

After you have completed this, the Portant App will be removed from your HubSpot account. This will not remove any data from your Portant account, or documents from your Google Drive. If you would like to completely remove all your data from Portant and delete your account, please send a data deletion request to this email **<contact@portant.co>**, and your data will be deleted within two business days.<br>

## **Feedback and feature suggestions**

We created Portant in 2021, and the feedback we have received since then has been very helpful and greatly appreciated. If you have any feedback, please feel free to send us an email at <contact@portant.co>.
