CreateSalesforceObject
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)
Ordinal | Type | Description | |
---|---|---|---|
1 | string | Required | Type of object to create a record in, such as Lead or CustomObject |
2 | numeric | Required | Number of fields specified to add in the record |
3 | string | Required | Name of field |
4 | string | Required | Value 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.