For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inBook a demo
GuidesAPI Reference
GuidesAPI Reference
  • Getting started
    • Introduction
    • IP Whitelisting
    • Obtaining API keys
    • LLMs.txt
    • MCP server
    • Quickstart
    • Native clients
    • Concepts
    • Embedding authentication
    • Versioning
    • Idempotent requests
    • Events
    • Self-hosted option
    • 2025-09-18 Migration Guide
  • Configuring your connections
    • Overview
      • Affinity
      • Airtable
      • Amazon Selling Partner
      • Amplemarket
      • Amplitude
      • Apollo.io
      • App Store Connect
      • Appcues
      • AppsFlyer
      • Asana
      • Ascend
      • Ashby
      • Attio
      • Auth0
      • Autumn
      • Autura
      • AWS Athena
      • AWS OpenSearch
      • Azure Blob Storage
      • Azure Cosmos DB
      • Azure SQL
      • Azure Synapse
      • Barbour ABI
      • Botpress
      • Brevo
      • Calendly
      • CallRail
      • Campfire
      • Chameleon
      • Chargebee
      • Chili Piper
      • Chorus
      • Circle
      • Clari Copilot
      • Clazar
      • Clerk
      • ClickHouse
      • Cloudflare Logs
      • Cloudflare R2
      • Construct Connect
      • ConstructionWire
      • CSV URL
      • Customer.io
      • Customer.io Warehouse Exports
      • Databricks
      • Datadog
      • Dayforce
      • dbt Cloud
      • dbt Project Repository
      • DealCloud
      • Delighted
      • Dialpad
      • Dittofeed
      • Docker Hub
      • Dropbox
      • Dub
      • DynamoDB
      • Facebook Ads
      • Factors.ai
      • Fathom
      • Fireflies.ai
      • Freshdesk
      • Freshservice
      • Front
      • Fullstory
      • G2
      • Gainsight CS
      • Gatsby
      • GitHub
      • Gladly
      • Glean
      • Gmail
      • Gong
      • Google Ads
      • Google Analytics
      • Google BigQuery
      • Google Cloud MySQL
      • Google Cloud PostgreSQL
      • Google Cloud Storage
      • Google Search Console
      • Google Sheets
      • Google Slides
      • Google Workspace
      • Gorgias
      • Greenhouse
      • Harmonic
      • Heap
      • Heron Data
      • HeyReach
      • HighLevel
      • Highspot
      • Honeycomb
      • HTTP API
      • HTTP Enrichment
      • HubSpot
      • Hyperline
      • IBM Db2
      • Instantly
      • Intellimize
      • Intercom
      • Ironclad
      • Iterable
      • Jira
      • Juro
      • Klaviyo
      • Kustomer
      • Lago
      • LearnWorlds
      • Linear
      • LinkedIn Ads
      • Lob
      • Loop
      • Loops
      • Luma
      • m3ter
      • MailerCheck
      • Marketo
      • Microsoft Ads
      • Microsoft Dynamics 365
      • Microsoft SharePoint Excel
      • Microsoft SQL Server
      • Mixpanel
      • monday.com
      • MongoDB
      • MotherDuck
      • MySQL
      • n8n
      • NetSuite
      • NetSuite OpenAir
      • NetSuite SuiteAnalytics
      • Northbeam
      • Notion
      • Outreach
      • Pardot
      • PartnerPage
      • Paycor
      • Pinterest Ads
      • Pipedrive
      • Pitchbook
      • Plain
      • PlusVibe
      • Polytomic Metadata
      • PostgreSQL
      • PostHog
      • PredictLeads
      • Productboard
      • Profound
      • Pylon
      • QtaniumConnect
      • Qualtrics
      • QuickBooks
      • Ramp
      • Recharge
      • Reddit Ads
      • Redshift
      • Redshift Serverless
      • Reo.dev
      • Reply
      • Rewardful
      • Rippling
      • Rocketlane
      • S3
      • Sage Intacct
      • Salesbricks
      • Salesforce
      • Salesloft
      • Scamalytics
      • ScyllaDB
      • Seal Subscriptions
      • Seam AI
      • Segment
      • Seismic
      • SFTP
      • ShipBob
      • Shippo
      • Shopify
      • Short.io
      • Showpad
      • Slack
      • Smartlead.ai
      • Smartsheet
      • Snowflake
      • Sprig
      • Sprout Social
      • Standard Metrics
      • Statsig
      • Stord
      • Strackr
      • Stripe
      • SurveyMonkey
      • Survicate
      • Tabs
      • TestRail
      • Thrive
      • TikTok Ads
      • Tixr
      • Towbook
      • Twilio Sendgrid
      • Typeform
      • Unbounce
      • Upfluence
      • UpPromote
      • UserVoice
      • Vanilla Forums
      • Walmart Marketplace
      • Ware2Go
      • Webhook
      • WorkOS
      • Xero
      • Yotpo
      • YouTube Analytics
      • Zendesk Chat
      • Zendesk Support
      • Zoho CRM
      • Zoho Desk
      • ZoomInfo
    • CDC streaming from databases
    • Syncing to custom webhooks
  • Code examples
    • Overview
    • Bulk sync (ELT) from HubSpot to PostgreSQL
    • Bulk sync (ELT) from Salesforce to S3
    • Bulk sync (ELT) from Salesforce to Snowflake
    • Model sync (Reverse ETL) from Snowflake query to Salesforce
    • Model sync (Reverse ETL) from MongoDB to Salesforce
    • Adding users from Snowflake to Salesloft Cadence
    • Adding contacts from Snowflake to Gong Engage
    • Joined model sync from Postgres, Airtable, and Stripe to Hubspot
    • Model sync from MySQL to Snowflake
    • Model sync from Salesforce to Netsuite
    • Querying Salesforce using SOQL
    • Syncing audiences from Snowflake to LinkedIn Ads
    • Syncing contacts from Google Cloud Storage to Salesforce
    • Syncing contacts from Google Cloud Storage to webhooks
  • Terraform examples
    • Overview
    • Model sync (Reverse ETL) from BigQuery to Salesforce
    • Model sync (Reverse ETL) from BigQuery to LinkedIn Ads
