Update records in Salesforce.

Update one or more existing records in Salesforce.

yaml
type: "io.kestra.plugin.ee.salesforce.Update"

Update Contact records in Salesforce.

yaml
id: update_contacts
namespace: company.sales

tasks:
  - id: update_contacts_task
    type: io.kestra.plugin.ee.salesforce.Update
    connection:
      username: "{{ secret('SALESFORCE_USERNAME') }}"
      password: "{{ secret('SALESFORCE_PASSWORD') }}"
      authEndpoint: "{{ secret('SALESFORCE_AUTH_ENDPOINT') }}"
    objectName: "Contact"
    records:
      - Id: "003XXXXXXXXXXXXAAA"
        Email: "updated.john@example.com"
      - Id: "003XXXXXXXXXXXXAAB"
        Email: "updated.jane@example.com"
Properties

Salesforce connection properties.

Salesforce object name

The API name of the object to insert (e.g., 'Account', 'Contact') See the list of standard objects at: Salesforce Standard Objects.

SubType object

List of records to update

Each record must include the 'Id' field and any fields to update

SubType string

Updated record IDs

Total number of records updated

Salesforce password

The password for authenticating with Salesforce API. Depending on your Salesforce instance, you may need to append the security token to your password (e.g., '<security_token>'). More details here

Salesforce username

The username for authenticating with Salesforce API

Default https://login.salesforce.com/services/Soap/u/63.0/

Salesforce authentication endpoint

The Salesforce SOAP API authentication endpoint URL