Create records in Salesforce.

Create one or more records in Salesforce using the Partner API.

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

Create Contact records into Salesforce

yaml
id: create
namespace: company.sales

tasks:
  - id: create_contacts
    type: io.kestra.plugin.ee.salesforce.Create
    connection:
      username: "{{ secret('SALESFORCE_USERNAME') }}"
      password: "{{ secret('SALESFORCE_PASSWORD') }}"
      authEndpoint: "{{ secret('SALESFORCE_AUTH_ENDPOINT') }}"
    objectName: "Contact"
    records:
      - FirstName: "John"
        LastName: "Doe"
        Email: "john.doe@example.com"
      - FirstName: "Jane"
        LastName: "Smith"
        Email: "jane.smith@example.com"
    skipDuplicate: true
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 create

Each record should be a key-value map of field names and values.

Default true

Skip duplicate entries.

If true, duplicate records in the list will be skipped before sending to Salesforce.

SubType string

Created record IDs

Total number of records created

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