Salesforce Upsert record action - Insert or update a record by using the Salesforce Upsert record action . The Upsert action uses a custom external ID as the key to identify a record.
From the Actions pane, select Salesforce > Upsert record (using External ID) and place it in the canvas.
Enter the Object name, for example, Case.
Enter the field name that will store the ExternalID.
Note: In this sample, the ExternalID is generated
by using the Generate random stringaction.
Enter the ExternalID generated.
Enter the fields that you want to update.
To verify, you can store the generated recordID in a variable. The following
video demonstrates how to inserting fields to a record created in
Salesforce.
To update a field by using the Upsert record action, from the
Actions pane, select Salesforce > Upsert record (using External ID) and place it in the canvas.
Enter the Object name, for example, Case.
Note: For Salesforce Custom objects, ensure that you provide
the API name instead of the Display name of the object. For example,
provide API name: AAIRPA__Salesforce_Connection__c and not the display
name: Salesforce Connection" For more
information on how to find the API name, see https://help.salesforce.com/s/articleView?id=000327123&type=1.
Enter the same field name that will store the ExternalID.
Enter the same ExternalID to refer to the same record.
Enter the Field Name and new Field
Value to update in Fields and data. You
can also choose Dictionary and enter the values as a
key/value pair.
To verify, you can store the outcome to a variable, for example,
Dict_ExternalId-update.