Salesforce

Salesforce logo

Salesforce

Configuration

Salesforce source connector integrates with the Salesforce REST API to extract CRM data.

Synchronizes comprehensive data from your Salesforce org including:

  • Accounts (companies, organizations)
  • Contacts (people, leads)
  • Opportunities (deals, sales prospects)

It provides access to all major Salesforce objects with proper OAuth2 authentication.

Authentication

This connector uses OAuth 2.0 with custom credentials. You need to provide your OAuth application’s Client ID and Client Secret, then complete the OAuth consent flow.

OAuth Setup Required
  1. Create an OAuth application in your provider’s developer console
  2. Enter your Client ID and Client Secret when configuring the connection
  3. Complete the OAuth consent flow

Configuration Options

The following configuration options are available for this connector:

Configuration Parameters

Salesforce configuration schema.

instance_url
strRequired

Your Salesforce instance domain only (e.g. ‘mycompany.my.salesforce.com’)

Data Models

The following data models are available for this connector:

Schema for Salesforce Account entities.

https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_account.htm

FieldTypeDescription
nameOptional[str]Account name
account_numberOptional[str]Account number
websiteOptional[str]Account website URL
phoneOptional[str]Account phone number
faxOptional[str]Account fax number
industryOptional[str]Account industry
annual_revenueOptional[float]Annual revenue
number_of_employeesOptional[int]Number of employees
ownershipOptional[str]Account ownership type
ticker_symbolOptional[str]Stock ticker symbol
descriptionOptional[str]Account description
ratingOptional[str]Account rating
parent_idOptional[str]ID of parent account
typeOptional[str]Account type
billing_streetOptional[str]Billing street address
billing_cityOptional[str]Billing city
billing_stateOptional[str]Billing state/province
billing_postal_codeOptional[str]Billing postal code
billing_countryOptional[str]Billing country
shipping_streetOptional[str]Shipping street address
shipping_cityOptional[str]Shipping city
shipping_stateOptional[str]Shipping state/province
shipping_postal_codeOptional[str]Shipping postal code
shipping_countryOptional[str]Shipping country
created_dateOptional[datetime]Date and time when the account was created
last_modified_dateOptional[datetime]Date and time when the account was last modified
last_activity_dateOptional[datetime]Date of the last activity on the account
last_viewed_dateOptional[datetime]Date when the account was last viewed
last_referenced_dateOptional[datetime]Date when the account was last referenced
is_deletedboolIndicates whether the account has been deleted
is_customer_portalboolIndicates whether this account has customer portal access
is_person_accountboolIndicates whether this is a person account
jigsawOptional[str]Data.com ID
clean_statusOptional[str]Clean status from Data.com
account_sourceOptional[str]Source of the account
sic_descOptional[str]SIC description
duns_numberOptional[str]D-U-N-S number
tradestyleOptional[str]Tradestyle
naics_codeOptional[str]NAICS code
naics_descOptional[str]NAICS description
year_startedOptional[str]Year the account was started
metadataDict[str, Any]Additional metadata about the account

Schema for Salesforce Contact entities.

https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contact.htm

FieldTypeDescription
first_nameOptional[str]Contact’s first name
last_nameOptional[str]Contact’s last name
nameOptional[str]Full name (computed field)
emailOptional[str]Contact’s email address
phoneOptional[str]Contact’s phone number
mobile_phoneOptional[str]Contact’s mobile phone number
faxOptional[str]Contact’s fax number
titleOptional[str]Contact’s job title
departmentOptional[str]Contact’s department
account_idOptional[str]ID of the associated account
lead_sourceOptional[str]Source of the lead
birthdateOptional[datetime]Contact’s birthdate
descriptionOptional[str]Contact description
owner_idOptional[str]ID of the user who owns the contact
created_dateOptional[datetime]Date and time when the contact was created
last_modified_dateOptional[datetime]Date and time when the contact was last modified
last_activity_dateOptional[datetime]Date of the last activity on the contact
last_viewed_dateOptional[datetime]Date when the contact was last viewed
last_referenced_dateOptional[datetime]Date when the contact was last referenced
is_deletedboolIndicates whether the contact has been deleted
is_email_bouncedboolIndicates whether emails to this contact bounce
is_unread_by_ownerboolIndicates whether the contact is unread by the owner
jigsawOptional[str]Data.com ID
jigsaw_contact_idOptional[str]Data.com contact ID
clean_statusOptional[str]Clean status from Data.com
levelOptional[str]Contact level
languagesOptional[str]Languages spoken
has_opted_out_of_emailboolIndicates whether the contact has opted out of email
has_opted_out_of_faxboolIndicates whether the contact has opted out of fax
do_not_callboolIndicates whether the contact should not be called
mailing_streetOptional[str]Mailing street address
mailing_cityOptional[str]Mailing city
mailing_stateOptional[str]Mailing state/province
mailing_postal_codeOptional[str]Mailing postal code
mailing_countryOptional[str]Mailing country
other_streetOptional[str]Other street address
other_cityOptional[str]Other city
other_stateOptional[str]Other state/province
other_postal_codeOptional[str]Other postal code
other_countryOptional[str]Other country
assistant_nameOptional[str]Assistant’s name
assistant_phoneOptional[str]Assistant’s phone number
reports_to_idOptional[str]ID of the contact this contact reports to
email_bounced_dateOptional[datetime]Date when email bounced
email_bounced_reasonOptional[str]Reason why email bounced
individual_idOptional[str]ID of the associated individual
metadataDict[str, Any]Additional metadata about the contact

Schema for Salesforce Opportunity entities.

https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunity.htm

FieldTypeDescription
nameOptional[str]Opportunity name
account_idOptional[str]ID of the associated account
amountOptional[float]Opportunity amount
close_dateOptional[datetime]Expected close date
stage_nameOptional[str]Sales stage
probabilityOptional[float]Probability percentage
forecast_categoryOptional[str]Forecast category
forecast_category_nameOptional[str]Forecast category name
campaign_idOptional[str]ID of the associated campaign
has_opportunity_line_itemboolIndicates whether the opportunity has line items
pricebook2_idOptional[str]ID of the associated pricebook
owner_idOptional[str]ID of the user who owns the opportunity
created_dateOptional[datetime]Date and time when the opportunity was created
last_modified_dateOptional[datetime]Date and time when the opportunity was last modified
last_activity_dateOptional[datetime]Date of the last activity on the opportunity
last_viewed_dateOptional[datetime]Date when the opportunity was last viewed
last_referenced_dateOptional[datetime]Date when the opportunity was last referenced
is_deletedboolIndicates whether the opportunity has been deleted
is_wonboolIndicates whether the opportunity is won
is_closedboolIndicates whether the opportunity is closed
has_open_activityboolIndicates whether the opportunity has open activities
has_overdue_taskboolIndicates whether the opportunity has overdue tasks
descriptionOptional[str]Opportunity description
typeOptional[str]Opportunity type
lead_sourceOptional[str]Source of the lead
next_stepOptional[str]Next step in the sales process
metadataDict[str, Any]Additional metadata about the opportunity