Salesforce Integration

Our Salesforce integration is a premium integration. Use our help article to see or change your pricing.

CallRail's Salesforce integration allows you to fully customize how your call activities report to Salesforce. Choose when and how your call tracking data reports and create customized rules for assigned new leads in your Salesforce campaigns. 

To use our integration, you'll need REST API access in Salesforce, which is included with the Lightning Enterprise or Unlimited plans or as an optional add-on to other packages. 

If you sense your Salesforce integration isn't functioning correctly, please see our Salesforce troubleshooting article.

Integrating with Salesforce

CallRail’s integration with Salesforce is company-dependent in your account. Follow the instructions below for each company you’d like to integrate with Salesforce.

  1. Click Analytics in the navigation bar on the left.
  2. Click Settings at the top of the page.
  3. Choose the company you’d like to integrate with Salesforce.
  4. Choose Salesforce from the list of available integrations.

Building in Sandbox or Production

Before building your integration, you'll want to choose to either set up and test your integration in your Salesforce Sandbox domain or build directly in your Salesforce Production account.

Note: CallRail is unable to transfer an integration from Sandbox to Production because pre-existing conditions in your Sandbox account and your Production account may interfere with your data reporting correctly. 

Choose Production, and enter your Salesforce Production Domain to grant CallRail access to your Salesforce Production account. Then click Authorize.

Choose Sandbox, and enter your Salesforce Sandbox Domain to grant CallRail access to your Salesforce Sandbox account. Then click Authorize.

Then, Authorize CallRail to connect with your Salesforce account.

Once you click Authorize, you'll be taken to Salesforce and asked to authorize this application to use data from your account. We will never see your Salesforce password.

Customizing Your Integration

Send CallRail call data to Salesforce

The first section on this page allows you to choose when CallRail sends the call data you select to Salesforce. You'll have two options in this first step:

1. Send call data when a call begins, and again when the call is completed. This will send one API call when the call starts, and another API call after the call ends. The first API call includes preliminary information we gather about a caller, like their caller ID name and telephone number. The API call after the call ends will send details like the call's duration, as well as a link to the call. 

2. Only send call data when a call is completed. This will only send one API call after the call ends. This single API call will include all details about the call.

Regarding CallRail's creation or updating of leads and call activities that are detailed in the next sections, please note that once we create a lead, we never update the lead object again - it is the call activities that get updated.

We will create a lead at the start of the call, and we post call activities within that lead at the start with the limited pre-call information we have available (generally the caller ID info and start time). When the call is completed, we update the call activity fields, which we then have more information available for (such as duration, recording, and tags).

Send Outbound Calls to Salesforce

Choose whether or not CallRail should post activities for outbound calls in addition to inbound ones.

Leads and Activities for outbound calls will follow the same configuration settings already mapped out for inbound calls within Salesforce.

Creating New Leads

Click the checkbox to allow CallRail to create a new lead when no lead is found. This allows us to search your Salesforce account for the phone number of the caller. If no contact, account, or lead is found with that phone number, we'll create a new lead.

If you've chosen to create a new lead when no lead is found, there are additional and advanced customizations you can configure for your new leads.

First, you can add any of the required fields you created in Salesforce to the CallRail integration and assign default values to the new leads CallRail creates within Salesforce.

Each of these values will be assigned automatically within Salesforce when a new lead is received. This allows you to send new leads to Salesforce even if your required fields are not associated with any of the call data.

The first set of rows within this table are your default fields. You can freely add or remove these settings.

Click + Add Field to add a new lead object field.

Next, you can choose how your Salesforce lead object fields populate with call data by setting up custom field mapping. 

For example, to assign a lead's source, you can create a row that sends the CallRail field "source type" to the Salesforce field, "lead source." CallRail will never update, overwrite, or change existing lead fields in Salesforce.

The first set of rows within this table are CallRail's default settings. You can freely add or remove these settings.

Click + Add Field to add a new lead object field or Reset to Defaults to restore CallRail's default settings.

Finally, choose if you'd like to assign a Salesforce campaign to new leads created by CallRail. 

Clicking this checkbox to enable this feature also allows you to set rules as to how your campaign will be assigned in Salesforce. Only in-progress Salesforce campaigns will appear in this drop-down.

- Select + Add Rule to create a new row on the table.
- Select a Call FieldRule, and Salesforce Campaign for each row you create.
- Use the arrows on the left to create an order in which campaigns should be assigned to new leads that fit more than one criterion.

Existing Contacts and Accounts

You may also choose to add call activities to existing contacts and accounts within Salesforce. This means that CallRail will post any call activity by a contact or account that existed within your Salesforce account prior to setting up this integration with CallRail.

Selecting this option also adds call activities to new and existing leads. 

Customize Call Activities

This allows you to use field mapping to correlate specific call data fields with the Salesforce call activity field of your choice. 

Note: You can configure the same CallRail call field to populate different Salesforce fields; however, it's not possible to send two call fields to the same Salesforce field.

Click + Add Field to create a new row or Reset to Defaults to restore the pre-populated list.

When you're finished customizing your Salesforce integration, click Activate.

Calls will begin sending your custom data to Salesforce from the time the integration is activated and going forward, it won't register new leads or call activities that occurred prior to activating the integration.

Disabling Salesforce Integration

Disabling a company's Salesforce integration will prevent CallRail from sending campaign data to your Salesforce account. We'll keep your Salesforce credentials saved in case you'd like to re-activate your integration in the future.

  1. Click Analytics in the navigation bar on the left.
  2. Click Settings at the top of the page.
  3. Choose the company whose integration you'd like to disable.
  4. Select All Integrations from the Integrations menu on the left.
  5. Choose Salesforce from the list of integrations.
  6. Select Disable Integration on the right side of the page.
  7. Click Disable to turn off your Salesforce integration.

Fields CallRail Can Send to Salesforce

The integration supports mapping data to custom and standard fields of the following types: string, picklist, multipicklist, phone, email, url, currency, int, datetime, double date, percent, and textarea.

Below is a list of specific call fields CallRail can send to SalesForce:

- abbr_customer_country
- abbr_customer_state
- answered
- business_phone_number
- call_highlights
- call_type
- call_url
- company_id
- company_name
- company_site_name
- company_time_zone
- conversational_transcript
- created_at
- customer_city
- customer_country
- customer_name
- customer_phone_number
- customer_state
- description_block
- device_type
- direction
- duration
- first_call
- formatted_business_phone_number
- formatted_call_type
- formatted_customer_location
- formatted_customer_name
- formatted_customer_name_or_phone_number
- formatted_customer_phone_number
- formatted_duration
- formatted_tracking_phone_number
- formatted_tracking_source
- formatted_value
- full_customer_country
- full_customer_state
- ga
- gclid
- good_lead_call_id
- good_lead_call_time
- id
- integration_data
- keywords
- keywords_spotted
- landing_page_url
- last_requested_url
- lead_status
- medium
- note
- prior_calls
- recording
- recording_duration
- recording_player
- referrer_domain
- referring_url
- source_name
- speaker_percent
- start_time
- tags
- total_calls
- tracker_id
- tracking_phone_number
- transcription
- utm_campaign
- utm_content
- utm_medium
- utm_source
- utm_term
- utma
- utmb
- utmc
- utmv
- utmz
- value
- voicemail
- waveforms


Can I send my texts or form submissions to Salesforce?

CallRail's integration with Salesforce only sends call data. Form submissions, and text messages won't report to Salesforce.