Create a New Case in Salesforce Core

Follow the steps below to push Data from MXO to create a new Case in Salesforce Core.

Step 1: Create a Salesforce Data Adapter

In ONE, create a Salesforce Data Adapter to enable communication between MXO and Salesforce Core.

Step 1: Create a Push Data Structure

Create a Push Structure to create a new case for a customer in Salesforce Core.

For our scenario, we will set up our structure as follows:

FieldDescription
Structure NameSalesforce - Case Create Push
This Push Structure will be used to:Create an object in Salesforce Contact
Required AttributesObject Type = "Case"

ONE_and_Salesforce_integr-003

ONE_and_Salesforce_integr-005

We will set up the details of our Structure, as follows:

TypeNameValue
Data AttributeContactIdCustomer Key
Data AttributeAccountId"AccountId"
Data AttributeStatus"New"
Data AttributeOrigin"Web"
Data AttributeSubject"Interested in Home Insurance"
Data AttributeDescription"Shown interest in Home Insurance - follow up with a call"

ONE_and_Salesforce_integr-007

Important: Attribute names must be as per the API names of object fields in Salesforce. Use the Salesforce API Object Reference to ensure you enter the correct API names of objects here.

Step 3: Create a Push Action

Create a Push Action that references your Push Data Structure, configuring the Action as per your requirements for eligibility etc.

For our scenario, we will set up Our Action as follows:

FieldDescription
NameCreate new Salesforce case
StructureSalesforce - Case Create Push

Step 4: Create an Offline Optimization Point

Create an Offline Optimization Point that tells MXO to generate a new case in Salesforce.

FieldDescription
Optimization Point typeOffline
NameCreate new case
Offline ActionCreate new Salesforce case

Step 5: Trigger the Push Action

Trigger the Push Action to generate a new case in Salesforce Core.

ONE_and_Salesforce_integr-009