HubSpot
Paste an API keyLog notes with document links on contacts, deals or companies.
What you can do
- Add a HubSpot note — attached to a contact, deal or company, with the run's document links
What can you do with HubSpot and ASHDOCS?
HubSpot holds the customer record, and ASHDOCS makes the files that belong on it. The Log a note in HubSpot step attaches a note to a contact, deal or company by record ID and adds a link to each document the run made. When it can look up your account ID, the run links straight to that record in HubSpot.
Example flow
- 1Trigger: When a webhook arrives. Your own app or another tool posts the deal ID, company name and amount when a deal closes.
- 2Write a document: a one-page deal summary with the company and amount from the payload.
- 3Save to Google Drive, so there's a permanent copy of the summary.
- 4Log a note in HubSpot, with Attach to set to deal, Record ID {{trigger.body.deal_id}}, and a short Note.
- 5Result: The deal gets a note linking to the summary PDF, and Drive keeps the master copy.
Get your HubSpot credentials
- 1In HubSpot go to Settings → Integrations → Private Apps and click Create a private app.
- 2On the Scopes tab enable crm.objects.notes (write) plus read on the object types you'll attach to (contacts/deals/companies).
- 3Create the app and copy the token (starts with pat-).
Add the connection in ASHDOCS
- 1Open the Connections page in the flows console.
- 2Click “Connect with a key” and pick HubSpot.
- 3Paste: Private app token. ASHDOCS validates the credentials against HubSpot before saving — a bad key is rejected with a plain-English reason, never stored.
Use it in a flow
In the flow builder, add the HubSpot step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.
Troubleshooting
FAQ
Yes — the note is read back from HubSpot by its ID before the step turns green.
Open the contact/deal/company in HubSpot — the number in the URL is the ID. Or template it from a webhook trigger.
No. They're signed ASHDOCS download links that expire, so if the note needs to stay useful, save the file to Google Drive or Dropbox in the same flow.
No, each step attaches to one record. Add a second Log a note in HubSpot step pointed at the other record.