App Logo
app.hubspot.com

HubSpot login (Google SSO)

Log into HubSpot (app.hubspot.com) with Google SSO: submits your email, signs in through Google, and handles the account chooser and first-time consent. HubSpot then shows a new-device email-verification step: pass the 6-digit code as `code`, or sign in once manually so HubSpot trusts the device — that confirmation is reliable only on a trusted device, so in practice this re-logs you in after one manual sign-in. `email` is required for a fresh sign-in: HubSpot's login is identifier-first, so the Google option only appears once an email is submitted, and it also selects which Google account to use.

Input

code optional

6-digit HubSpot log-in code from the email HubSpot sends when it does not recognise the device. Not needed on a device HubSpot already trusts, or when the browser already has a live HubSpot session.

email optional

Google account to sign in with (e.g. [email protected]). Required when a fresh sign-in is needed: HubSpot's login is identifier-first, so the Google button only renders after an email is submitted. Ignored when the browser is already signed in, so it's optional overall.

Output

url required

The HubSpot URL the run ended on, an app or portal-chooser route, never /login or /login/confirm-to-login.

step required

already when the browser already had a live HubSpot session, code when a device-confirmation code was entered, sso when Google SSO alone was enough.

loggedIn required

Always true on a successful return, a run that cannot sign in throws instead.

note optional
account optional

The Google account the SSO flow was driven with. Null on the already path.

Start building not clicking