Skip to main content

Upsert by external id

Update the record whose external id field matches, or create it when none matches.

Command in the Salesforce toolkit · id ooa.salesforce/upsert_by_external_id · 7 inputs (4 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Instance address (URL)StringNoInstance URL, e.g. https://yourcompany.my.salesforce.com.
Access tokenCredentialNoOAuth access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Object (API name)StringYesObject API name.
External ID fieldStringYesAPI name of the external id field.
External ID valueStringYesExternal id value to match.
FieldsDictionaryYesField name to value (do not repeat the external id field).
API versionStringNov61.0REST API version.

Outputs​

OutputTypeWhat it is
idStringRecord id (empty when Salesforce does not return it for an update).
createdBooleanTrue when a new record was created.