I have setup a triggered send in marketing cloud and it has the following sendable DE.(example:)
I wish to add an exclusion script to this triggered send and i know that we can use the below ampScript to exclude emails.
ROWCOUNT(LOOKUPROWS("Suppression", "Email Address", emailaddr))> 0
I have a few questions on this,
- Can I change "emailaddr" in the above code to "Email_address"(name of the sendable DE used in my triggered send) and the codee still works??
- Is it possible to use additional condition in the exclusion script, example :
ROWCOUNT(LOOKUPROWS("Suppression", "Email Address", emailaddr,"Prod_id",product_id))> 0
Please, could anyone let me know?