0

I've got two (probably) basic questions on Triggered Sends...which don't seem to be working for me.

First, when creating a Triggered Send Data Extension from the template we're forced to have both Email Address and Subscriber Key as fields in the DE. However, without asking a user to enter their email address twice, how do I pull the value entered in the Email field from the subscription form as Subscriber Key? I tried inputting "emailaddress" but that simply gets hard-coded into the DE.

    <form onsubmit="return checkForm();" method="post" name="subscribeForm" action="http://cl.exct.net/DEManager.aspx">            
            <input type="hidden" value="XX-changed-XX" name="_clientID"></input>
            <input type="hidden" value="XX-changed-XX" name="_deExternalKey"></input>
            <input type="hidden" value="add" name="_action"></input>
            <input type="hidden" value="0" name="_returnXML"></input>
            <input type="hidden" value="EmailAddress" name="SubscriberKey"></input>

            <input type="hidden" value="XX-changed-XX-Success.html" name="_successURL"></input>
            <input type="hidden" value="XX-changed-XX-Error.html" name="_errorURL"></input>

                            <span style="display: block; font-size:18px;color:#666;font-weight:bold;">Email Address:&nbsp;</span>

                            <input type="text" name="EmailAddress" style="width:415px;font-size:20px;margin-bottom: 10px"></input>
                            <br/><br />
                            <input type="hidden" checked="" value="sub_add_update" name="SubAction"></input>

                            <span style="display: block; font-size:18px;color:#666;font-weight:bold;">Full Name:&nbsp;</span>
                            <input type="text" name="field1" class="field-divided" placeholder="First" style="width:200px;font-size:20px;"/>&nbsp;
                            <input type="text" name="field2" class="field-divided" placeholder="Last" style="width:200px;font-size:20px;"/>
                            <br/>
                            <input class="button" type="submit" value="Submit"></input>

        </form>

Even with the hard-coded Subscriber Key field and the DE getting written to, the email is not being sent. The email creative is fine (I can deploy it to my DE), the "Interaction" for the triggered send is "Active" but nothing is being deployed... what am I missing here?

0

When you are pushing data in to your DE is data coming in properly? have to selected any relevant list to update the subscriber data? did you selected add method? or update? or both in your triggered send definition ?

  • Data is coming in, and the "All Subscribers" is being used a a Publication List. From this perspective, everything seems OK. – George Rosedale Apr 5 '17 at 14:45
0

Your web collect form is only submitting data to the data extension, it is not actually calling for the triggered email to send. This is the reason that your email is not sending.

You will need to use a Smart Capture Form or to use the API/SDK to send your email. (REST/SOAP/AMPScript)

If you are not well versed in development or API, I would recommend utilizing the Smart Capture Form, as it is fairly user friendly. But if you need the form to be built independent of SFMC, then you will likely need to use the REST or SOAP API options.

Your only other option if you don't need to use a data extension is to have this go to a list and use the 'welcome email' option on lists.

  • Thanks @gortonington for the comment. This specific account is not on 2.0, so I don't have Smart Capture as an option. I'm using the Triggered Send Data Extension template that is native to 1.0. My assumption is that this automatically triggers the email, much like the List/Welcome Email option. Am I incorrect in that assumption? – George Rosedale Apr 5 '17 at 14:44
  • You are incorrect in that assumption - adding data to a triggered data extension templated DE will do nothing but add the data. Also, I have an E1.0 account as well and do have Smart Capture - I would talk to your account rep on options for this. – Gortonington Apr 5 '17 at 14:54
  • Got it, and noted. Strange that there's a "Triggered Send Data Extension" template and no automated triggering mechanism... It's rather confusing. I'll see about getting Cloud Pages added. THANKS! – George Rosedale Apr 5 '17 at 15:01
  • The TSDE is for the Interaction - to host the data brought in. You don't even need Cloud pages - you should be able to get it via the Landing pages / Microsites option, which is dramatically cheaper. – Gortonington Apr 5 '17 at 15:10
0

If you are sure that your TriggeredSendDefinition (Interactions > Triggered Email) Selected your created TriggeredSendDE under "Subscriber Management" and it is not paused or inactive, also if you are sure that your Marketing Cloud API configuration is done in the right way on your website, then probably you can not execute your TriggeredSend because you use more that one Business unit. In this case, you need to specify when you make API call the targeted BU (ID of BU).

Also, make sure that the user with the credentials that you use to make the call has the right to use API calls in Marketing Cloud: Admin > Users > choose the user > Change API User to yes if it is no.

For your form on your website, you can ask the visitor to enter his email address and in the backend code (if you use SOAP API) you can get the email and set it as a value for both the Subscriber Key and the EmailAddress.

If you think that you already did all the mentioned above, then share with us the code you use to make API calls from your website to Marketing Cloud, maybe something is missed there.

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.