Logo
Log inBook a demo
On this page
  • Connection
  • Configuration
  • Example
  • Read-only properties
  • Model Sync
  • Source
  • Configuration
  • Example
  • Target
  • Lead or Contact
  • Configuration
  • Example
  • Leads
  • Configuration
  • Example
  • Other targets
  • Configuration
  • Example
  • Bulk Sync
  • Source
Configuring your connectionsConnection configurations

Salesforce

Was this page helpful?
Previous

Salesloft

Next

Supports:

  • ✅ Models
  • ✅ Model sync destination
  • ✅ Bulk sync source
  • ✅ Connection Proxy

Connection

Configuration

NameTypeDescriptionRequired
client_idstringClient ID

(required if connect_mode is “clientcredentials”)
false
client_secretstringClient Secret

(required if connect_mode is “clientcredentials”)
false
connect_modestringDefault: browser (i.e. oauth through Polytomic). If ‘code’ is specified, the response will include an auth_code for the user to enter when completing authorization. NOTE: when supplying client_id and client_secret the connect mode must be ‘api’.

Accepted values: browser, clientcredentials, code, api
false
daily_api_callsintegerDaily call limit

The daily Salesforce API call cap that Polytomic should adhere to.
false
domainstringDomain

The Salesforce instance’s login domain, e.g. acmecorp.my.salesforce.com
true
enable_multicurrency_lookupbooleanEnable multicurrency source field support

If incremental mode for bulk-syncing from Salesforce formula fields is enabled, setting this to true extends support to accurate currency conversions.
false
enable_toolingbooleanEnable support for Tooling API

If true, expose objects from the Salesforce Tooling API in the Polytomic bulk sync source object list.
false
enforce_api_limitsbooleanEnforce API limits

If true, Polytomic will restrict itself to a fixed daily cap of Salesforce API calls enforced by the number in daily_api_calls.
false
oauth_refresh_tokenstringfalse

Example

