I'm trying to update a boolean field in the sending data extension from false to true when an email is sent to a subscriber. Could I use AMPscript to achieve this?


You can achieve this using the AMPscript function UpdateDE(1,2,3,4,5,6). You can find the full documentation including an example in the marketing cloud documentation on UpdateDE


UpdateDE("YourDataExtension",1,"_SubscriberKey",_SubscriberKey,"YourBoolean", "True")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.