HubSpot

Paste an API key

Log notes with document links on contacts, deals or companies.

What you can do

No false success: every send/create in HubSpot is verified — ASHDOCS reads the item back from HubSpot's API before the step turns green. If it can't be found, the run fails honestly instead of pretending.

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

  1. 1Trigger: When a webhook arrives. Your own app or another tool posts the deal ID, company name and amount when a deal closes.
  2. 2Write a document: a one-page deal summary with the company and amount from the payload.
  3. 3Save to Google Drive, so there's a permanent copy of the summary.
  4. 4Log a note in HubSpot, with Attach to set to deal, Record ID {{trigger.body.deal_id}}, and a short Note.
  5. 5Result: The deal gets a note linking to the summary PDF, and Drive keeps the master copy.

Get your HubSpot credentials

  1. 1In HubSpot go to Settings → Integrations → Private Apps and click Create a private app.
  2. 2On the Scopes tab enable crm.objects.notes (write) plus read on the object types you'll attach to (contacts/deals/companies).
  3. 3Create the app and copy the token (starts with pat-).

Add the connection in ASHDOCS

  1. 1Open the Connections page in the flows console.
  2. 2Click “Connect with a key” and pick HubSpot.
  3. 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

“refused the note (403)”
The private app is missing the crm.objects.notes write scope — edit its scopes and generate a new token.
Note not visible on the record
Check the record ID: it's the number in the record's URL, and the Attach to type must match (contact vs deal vs company).

FAQ

Is the note verified?

Yes — the note is read back from HubSpot by its ID before the step turns green.

Where do I find a record's ID?

Open the contact/deal/company in HubSpot — the number in the URL is the ID. Or template it from a webhook trigger.

Do the document links in a HubSpot note work forever?

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.

Can one note go on a contact and a deal at the same time?

No, each step attaches to one record. Add a second Log a note in HubSpot step pointed at the other record.

Connect HubSpot →All 28 integrations