Overview

The Salesforce Standard connector allows you to seamlessly sync your Captello prospects to Salesforce as Leads or Contacts using Automations, Fulfillment Actions, and Bulk Actions, along with the options to add them to campaigns and accounts inside your Salesforce.com instance.

For Salesforce (Professional), which allows you to have more options (such as campaign filters and creating tasks on Salesforce), refer to Salesforce (Professional).

For differences between the Professional Connector and the Standard Connector, refer to https://leadliaison.atlassian.net/wiki/spaces/LL/pages/2807562242/Salesforce+Standard#Differences-Between-Standard-and-Professional-Connectors.

Differences Between The Standard and Professional Connectors

Standard

Professional

Can sync records to the Leads object

(blue star)

(blue star)

Can sync records to the Contacts object

(blue star)

(blue star) (by converting leads to Contacts).

Can create opportunities for Contacts

(blue star)

(blue star)

Can add records to campaigns

(blue star)

(blue star)

Duplicate management settings

(blue star)

(blue star)

Time to sync records

Instantly

On sync cycles (5 minutes in between).

Can connect multiple Salesforce accounts at once

(blue star)

(blue star)

Can connect sandbox accounts without Captello Support help

(blue star)

(blue star)

SSO authentication

(blue star)

(blue star)

Ability to set a no-action outcome in fulfillment actions (ex. Update a record if existing, else, no action is taken).

(blue star)

(blue star)

Assigning owners based on Captello owners

Workaround available

(blue star)

Can create tasks for records

(blue star)

(blue star)

2-way syncing, cross reference filters and ROI syncing

(blue star)

(blue star)

Constantly syncs updates for synced records on 5-minute sync cycles.

(blue star)

(blue star)

Lookup in Salesforce

Upcoming feature

(blue star)

Can sync marketing emails to records as activities

(blue star)

(blue star) (requires the Captello plugin)

Switching from Salesforce (Professional) to Salesforce (Standard)

To switch from Salesforce Premium to Standard, follow the steps below:

image-20241021-173638.png

API Information

API used: Salesforce REST API (v61.0)

Duplicate checking method: REST API running a SOQL query against the Lead and Contact objects.

Sync Flow Diagram

The following diagram shows the data flow from Captello to Salesforce.

Connecting your Salesforce Account

To connect your Salesforce account, follow the steps below:

image-20241007-192649.pngimage-20241007-192803.png

You can login using SSO.

note

The logged in users must have access to:

To sync leads:

  • The lead object, with read and write access to all the fields that you are syncing to.

To sync contacts:

  • The contact object, with read and write access to all the fields that you are syncing to.

  • Account object with read and write access to all the fields that you are going to sync to.

To add records to campaigns:

  • All the campaigns that you desire to add leads/contacts to.

The logged in users must have access to:

To sync leads:

  • The lead object, with read and write access to all the fields that you are syncing to.

To sync contacts:

  • The contact object, with read and write access to all the fields that you are syncing to.

  • Account object with read and write access to all the fields that you are going to sync to.

To add records to campaigns:

  • All the campaigns that you desire to add leads/contacts to.

image-20241007-193003.png

Your Salesforce account is now connected.

image-20241007-203434.png

You can add more accounts by clicking ‘Add account’ again

Mapping Fields

The mapping option is available for leads, contacts and accounts, since Captello actions can be used to create both leads and contacts.

To map your Captello fields to Salesforce fields, click on the drop-down of the intended account, and clickthe object you need to map to.

image-20241007-211545.png

Then map your fields as desired, by adding field mappings, selecting Captello fields and selecting Salesforce fields.

image-20241007-214852.png

Adding a Fulfillment Action to Sync Records from a Capture Form to Salesforce

In the following example, a form will be set to sync all submitted prospects to Salesforce.

image-20241007-215826.pngimage-20241007-220036.pngimage-20241007-221952.png

More options will appear if ‘Create new record’ is selected and when a campaign action is selected.

The account drop-down will also appear if ‘Create new Contact’ is selected.

image-20241007-231634.png

Salesforce Fulfillment Action Settings

Select Account

The 'Select Account' Drop-down Allows you to select one of the connected Salesforce account in the connectors page (Setup > Integrations > Connectors).

Duplicate Checking

image-20241007-222443.png

The Duplicate checking drop-down: allows you to select the duplicate checking behavior. The following options are available:

Check duplicates by: allows you to check duplicates either by email only, or by ‘email or name’.

image-20241007-223512.png

Duplicate action: allows you to select what happens when duplicates are found (including if multiple duplicates are found).

image-20241007-225727.png

The available options are:

Create Record Action

image-20241007-232027.png

The ‘create record action’ allows you to choose between creating a lead, a contact, or not creating a record at all.

If creating a lead/contact is chosen, it will not create a record if a duplicate is found and updated according to the duplicate action selected above. However, if the duplicate check is disabled, a record will be created.

