Is there a way using Ampscript I can simply ignore or cancel the send request of an API triggered send?

Essentially I would like to "turn off" outgoing messages based on a variable within the API call. (e.g. If name is Andy then do not send)

Is this even possible?

  • Are you unable to check the attribute before sending the triggered send? Jan 27, 2014 at 22:36

1 Answer 1


I think you can use RaiseError, give it a try: http://help.exacttarget.com/en/documentation/exacttarget/content/ampscript/ampscript_syntax_guide/api_ampscript_functions/#RaiseError

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.