Sales & Service Cloud Functions

Overview Marketing Cloud includes several AMPscript functions that enable interaction with Sales and Service Cloud object records and emails. Applications include: Creating or updating a record in a standard or custom Salesforce object Dynamically retrieving and...

Subtract

Subtract This function returns the difference between two numbers. Arguments Subtract(1,2) Ordinal Type Required Description 1 Number True First value 2 Number True Second value Example %%[ var @diff, @num1, @num2 set @num1 = 42.51 set @num2 = 5 set @diff =...

CreateSalesforceObject

CreateSalesforceObject This function creates a new record in a Salesforce object. The Salesforce 18-digit object identifier is returned by the function. Arguments CreateSalesforceObject(1,2,3,4,[5a,5b...]) Ordinal Type Required Description 1 String True API name of...

Microsoft Dynamics CRM Functions

Overview The Marketing Cloud Connector for Microsoft Dynamics CRM enables the following: Sends to contacts, leads, accounts, marketing lists, and campaigns Sends to Dynamics CRM Custom Entities Email tracking and performance for individual sends and campaigns...

LongSFID

LongSFID Sales and Service Cloud objects use a case-sensitive 15-digit character as a record identifier. Marketing Cloud Subscriber and Contact records require a case-insensitive identifier. This function converts 15-digit identifiers into 18-digit case-insensitive...

AddMSCRMListMember

AddMSCRMListMember This function adds a member to the specified Microsoft Dynamics CRM list. It does not return a value. Arguments AddMSCRMListMember(1,2) Ordinal Type Required Description 1 String True The GUID of the member to add 2 String True The GUID of the list...