Update
Update records in Salesforce.
Update one or more existing records in Salesforce.
type: "io.kestra.plugin.ee.salesforce.Update"
Examples
Update Contact records in Salesforce.
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
connection *RequiredNon-dynamicSalesforceConnection
Salesforce connection properties.
objectName *Requiredstring
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.
records *Requiredarray
List of records to update
Each record must include the 'Id' field and any fields to update
Outputs
ids array
Updated record IDs
recordCount integer
Total number of records updated
Definitions
io.kestra.plugin.ee.salesforce.SalesforceConnection
password *Requiredstring
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., '
username *Requiredstring
Salesforce username
The username for authenticating with Salesforce API
authEndpoint string
https://login.salesforce.com/services/Soap/u/63.0/
Salesforce authentication endpoint
The Salesforce SOAP API authentication endpoint URL