1{
2 "name": "Salesforce connection",
3 "type": "salesforce",
4 "configuration": {
5 "client_id": "a45gadsfdsaf47byor2ugfbhsgllpf12gf56gfds",
6 "client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
7 "connect_mode": "api",
8 "daily_api_calls": 0,
9 "domain": "http://instance.my.salesforce.com",
10 "enable_multicurrency_lookup": false,
11 "enable_tooling": false,
12 "enforce_api_limits": false,
13 "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq"
14 }
15}

Read-only properties

NameTypeDescriptionRequired
instance_url_overridestringInstance URL override

This URL will be used for API requests instead of the one provided by Salesforce during OAuth.
false
usernamestringSalesforce userfalse

Model Sync

Source

Configuration

NameTypeDescriptionRequired
include_deletedbooleanInclude deleted recordsfalse
querystringfalse
tablestringObjectfalse

Example

1{
2 ...
3 "configuration": {
4 "include_deleted": false,
5 "query": "select Id from Contact",
6 "table": "Contact"
7 }
8}

Target

Salesforce connections may be used as the destination in a model sync. Some destinations support additional configuration.

Lead or Contact

Applies to:

  • multi:leadOrContact
Configuration
NameTypeDescriptionRequired
bulk_batch_sizeintegerBulk batch sizefalse
concurrency_modestringConcurrency mode

Accepted values: Parallel, Serial
false
create_records_asstringCreate new records as

Accepted values: Contact, Lead, ContactIfAccountId
true
ingestion_apistringIngestion API

Accepted values: automatic, bulk, rest
true
rest_batch_sizeintegerREST batch sizefalse
Example
1{
2 ...
3 "target": {
4 "configuration": {
5 "bulk_batch_size": 100,
6 "concurrency_mode": "Parallel",
7 "create_records_as": "",
8 "ingestion_api": "bulk",
9 "rest_batch_size": 200
10 }
11 }
12}

Leads

Applies to:

  • Lead
Configuration
NameTypeDescriptionRequired
bulk_batch_sizeintegerBulk batch sizefalse
concurrency_modestringConcurrency mode

Accepted values: Parallel, Serial
false
ignore_invalid_referencesbooleanIgnore invalid external ID referencesfalse
ingestion_apistringIngestion API

Accepted values: automatic, bulk, rest
true
insert_null_valuesbooleanCopy null valuesfalse
invalid_relationshipsstringRecords with invalid relationship IDs

Accepted values: error, omit_values, omit_records
true
only_sync_differentbooleanOnly update if different from Salesforcefalse
rest_batch_sizeintegerREST batch sizefalse
skip_convertedbooleanIgnore converted and duplicate Leadsfalse
sort_batches_bystringSort batches bytrue
Example
1{
2 ...
3 "target": {
4 "configuration": {
5 "bulk_batch_size": 100,
6 "concurrency_mode": "Parallel",
7 "ignore_invalid_references": false,
8 "ingestion_api": "bulk",
9 "insert_null_values": false,
10 "invalid_relationships": "",
11 "only_sync_different": false,
12 "rest_batch_size": 200,
13 "skip_converted": false,
14 "sort_batches_by": "AccountId"
15 }
16 }
17}

Other targets

Configuration
NameTypeDescriptionRequired
bulk_batch_sizeintegerBulk batch sizefalse
concurrency_modestringConcurrency mode

Accepted values: Parallel, Serial
false
ingestion_apistringIngestion API

Accepted values: automatic, bulk, rest
true
insert_null_valuesbooleanCopy null valuesfalse
invalid_relationshipsstringRecords with invalid relationship IDs

Accepted values: error, omit_values, omit_records
true
only_sync_differentbooleanOnly update if different from Salesforcefalse
rest_batch_sizeintegerREST batch sizefalse
sort_batches_bystringSort batches bytrue
Example
1{
2 ...
3 "target": {
4 "configuration": {
5 "bulk_batch_size": 100,
6 "concurrency_mode": "Parallel",
7 "ingestion_api": "bulk",
8 "insert_null_values": false,
9 "invalid_relationships": "",
10 "only_sync_different": false,
11 "rest_batch_size": 200,
12 "sort_batches_by": "AccountId"
13 }
14 }
15}

Bulk Sync

Source

Salesforce connections may be used as a bulk sync source. No additional configuration options are required.