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 MXO, 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:
| Field | Description |
|---|---|
| Structure Name | Salesforce - Case Create Push |
| This Data Structure will be used to: | Create an object in Salesforce Contact |
| Required Attributes | Object Type = "Case" |
We will set up the details of our structure, as follows:
| Type | Name | Value |
|---|---|---|
| Data Attribute | ContactId | Customer Key |
| Data Attribute | AccountId | "AccountId" |
| Data Attribute | Status | "New" |
| Data Attribute | Origin | "Web" |
| Data Attribute | Subject | "Interested in Home Insurance" |
| Data Attribute | Description | "Shown interest in Home Insurance - follow up with a call" |
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:
| Field | Description |
|---|---|
| Name | Create new Salesforce case |
| Structure | Salesforce - 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.
| Field | Description |
|---|---|
| Optimization Point type | Offline |
| Name | Create new case |
| Offline Action | Create new Salesforce case |
Step 5: Trigger the push action
Trigger the push action to generate a new case in Salesforce Core.
