diff --git a/cmem_plugin_salesforce/workflow/operations.py b/cmem_plugin_salesforce/workflow/operations.py index 711d5bd..83adcee 100644 --- a/cmem_plugin_salesforce/workflow/operations.py +++ b/cmem_plugin_salesforce/workflow/operations.py @@ -31,6 +31,7 @@ manipulate data in your organization's Salesforce account. The working model is: + - Each entity from the input data is interpreted as a single Salesforce object of the configured object type. - Each path from the input entity is interpreted as a field from the Salesforce @@ -41,14 +42,17 @@ - If there IS an id path available, an update is done if the object exists. Example: + - You want to create new Lead objects based on data from a Knowledge Graph. - The {LINKS["LEAD_REFERENCE"]} lists the supported fields, e.g. `FirstName`, -`LastName` and `Email`. + `LastName` and `Email`. - Your input SPARQL task looks like this. Note that the variables need -to match the field strings from the Salesforce data model: -``` + to match the field strings from the Salesforce data model: + +```sparql SELECT DISTINCT FirstName, LastName, Email ... ``` + - You select `Lead` as the Object API Name of this task and you connect both task in the workflow in order get the result of the SPARQL task as in input for this task. - For each SPARQL result, a new Lead is created.