HubSpot → Google Sheets™
HubSpot CRM contacts, companies, deals, tickets, and pipeline data.
API Import for Google Sheets™ lets you connect HubSpot with the most popular apps, so you can automate your work and have more time for what matters most — no code required.
HubSpot OAuthHubSpot is a CRM platform used by sales and marketing teams to track contacts, companies, deals, and support tickets across the customer lifecycle. HubSpot's native reports live inside HubSpot — to blend CRM data with other sources, build custom pipeline dashboards, or share data with stakeholders who don't have seats, you need to get the numbers out. API Import pulls HubSpot contacts, deals, and pipeline data directly into Google Sheets™ on a schedule, so your reports stay current without anyone manually exporting a CSV.
- Open API Import for Sheets from the Google Sheets™ Extensions menu.
- Select HubSpot from the API selector.
- Under Authentication, click Connect.
- HubSpot opens Connecting API Import for Google Sheets™ to HubSpot.
- Choose the minimum permissions needed for the data you want. Prefer View-only permissions; do not select write permissions unless your workflow explicitly needs them.
- Click Connect app.
- Because the API Import MCP app is currently unverified, HubSpot asks you to confirm the risk. Type I accept the risk, then click Connect.
- Return to the sidebar. Wait for the HubSpot credential to appear, or click Refresh Connection.
- Select the connected HubSpot credential from the dropdown and run your prompt.
Use this path only if you manage a separate API Import Apps Script™ deployment and want to connect HubSpot through your own HubSpot MCP Auth App instead of the API Import MCP app.
- Log in to your HubSpot dashboard.
- Click the gear icon (Settings) in the top navigation bar.
- In the left sidebar, go to Integrations, then click MCP Auth Apps.
- Click Create MCP auth app.
- Enter a clear Name, such as API Import for Sheets.
- Enter a short Description, such as Google Sheets™ API import connector.
- Set Redirect URL to the API Import Apps Script™ callback URL:
https://script.google.com/macros/d/1MM5flAOQ3nGmBsxbaH1ceWyt8aVlsu9U4avHWFNaXbXUaI2xXYiAIluE/usercallback
- Use this production URL for the live API Import add-on. For staging or a private Apps Script™ copy, replace the script ID with that deployment's script ID.
- Add an icon if you plan to certify or list the app in HubSpot Marketplace.
- Click Create.
- After HubSpot shows MCP Auth App Created, find the Client credentials section.
- Copy the Client ID. This is used to initiate OAuth.
- Click Show for Client secret, then copy it.
- The Installation URL Builder test URL is for manual OAuth testing only — API Import handles OAuth automatically.
- Add these two Script Properties to your API Import Apps Script™ deployment:
AI_API_CONNECTOR_HUBSPOT_CLIENT_ID→ your Client IDAI_API_CONNECTOR_HUBSPOT_CLIENT_SECRET→ your Client secret - Open API Import for Sheets from the Google Sheets™ Extensions menu.
- Select HubSpot from the API selector.
- Under Authentication, click Connect and authorize the connection.
- Select the connected HubSpot credential from the dropdown and run your prompt.
Ready to connect HubSpot to Google Sheets™?
Install the free add-on and start pulling data in minutes.
Install Free on Google Sheets™