Skip to content

Commit 72f0928

Browse files
authored
DEST-1616 Update docs to reflect current Salesforce Actions (#498)
DEST-1616 Update docs to reflect current Salesforce Actions
2 parents e240e5b + fda34d9 commit 72f0928

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
111 KB
Loading
151 KB
Loading

src/connections/destinations/catalog/salesforce/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,16 @@ In order to send custom traits, you must do the same steps as you had done for t
155155
Salesforce has documented strict validations on their semantic traits. We will trim all of those traits if they go over the limit. Please refer to their docs for [Account Objects](https://developer.salesforce.com/docs/atlas.en-us.200.0.api.meta/api/sforce_api_objects_account.htm#topic-title) and [Lead Objects](https://developer.salesforce.com/docs/atlas.en-us.200.0.api.meta/api/sforce_api_objects_lead.htm) to make sure you are sending the trait values under these limits if you do not want to see them trimmed off.
156156

157157
## Custom Actions
158-
If you need to manually configure how your Segment events interact with SFDC resources, you can do so using the [Actions](#actions) setting. This setting allows you to trigger standard CRUD operation (Create, Read, Update/Upsert, Delete) on your internal SFDC resources in response to your Segment events. You can configure as many of these actions as you would like. Each action must be associated with either a specific `track` event or **all** `identify` events. Actions can be further configured to map event properties to SFDC fields. Here's an example action configuration that will create a new Case in Salesforce in response to an **Issue Submitted** `track` event:
158+
If you need to manually configure how your Segment events interact with Salesforce resources, you can do so using the [Actions](#actions) setting. This setting allows you to trigger standard CRUD operation (Create, Read, Update/Upsert, Delete) on your internal SFDC resources in response to your Segment events. You can configure as many of these actions as you would like. Each action must be associated with either a specific `track` event or **all** `identify` events. Actions can be further configured to map event properties to SFDC fields. Here's an example action configuration that will create a new Case in Salesforce in response to an **Issue Submitted** `track` event:
159159

160160
![action example](images/action-example.png)
161161

162162
### Upsert Actions
163-
Upsert actions will either create or update a resource in SFDC. In order for these to work, you must provide an External Id Field in in your action configuration that we can use to determine if the resource exists or not. You must also map an event property to this field as a Field Mapping. Here's an example:
163+
Upsert actions will either create or update a resource in Salesforce. In order for these to work, you must provide Upsert Rules in in your action configuration that we can use to determine if there is an existing object to update. If an object is not found, a new object in SFDC is created. For a successful upsert Action, you must also map an event property to this field as a Field Mapping. Here's an example:
164164

165165
![upsert action example](images/upsert-action-example.png)
166166

167-
In this example, we are creating or updating a Contact in SFDC based on whether or not the `userId` property in `identify` events maps to a Contact with a custom `UserId__c` field value in SFDC.
167+
In this example, we are creating or updating a Contact in Salesforce based on whether or not the `userId` property in `identify` events maps to a Contact with a custom `UserId__c` field value in SFDC.
168168

169169
## Troubleshooting
170170

0 commit comments

Comments
 (0)