Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions cmem_plugin_salesforce/workflow/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down