HubSpot

CRM Private app token Windmill docs

Read and update contacts, companies, deals and tickets from any Windmill script, flow or app.

Set up in 3 steps

1

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.

2

Add the resource in Windmill

Open Resources, add a resource of type hubspot, and paste the token.

3

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.

Submit a script →

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
tokenstringNoAccess 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.