
Salesforce Create
CertifiedEnterprise EditionCreate Salesforce records
Salesforce Create
Create Salesforce records
Insert one or more records via the Partner API. Handles basic field type conversion and can skip duplicated input rows before sending.
type: io.kestra.plugin.ee.salesforce.CreateExamples
Create Contact records into Salesforce
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
connection *RequiredNon-dynamic
Salesforce connection
Partner API credentials using username/password with auth endpoint or access token with instance URL.
io.kestra.plugin.ee.salesforce.SalesforceConnection
Salesforce access token
Session or OAuth access token. When set, username and password are ignored; requires instanceUrl.
https://login.salesforce.com/services/Soap/u/63.0/Salesforce authentication endpoint
SOAP login endpoint used with username/password. Defaults to https://login.salesforce.com/services/Soap/u/63.0/.
Salesforce instance URL
Instance base URL required with accessToken (for example https://mydomain.my.salesforce.com).
Salesforce password
Password for SOAP authentication (append the security token when required, for example <password><token>). Only used when accessToken is empty. For more details, refer to the Salesforce Documentation.
Salesforce username
Username for SOAP authentication. Ignored when accessToken is provided.
objectName *Requiredstring
Target Salesforce object
API name of the object to insert (for example Account, Contact). See Salesforce Standard Objects.
records *Requiredarray
Records to create
Array of field maps to insert. Keys must match object field API names; null values are ignored.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
skipDuplicate booleanstring
trueSkip duplicate input records
When true (default), identical entries in records are deduplicated locally before calling Salesforce. Server-side duplicate rules may still reject records.
Outputs
ids array
Created record IDs
recordCount integer
Total number of records created