Browse sources$ls -a sources
Logo of salesforce
Salesforce
Leverage your customers' sales data to boost your CRM features
Sync your customers' dataFiber pulls data from your customers' Salesforce accounts into your database or cloud storage. Skip months of integration work and begin syncing in minutes.
Logo of salesforce
Logo of salesforce
Logo of salesforce
Logo of salesforce
Logo of salesforce
Logo of salesforce
Logo of salesforce
Logo of salesforce
Logo of salesforce
Logo of salesforce
Fiber
postgres-prod
salesforce_accounts
salesforce_leads
Your customers' Salesforce accounts
Your production database
Meet your new integration toolkit: SQLReplace calls to the Salesforce API with an interface you already use. Access the data you need straight from your database.
-- Fetch all the Leads belonging to the Salesforce
-- account of a particular user.

SELECT *
FROM fiber.salesforce_lead
WHERE account_id = '{user.salesforce_id}'
-- Fetch all the Leads belonging to the Salesforce
-- account of a particular user.

SELECT *
FROM fiber.salesforce_lead
WHERE account_id = '{user.salesforce_id}'
Code
CREATE TABLE fiber.salesforce_lead (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
available JSONB,
pending JSONB,
object TEXT,
connect_reserved JSONB,
instant_available JSONB,
issuing JSONB,
livemode BOOLEAN
)
CREATE TABLE fiber.salesforce_lead (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
available JSONB,
pending JSONB,
object TEXT,
connect_reserved JSONB,
instant_available JSONB,
issuing JSONB,
livemode BOOLEAN
)
Model definition
About this source
Logo of Salesforce
SalesforceRead accounts, contacts, leads, and opportunities from Salesforce.salesforce.com  ↗
Available resources
    Accounts
    Leads
Missing a resource? We will build it for you.
Similar sources
OAuth
Need help with OAuth for Salesforce?Handshake ↗ is a Next.js app boilerplate that handles your OAuth with Salesforce and over 200 other APIs. Setup and deploy within minutes.
Logo of salesforceIntegrate Salesforce using Fiber Fiber makes it easy to access third-party data from Salesforce accounts. Get started in just a few minutes.