Skip to content

Conversation

@mericsson
Copy link
Contributor

@mericsson mericsson commented Jan 7, 2020

Proposed changes

Update docs to reflect current Salesforce Action functionality and UI. We changed it in September and forgot to update docs. :(

Related issues (optional)

@mericsson mericsson changed the title DEST-1616 Update docs to reflect current Salesforce Action functional… DEST-1616 Update docs to reflect current Salesforce Actions Jan 7, 2020

## Custom Actions
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:
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:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced SFDC with Salesforce to be consistent with rest of file.


### Upsert Actions
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:
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:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to match current functionality.

@mericsson mericsson requested a review from ccnixon January 7, 2020 23:01
@mericsson mericsson merged commit 72f0928 into master Jan 7, 2020
@mericsson mericsson deleted the dest-1616 branch January 7, 2020 23:07
bot-docsteam added a commit that referenced this pull request Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants