Automate Reddit
Explore Plans
Mobile menu Close menu
SalesforceSalesforce

Advanced: Insert a Record

This Action will insert a record into any SObject and set up to five fields on the new record.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This Action will insert a record into any SObject and set up to five fields on the new record.
API endpoint slug
salesforce.insert_a_record
Filter code method
Salesforce.insertARecord.skip(string?: reason)
Runtime method
runAction("salesforce.insert_a_record", {})

Action fields

Sobject Dropdown list

Label
SObject
Slug
sobject
Required
true
Can have default value
false

Field name 1 Text input > Short text

Label
Field Name 1
Helper text
The name of the the field from the SObject definition on Salesforce.
Slug
field_name_1
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldName1(string: fieldName1)

Field value 1 Text input > Long text

Label
Field Value 1
Helper text
The value of the field.
Slug
field_value_1
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldValue1(string: fieldValue1)

Field name 2 Text input > Short text

Label
Field Name 2
Helper text
The name of the the field from the SObject definition on Salesforce.
Slug
field_name_2
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldName2(string: fieldName2)

Field value 2 Text input > Long text

Label
Field Value 2
Helper text
The value of the field.
Slug
field_value_2
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldValue2(string: fieldValue2)

Field name 3 Text input > Short text

Label
Field Name 3
Helper text
The name of the the field from the SObject definition on Salesforce.
Slug
field_name_3
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldName3(string: fieldName3)

Field value 3 Text input > Long text

Label
Field Value 3
Helper text
The value of the field.
Slug
field_value_3
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldValue3(string: fieldValue3)

Field name 4 Text input > Short text

Label
Field Name 4
Helper text
The name of the the field from the SObject definition on Salesforce.
Slug
field_name_4
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldName4(string: fieldName4)

Field value 4 Text input > Long text

Label
Field Value 4
Helper text
The value of the field.
Slug
field_value_4
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldValue4(string: fieldValue4)

Field name 5 Text input > Short text

Label
Field Name 5
Helper text
The name of the the field from the SObject definition on Salesforce.
Slug
field_name_5
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldName5(string: fieldName5)

Field value 5 Text input > Long text

Label
Field Value 5
Helper text
The value of the field.
Slug
field_value_5
Required
false
Can have default value
true
Filter code method
Salesforce.insertARecord.setFieldValue5(string: fieldValue5)