Einstein Email Recommendation Functions

Overview In addition to the set of personalization strings available for Einstein Email Recommendations, Marketing Cloud also includes one AMPscript function for working with Einstein Email Recommendations Content. NOTE: When using Einstein Email Recommendations in...

Row

Row This function returns a specific row from a row set. Arguments Row(1,2) Ordinal Type Required Description 1 String Y Row set from which to return the row 2 Number Y Position of element to retrieve from the row set Example Data Extension: LoyaltyMembers Name Data...

RatingStars

RatingStars This function generates a rating star image, based on a rating attribute of the recommended product. Arguments RatingStars(1,2,3) Ordinal Type Required Description 1 Number True The highest ranking to display 2 String True Star color as html hex code or...

RowCount

RowCount This function returns the number of rows in a row set. Argument RowCount(1) Ordinal Type Required Description 1 String Y Row set from which to return the count Example Data Extension: LoyaltyMembers Name Data Type Length Primary Key Nullable Default Value...

Encryption & Encoding Functions

Overview Integrations with Marketing Cloud often necessitate a secure or obfuscated exchange of personal data. This chapter outlines the functions available in Marketing Cloud for encoding, encrypting, decoding and decrypting data elements that relate to messages and...

UpdateData

UpdateData This function updates the Data Extension row referenced in the column and value arguments. Values updated are specified with column name and value pairs. It returns the number of rows updated by the operation. Arguments...