Create Bulk Record
Use this action to simultaneously create multiple records for the same entity in your Salesforce account.
Using the Create Bulk Record Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Create Bulk Record action under the Salesforce connector to the canvas, place the pointer on the action, and then click or double-click the action. The Create Bulk Record action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add an authorization, refer to the section Authorize Salesforce in the Salesforce connector topic.
If you previously added an authorization for Salesforce, select an authorization from the list.
4. In the Object Type field, enter the name of the object to create bulk records.
5. In the Input Method field, select one of the following options:
Form Input—Enter a list of field names and their values that you want to insert as a record for the specified object:
Field Name—Name of the field to insert in the record. The field name should be similar to the field name specified in the API Documentation.
Value—Value for the specified field name.
Click Add to enter multiple record details.
Raw Data—Enter the array of objects with their key-value fields you want to update in a record, such as
{“Name”:”Sample Account”,“BillingCity”:”San Francisco”},
{“Name”:”Demo Account”,“BillingCity”:”Kansas”}
6. Click Done.