Skip to main content

Upserting Salesforce data based on external IDs

Here is an example of using Talend components to insert and update Salesforce Contact object data based on the mapping relationship with external IDs of the Account object.

For more technologies supported by Talend, see Talend components.

The Job used in this example is composed of the following seven subJobs:

  • the first subJob opens a connection to Salesforce,

  • the second subJob deletes some Account records based on external IDs,

  • the third subJob inserts two Account records with external IDs,

  • the fourth subJob inserts three Contact records based on the mapping relationship with the Account object external IDs, and gathers both inserted and erroneous data,

  • the fifth subJob updates two inserted Contact records based on the mapping relationship with the Account object external IDs,

  • the sixth subJob retrieves the inserted Accout records, and

  • the seventh subJob retrieves the upserted Contact records.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!