Skip to main content

Salesforce:Create Record

Controlled node

Overview​

Create a Salesforce record from field values.

Create one record in a Salesforce object. Supply field API names and values as a data object.

Inputs​

InputTypeDescription
runEventTriggers this operation.
sobjectAPINameTextRequired Salesforce object API name, such as Account, Contact or a custom object name ending in __c. Use the API name, not a display label.
dataDataRequired object of field values, not a JSON-encoded string. Include the fields required by your Salesforce organisation.

Properties​

SettingTypeDescription
connectionConnectionSelect an authenticated Salesforce connection from this project. The connected account’s object and field permissions apply.

Outputs​

OutputTypeDescription
recordDataCreation response, usually { "id": "...", "success": true, "errors": [] }. This is not the full created record. Failures can contain error.
doneEventFires when the node returns, including when it returns an error result. Check the data output before continuing.

Use Describe sObject to discover fields before constructing data. Validation rules and permissions can reject otherwise valid-looking values. Each successful execution creates another record; keep its returned id if you need to update it later.

Example​

Set sobjectAPIName to Account. Connect a Data node containing the object below to data, select the connection, and trigger run from Start. Check record.success before saving record.id.

{ "Name": "Example Ltd", "Industry": "Technology" }

Use values allowed by your organisation; Industry is only an example.

Project connections