I need some help & clarification about - how to trigger an email based on particular fields changes in Sendable DE by custom cloud landing pages? - Can I go to triggered email option in email studio interaction tab or create an send email event in automation studio & journey builder (which one is simple) and where can I track email info? Thanks in advance

  • Do you need to trigger these emails when the field are being updated or it can be an automation running every hour/day? May 23, 2018 at 7:43
  • I need to trigger these emails immediately when the field updated. May 23, 2018 at 7:59

1 Answer 1


If you want to trigger an email using cloudpages you mainly have two options:

  1. Trigger the email via AMPscript and the SOAP Web Service API

  2. Use Cloudpage with Smart Capture to push people in a journey

Example of option 1:

SET @ts = CreateObject("TriggeredSend")
SET @tsDef = CreateObject("TriggeredSendDefinition")

SetObjectProperty(@tsDef, "CustomerKey", "TriggerSend_Name")
SetObjectProperty(@ts, "TriggeredSendDefinition", @tsDef)

SET @ts_sub = CreateObject("Subscriber") 
SetObjectProperty(@ts_sub, "EmailAddress", @Email) 
SetObjectProperty(@ts_sub, "SubscriberKey", @Subkey)

IF NOT IsNull(RequestParameter("Prenom_Contact")) THEN
    SET @attr = CreateObject("Attribute")
    SetObjectProperty(@attr, "Name", "Prenom_Contact")
    SetObjectProperty(@attr, "Value", @Prenom)
    AddObjectArrayItem(@ts_sub, "Attributes", @attr)

AddObjectArrayItem(@ts, "Subscribers", @ts_sub)
SET @ts_statusCode = InvokeCreate(@ts, @ts_statusMsg, @errorCode)

IF @ts_statusCode != "OK" THEN
       RaiseError(@ts_statusMsg, 0, @ts_statusCode, @errorCode)
  • Thanks for the response, @Jeremy. Actually, I designed the cloud pages fully custom subscription center replica for multiple brands and to store data in DE. so I can't go with 2 ones. In 1 option there, we defining triggeredSend Definition - I have some doubt 1. how to choose email? May 23, 2018 at 9:29
  • You don't choose the email but the trigger send. See my example. May 23, 2018 at 9:50
  • If I can't select an email means - which email are getting triggered by your example. @jeremy May 24, 2018 at 13:06

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.