Creates a record in your integrated Salesforce account and returns the ID of the record created. This function works only for an account integrated with a Salesforce account.

Each use of this function generates a SOAP request to the your Salesforce org. The function is subject to the Salesforce API limits in the org. The use of this function should be avoided or minimized in sends to prevent issues with the completion of the send.

CreateSalesforceObject(1, 2, 3, 4)

1stringRequiredType of object to create a record in, such as Lead or CustomObject
2numericRequiredNumber of fields specified to add in the record
3stringRequiredName of field
4stringRequiredValue of field.

The object types and field names in this example may not match your implementation. Use the object types and field names that are specific to your account.

The system creates a lead in the integrated Salesforce account where the FirstName field contains Chris and the LastName field contains Cruz.