When creating a lead/contact is selected, the following settings will appear:

image-20241007-232248.png

When creating a contact is selected, the following setting will appear:

image-20241007-232324.png

Account action: Allows you to choose what happens to the contact in relation to the account when syncing a contact. The following options are available:

Create opportunity: Creates an opportunity when a contact record is created.

Campaign Action

image-20241007-232729.png

The following campaign actions are available:

To add leads to the campaigns, you need to fill the following textboxes:

Campaign ID: Enter the campaign ID of the campaign you desire to add the record to.

Status: Enter the desired campaign status.

Adding Records to Salesforce Events

Captello capture forms allow you to add synced Salesforce records to events, even if they exist in Salesforce.

This required the fulfillment action to be set up on the form to work.

To add a lead or a contact to a Salesforce event, follow the steps below:

image-20241112-125151.pngimage-20241112-125415.png

Auto Pick: allows you to set timing criteria for automatically selecting Salesforce events to sync with your capture form. For example, you can specify that the event should start or end within a certain timeframe, such as "starting in 60 minutes" or "ending 60 minutes from now." By adding this setting to a capture form template, you can ensure that every form created from the template will automatically sync leads or contacts to Salesforce events that match the specified criteria. This is especially useful for templates intended to sync with ongoing or recurring Salesforce events.

It also gives you the option to further narrow your selection to one event by selecting between:
- Event with most recent start date
- Event with least recent start date
- Event with most recent end date
- Event with least recent end date

image-20241112-130316.png

Specific: Allows you to enter an event ID.

image-20241112-130535.png

No Action: Takes no action.

note

The status value has to pre-exist in the event. Otherwise, it will give an error and will not add the record to the event.

The status value has to pre-exist in the event. Otherwise, it will give an error and will not add the record to the event.

Assigning Owner Based on Captello Users

A Salesforce Flow can be set up to assign owners to leads and/or contacts from Captello users. A flow is needed for each object you are syncing to. Follow the steps below to create the flow:

Creating Required Fields

Create two custom fields inside each object you desire to sync owners to:
Navigate to Setup > Object Manager > Leads AND/OR Contacts and create the following fields:
- A text field, to hold the name of the person who captured the record in Captello. A recommended name for the field is ‘Captello Captured By’.
- A checkbox field, to store a value indicating that the lead/contact has gone through the flow. This guarantees that the owner will not be changed if the same record was captured again by another person.
A recommended name for the field is 'Owner Assigned Using Flow’.

note

Make sure that your user profile has access to the fields in Field Accessibility settings, so you can use them inside Flows. You can access Field Accessibility by navigating to a field’s page and clicking View Field Accessibility.

image-20241101-231637.png

Make sure that your user profile has access to the fields in Field Accessibility settings, so you can use them inside Flows. You can access Field Accessibility by navigating to a field’s page and clicking View Field Accessibility.

image-20241101-231637.png

Building the Flow

Navigate to Setup > use Quick Search to find Flows.

The ‘Configure Start’ should look like the following:

image-20241101-201619.png

If you cannot find elements, switch to the Free-Form layout. All the elements will then appear on the left side bar.

image-20241101-201843.png

Set up the Decision by adding an outcome for each salesperson that captures leads, checking the custom ‘Captello_Captured_By’ field. In the following examples, 2 people are added. Your outcome setup should look like the following:

image-20241101-222525.png

Set the ‘Update Record’ elements by updating the following fields:
- OwnerId: set to the salesperson’s OwnerId.

To get an Owner ID, navigate to Lightning Home > Search ‘All Users’ > Click the user’s name > Find the ID on the URL.

image-20241101-224059.png

- Owner_Assigned_Using_Flow: Set to {!$GlobalConstant.True}. This guarantees the same record does not go into the flow again.

The update record actions should look like the following:

image-20241101-224921.png

Make sure that the arrows are pointing from the direction of Configure Start to the Decision, and from the Decision to the Update Record elements, and not the other way around.

In the end, the Flow should look like the following (except the more salespeople you have, the more Update Record elements there will be).

image-20241101-233317.png

Depending on your needs, the same Flow can be built for both the Lead and Contact object.

Mapping Custom Fields to Captello

The last step to get the owner assignment Flow to work, is mapping the Salesforce owner custom field to Captello fields. On Captello, Navigate to Setup > Integrations > Connectors > Scroll down to Salesforce (Standard) and click the desired account’s drop-down and click ‘Map Leads’, or ‘Map Contacts’ per your needs.

image-20241101-225548.png

The Flow is now complete! Salesforce will now assign owners based on the salesperson’s
name on Captello!

Logs

Logs will show successful leads with a success status, and if a lead fails to sync, it will show the error that caused it to fail.

To access the Salesforce sync logs:

image-20241007-233233.png

Disconnecting your Salesforce Account

To disconnect your Salesforce account:

image-20241007-233626.png