Browse sources$ls -a sources
Logo of hubspot
Hubspot
Tap into your customers' marketing & sales data within Hubspot
Sync your customers' dataFiber pulls data from your customers' Hubspot accounts into your database or cloud storage. Skip months of integration work and begin syncing in minutes.
Logo of hubspot
Logo of hubspot
Logo of hubspot
Logo of hubspot
Logo of hubspot
Logo of hubspot
Logo of hubspot
Logo of hubspot
Logo of hubspot
Logo of hubspot
Fiber
postgres-prod
hubspot_calls
hubspot_contacts
hubspot_deals
Your customers' Hubspot accounts
Your production database
Meet your new integration toolkit: SQLReplace calls to the Hubspot API with an interface you already use. Access the data you need straight from your database.
-- Fetch all the Contacts belonging to the Hubspot
-- account of a particular user.

SELECT *
FROM fiber.hubspot_contact
WHERE account_id = '{user.hubspot_id}'
-- Fetch all the Contacts belonging to the Hubspot
-- account of a particular user.

SELECT *
FROM fiber.hubspot_contact
WHERE account_id = '{user.hubspot_id}'
Code
CREATE TABLE fiber.hubspot_contact (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
completed_at TEXT,
requested_at TEXT,
started_at TEXT,
links JSONB,
results JSONB
)
CREATE TABLE fiber.hubspot_contact (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
completed_at TEXT,
requested_at TEXT,
started_at TEXT,
links JSONB,
results JSONB
)
Model definition
About this source
Logo of hubspot
HubspotInbound marketing, sales, and service software that helps companies attract visitors, convert leads, and close customers.hubspot.com  ↗
Available resources
Missing a resource? We will build it for you.
Similar sources
OAuth
Need help with OAuth for Hubspot?Handshake ↗ is a Next.js app boilerplate that handles your OAuth with Hubspot and over 200 other APIs. Setup and deploy within minutes.
Logo of hubspotIntegrate Hubspot using Fiber Fiber makes it easy to access third-party data from Hubspot accounts. Get started in just a few minutes.