Loading...
Loading...
Loading...
Prerequisites
Use the following UTM parameters to track campaign-related activity on your website:
For more information about configuring UTM parameters, see Campaign attributes.
In Salesforce, create a dedicated user account with the appropriate rights to use the Salesforce data action integration on behalf of Genesys Predictive Engagement. This user account acts on behalf of your entire organization to perform the data actions needed for the Salesforce integration.
| Download link | When you pass this information to the data action… | The data action… |
|---|---|---|
| Salesforce-Associate-With-Campaign.json | Campaign ID and a lead ID | Calls the Salesforce API to include the lead in the campaign. |
| Salesforce-Check-if-Lead-is-Associated-With-Campaign.json | Campaign ID and an email | If the member is part of the campaign, returns a lead ID. |
| Salesforce-Create-Lead-By-Email.json | Lead information | Creates a lead in Salesforce with the attributes that you specify. |
| Salesforce-Get-Campaign-Id-From-Campaign-Name.json | Campaign name | Returns the campaign ID that matches the name. |
| Salesforce-Get-Lead-By-Email.json | Email address | Retrieves the lead attributes associated with the email address. |
The Salesforce Lead Generation example workflow associates a lead with a specified campaign in Salesforce.
You can provide the campaign ID to the workflow directly. If you do not provide the campaign ID, the workflow attempts to extract the UTM campaign from the session ID to complete the association.
To create the new Salesforce lead with a richer set of journey data, override the default settings of these variables and tell Genesys Predictive Engagement where to obtain the user-specific values.
For more information about scripts, see:
| Download link | When you pass this information to the data action… | The data action… |
|---|---|---|
| Salesforce-Create-Lead-By-Email.json | Lead information | Creates a lead in Salesforce with the attributes that you specify. |
| Salesforce-Get-Lead-By-Email.json | Email address | Retrieves the lead attributes associated with the email address. |
| Salesforce-Update-Lead-By-Id.json | Lead information | Updates an existing lead in Salesforce with the specified attributes. |
To allow an agent to use the Salesforce script, configure the agent’s account with the following permissions:
Agents use the same dedicated Salesforce user account that Genesys Predictive Engagement uses to view and update leads in Salesforce.
Scripts appear in the Interaction panel for voice interactions.
To access a script, an agent clicks the following icon:
When the script opens, the agent can see whether the user is an existing lead. The agent can then complete the form to create or update the lead as necessary.
Get user feedback about articles.