HubSpot integration
Weft Docs for HubSpot
Weft Docs is document generation software for HubSpot. Upload a document you already send, or describe one, and Weft's AI builds the template once. After that, any deal, contact or company, with its line items and associated records, becomes a polished PDF, from Weft or with one press of Generate PDF on the record.
How it works
From a HubSpot deal to a PDF in three steps
Connect your portal
An admin adds HubSpot once, through Weft's own HubSpot app, so there is nothing to register. Each person then authorizes with their own HubSpot login, on HubSpot's consent screen.
Choose the records
Build a data source with no code: pick an object, its properties and filters, then add associated records such as a deal's line items or contacts. Preview the rows before you bind anything.
Generate and save the PDF
Press Generate PDF in the Weft Docs panel on a deal, contact, company or custom object, then save the PDF to the record with one more click. Or preview and export in Weft, where each export is archived with the data it was made from.
HubSpot objects
The HubSpot objects Weft Docs reads
Weft Docs always reads contacts, companies, deals and line items. Products, quotes, tickets and custom objects are optional: HubSpot leaves one out when your HubSpot plan doesn't include it, and you can untick any of them on HubSpot's consent screen.
| HubSpot object | Access | Good to know |
|---|---|---|
| Contacts | Always | The Weft Docs panel works on contact records |
| Companies | Always | The Weft Docs panel works on company records |
| Deals | Always | The Weft Docs panel works on deal records |
| Line items | Always | The products and prices on a deal |
| Products, quotes and tickets | Optional | Read when your HubSpot plan includes them and you leave them ticked at consent |
| Custom objects | Optional | HubSpot Enterprise only; a document's main object or its associated records, and the Weft Docs panel works on their records |
Weft Docs reads these objects. Its one write is Save to HubSpot, which adds a private file on a note when someone presses it.
Choosing your HubSpot data
A data source is the set of records a template fills from. You pick from lists, and Weft does the rest.
- Choose the object, then its properties, then filter with plain operators (equals, at least, contains word, is one of), and set an order and a limit.
- Add associated records as related lists, such as a deal's line items, contacts or companies, up to five levels deep. Weft follows HubSpot's associations, many-to-many included, and brings each in as a list your tables can repeat over.
- Set it up once and it works for every record. Press Preview rows to see real records before you bind anything.
Generate a PDF from a HubSpot record
The Weft Docs panel comes with Weft's HubSpot app, so there is nothing extra to install. Add it once to the deal, contact, company and custom-object record pages you want, from HubSpot's record customization.
- Pressing Generate PDF opens Weft in a new tab, finds the templates that fit the record and renders a template's published version (its latest saved version until it is first published): one fitting template goes straight to the PDF, several give you a list.
- By default each press reads HubSpot as the person pressing. An Admin can switch a template to shared access, which reads through the login of the person who set up the connection and approves the template's exact queries.
- Everyone who presses Generate PDF needs a Weft Docs account in your workspace with the Editor role or higher.
Save to HubSpot
After someone sees the PDF, Weft Docs can add it to the record it was made for, with one press of Save to HubSpot: a quote onto its deal, a letter onto its contact.
- The PDF lands the way a file dragged into HubSpot does: a private file, on a new note in the record's timeline. A private file has no public link.
- Nothing is saved on its own. Saving uses the person's own HubSpot login and permissions.
- Weft keeps no copy of the saved PDF, and saving only ever adds: it never edits or deletes anything in your HubSpot.
Connecting HubSpot to Weft Docs
- An Admin or Owner adds the connection once, in Settings → Integrations, and picks the account region your HubSpot portal is in.
- Each person then presses Connect and approves HubSpot's consent screen with their own login. Weft runs every HubSpot query as the person asking, with their own HubSpot permissions.
- Weft Docs never asks for a HubSpot password. It keeps a refresh token, encrypted.
- A company whose policy requires its own HubSpot app can connect through that app instead.
- Weft Docs is hosted in the United States, whichever HubSpot region your portal is in.
What Weft Docs doesn't do with HubSpot
- It doesn't edit or delete your HubSpot data. Its one write is Save to HubSpot, which adds a private file on a note when someone presses it.
- It doesn't save anything on its own: every save is a person's click.
- It doesn't save PDFs over 20 MB to HubSpot. That is the file limit on free HubSpot accounts, and Weft applies it to every save; a larger PDF can still be downloaded.
- It doesn't filter associated records by association label, such as “decision maker”. Pull the associated records and filter on a property instead.
- It doesn't follow lookups from one record to another: HubSpot properties are flat, so related records come in as associated lists.
- It doesn't put the panel on tickets, or on any object other than deals, contacts, companies and custom objects.
Try Weft Docs on your own HubSpot data.
HubSpot is included in both plans, Starter and Team. Every plan starts with a 14-day trial. A card is required, and you won't be charged until you confirm your plan.