Read and update contacts, companies, deals and tickets from any Windmill script, flow or app.
Set up in 3 steps
Create a private app
In HubSpot, open Settings, then Integrations, then Private apps. Create an app, tick the scopes your scripts need, and copy its access token.
Add the resource in Windmill
Open Resources, add a resource of type hubspot, and paste the token.
Run your first script
Fork any script below and list contacts before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Get a properties configuration from hubspot crm
Get Contact
Create Deal
Create Contact
Get Deal
Create Associations
Get File Public URL
Resource type
The shape of the credential every script on this page expects.
hubspot
View raw schema →| Field | Type | Required | What it is |
|---|---|---|---|
| token | string | No | Access token of a private app |
Questions
A call fails on a missing scope
Scopes are fixed per private app. Edit the app in HubSpot to add the scope, then use the token again — it does not change.
Private app or the old API key?
Private apps. HubSpot retired account-wide API keys, and a private app token is scoped to what you granted it.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.