See llms.txt for all machine-readable content.

GraphQL and HubSpot integration

Save yourself the work of writing custom integrations for GraphQL and HubSpot and use n8n instead. Build adaptable and scalable Data & Storage, Development, workflows that work with your technology stack. All within a building experience you will love.

How to connect GraphQL and HubSpot

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

GraphQL and HubSpot integration: Create a new workflow and add the first step

Sync Fireflies meeting notes to HubSpot CRM using Google Gemini and Slack alerts

Quick Overview This workflow receives Fireflies meeting-completed webhooks, pulls the full transcript from Fireflies via GraphQL, uses Google Gemini to extract a structured summary and CRM updates, and then writes notes, tasks, and property updates back to HubSpot with optional Slack alerts. How it works Receives a POST webhook from Fireflies when a meeting transcript is ready and fetches the transcript details via the Fireflies GraphQL API. Validates the payload, deduplicates previously processed meetings, and skips meetings with no transcript while optionally posting an ingestion notice to Slack. Retrieves writable HubSpot property schemas for contacts, companies, and deals, then filters meeting attendees to external emails based on your internal domain list. For each external participant, searches for the matching HubSpot contact and looks up the contact’s associated deals. Sends the transcript plus HubSpot property schemas to Google Gemini to generate a Markdown summary, intent/sentiment, optional follow-up task details, and property-mapped updates. Upserts the HubSpot contact by email, patches the associated company and deal (if enabled and available), and creates a HubSpot note and optional task associated to the contact/company/deal. Optionally posts a Slack message for high-intent meetings or unknown contacts, and sends a Slack alert if the workflow execution errors. Setup Create and connect credentials for Fireflies (header auth for the GraphQL API), HubSpot (Private App token / app token), Google Gemini, and Slack OAuth2. Configure Fireflies to send its “meeting completed” webhook to this workflow’s webhook URL path (fireflies-meeting-completed). Update the Workflow Configuration values (INTERNAL_EMAIL_DOMAINS, UNKNOWN_CONTACT_ACTION, SLACK_CHANNEL, AI_MODEL, and the update/task/alert toggles) to match your environment and desired sync behavior.

Popular ways to use the GraphQL and HubSpot integration

Build your own GraphQL and HubSpot integration

Create custom GraphQL and HubSpot workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

HubSpot supported actions

GraphQL and HubSpot integration details

GraphQL

GraphQL

GraphQL allows you to answer API queries using your pre-existing data. It makes it simpler to expand APIs over time, offers customers the power to request only the information they want and nothing more, and enables creative developer tools.

HubSpot

HubSpot

HubSpot is a leading all-in-one marketing and sales software that is tailored for content marketing, SEO, landing pages, lead management, marketing automation and more. It is easy to use, and can help you have a clear view of your entire sales cycle.

Supercharge your CRM

Need a more powerful integration with your CRM? n8n lets you go beyond standard integrations offered by popular CRMs!

Learn more

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about GraphQL integrations

Need help setting up your GraphQL and HubSpot integration?

Discover our latest community's recommendations and join the discussions about GraphQL and HubSpot integration.

  • Kody Millar

    GraphQL Node Does Not Work Properly

    Kody Millar

    Describe the problem/error/question I am trying to use a GraphQL node to query my Monday account, and it tells me I have an invalid GraphQL schema. However, the exact same schema works on my Monday account both in Postma…

    Open topic
  • Neal A Richardson Sr

    OAuth Token not refreshing for GraphQL credential because API returns a 200 with a nested error

    Neal A Richardson Sr

    Describe the problem/error/question We have a GraphQL API that uses OAuth 2 for authentication and when the JWT token expires, the API returns a 200 with a nested error message. e.g. Status: 200 OK / Body: {"Errors":[{…

    Open topic
  • Jonas Wagner

    How can I edit the subscription type a contact is subscribed to?

    Jonas Wagner

    Hi, I am new here :smiley: I have a Notion form for interested contacts to subscribe to my hubspot newsletter. How can I change the subscription of a contact when he fills the form and a new contact is created in Hubsp…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate GraphQL with HubSpot

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window