When Salesforce and Lead Gen & CRM are synchronized, you can build a widget within Salesforce to display the lead score data that is aggregated in Lead Gen & CRM.
This article details how to create this widget in Salesforce.
Article Contents
Trial | ||
Essential | ||
Advanced | ✓ | |
Ultimate | ✓ |
Administrators | ✓ | |
Company Managers | ||
Marketing Managers | ||
Sales Managers | ||
Salespersons | ||
Jr. Salespersons |
Regarding Account Connections
Before you can create widgets, you must connect your Salesforce account with your Lead Gen & CRM account. Additionally, you must be an administrator in both your Salesforce and Lead Gen & CRM accounts.
Creating a Numeric Custom Field
Two custom fields must be built within Salesforce. The first will contain the numeric lead score value mapped from Lead Gen & CRM.
To create a numeric lead score custom field, do the following:
- Log in to Salesforce.
- Click Setup in the top-right corner of Salesforce.
- In the Build section, click Customize > Leads > Fields in the left menu.
- Add a new field in the Lead Custom Fields and Relationships section.
- Select the Number field type.
- Click Next.
- Label the field as Lead Score.
- Set the lead score parameters.
- Complete the Field-Level Security.
- Add the field to a page layout.
Note: Only the non-decayed lead score will pass into Salesforce. Any decay events will not pass over, so you may see a lower lead score for cold leads in Lead Gen & CRM than you do in Salesforce. Field-Level Security controls what profiles will have access to this field. The field is hidden from any profile that is not checked on this screen.
Numeric Lead Score Parameters
The following are the required lead score parameters for the numeric custom field:
Parameters | Description | |
Length | Set to the default of 18 (unless you have Custom Salesforce rules for Number fields). |
|
Decimal Places | Set to the default of 0. | |
Field Name | Set to its auto-populated value. | |
Description | Field optionally left blank. | |
Help Text | Field optionally left blank. | |
Required | Checkbox left unchecked. | |
Unique | Checkbox left unchecked. | |
External ID | Checkbox left unchecked. | |
Default Value | Left blank. |
Mapping from Lead Gen & CRM to Salesforce
After creating the required custom fields in Salesforce, you will need to map the field values in Lead Gen & CRM. This must be done before you can create a custom field for lead score temperatures.
To enable mapping, do the following:
- Log in to Lead Gen & CRM.
- Click Settings.
- Click Salesforce, located under Third-Party Settings in the left panel.
- Click the Lead Mappings tab.
- Locate the Lead Score CRM field that was created in Salesforce.
- Select Lead Score in the middle column drop-down menu.
- Select Always use Lead Gen & CRM value in the right column drop-down menu.
- Set the Lead Score Widget field as Unassigned/Do not include.
- Click Save Mappings.
Note: In the Lead Mappings tab, the left column pulls in all of the mappable CRM fields. The middle column shows the Lead Gen & CRM field that the Salesforce field will be assigned to. The right column handles how data will be updated.
Regarding Lead Score Syncing
In order for these updates to be reflected immediately, you must make an update in the lead records by saving a field on the lead's contact record.
The sync runs every 15 minutes. The next time the sync runs, lead score will pass into the lead score field in Salesforce. The lead score widget will populate with the temperature bar as well.
Creating a Temperature Custom Field
Once you have mapped fields between Lead Gen & CRM and Salesforce, you can create a special custom field. This custom field is a formula field that displays the lead score as a visual temperature bar. This field requires both Lead Gen & CRM's widget formula and a custom field in Salesforce.
Note: Constant Contact offers Professional Services to assist with custom coding.
Obtaining Lead Gen & CRM Widget Formula
To obtain the widget formula, do the following:
- Log in to Lead Gen & CRM.
- Click Settings.
- Click Salesforce, located under Third-Party Settings in the left panel.
- Click the Widgets tab.
- Copy the formula on the page.
Creating the Custom Field
To create this custom field, do the following:
- Log in to Salesforce.
- Click Setup in the top-right corner of Salesforce.
- In the Build section, click Customize > Leads > Fields in the left menu.
- Add a new field in the Lead Custom Fields and Relationships section.
- Select the Formula field type.
- Click Next.
- Set the custom field parameters.
- Click Next.
- Paste the Lead Gen & CRM widget formula into the text box.
- Click Next.
- Complete the Field-Level Security.
- Confirm the page layouts where this field will live.
Widget Formula Custom Field Parameters
The following are the required custom field parameters for the widget formula:
Parameters | Description | |
Field Label | Label as Lead Score Widget. | |
Field Name | Set to the auto-populated value. | |
Formula Return Type |
Set as Text. |