Lead Response S2L–Salesforce Integration


Lead Response S2L is a highly flexible automated system. It can be integrated with any CRM system that can send a real time HTTP GET or POST to Speak2Leads servers.  To integrate Salesforce CRM, the following steps must be taken:

  1. You must have the Enterprise Level license.  The Enterprise level comes with a feature called workflow rules which is the component that allows for posting real time information to third parties. If you do not have the Enterprise Level license and do not want to upgrade, you also have the option of buying this feature a la carte.  Please contact your Salesforce rep for more information.
  2. Create a Custom Field.  You will need to create a custom field for your Speak2Leads unique account ID.  This account ID field will be passed to Speak2Leads with every lead.
  3. Create a Workflow Rule. This rule will trigger an outbound SOAP XML message to our servers when certain criteria are met. For example, when a new unique lead is added to Salesforce, the workflow rule will trigger the outbound message to Speak2Leads.


Creating a custom field and setting up a workflow rule is simple.  Here are step-by-step instructions.  Please send these instructions to your IT team.


Adding a new custom field

  1. Navigate to the Lead Fields page
    Setup>App Setup>Customize>Leads>Fields
    You should see two sections:
    1. Lead Standard Fields
    2. Lead Custom Fields & Relationships

  2. Click New on Lead Custom Fields & Relationships
    Step 1. Choose the field type
    Select Data Type>Text
    Step 2. Enter the details
    Field Label: S2LAccountID
    Length: 20
    Field Name: S2LAccountID
    Default Value:<your S2L AccountId in double quotes Eg. GEN_NNNN>
    Click Next
    Step 3. Establish field-level security
    Click Next
    Step 4. Add to page layouts 
    Click Save

The new customized field should be displayed as 

S2LAccountID__c    Text(20) 




Creating a Workflow Rule:  

Objective: Send a Soap message to S2L when a new lead is created 


To begin creating a new workflow rule, go to: 

Setup > Create > Workflow and Approval > Workflow Rules > New Rule 


Step 1: Select Object 

Select Object = Lead 

Click Next 


Step 2: Configure Workflow Rule 

Rule Name = Speak2Leads 

Evaluation Rule = Only when a record is created 

Rule Criteria = Lead: Lead Source equals Web 

Click Save & Next 

Step 3: Specify the Workflow Actions 

From the Immediate Workflow Actions dropdown menu, choose New 

Outbound Message 

Then set: 


Name = Speak2Leads Soap 

Unique Name = Speak2Leads Soap 

Endpoint URL = https://s2l.speak2leads.com/main/salesforce/post

User to send as = (your internal user in your account) 

Choose desired fields in the available fields box.  

Click the Add arrow to move them into the Selected Fields box. 

(make sure Selected Fields contains at least S2LAccountId and Phone

Click Save! 

Click Save. 

The next window will give you an overview of the rule you just created. 



Following is a list of possible fields that you can include in your  Salesforce Outbound Message to Speak2Leads.  The fields marked with an asterisk are required fields in order to generate a phone call. All other fields are optional.  Your desired whisper message and phone routing to your sales team will determine which other optional fields you may want to include.   


* required field

Custom Fields
Value
*S2LAccountID
<your unique S2L accountId>
Location

ProductInterest

Keyword

Comments


Standard Fields
 Value
*Phone
Lead Primary Phone Number
FirstName
Lead First Name
LastName
Lead Last Name
Email
Lead Email Address
MobilePhone
Lead 2nd Phone Number
LeadSource
Lead’s Source
City
Lead’s City
PostalCode
Lead’s zip code
Company
Lead’s Company Name