5 Replies Latest reply on May 24, 2017 5:52 AM by Mark Wallace

    Software download license key via marketo

    Mark Wallace

      Hello

       

      I want to fulfil a software download via a form fill out and provide a license key in the follow up email.  The license key is just a text string that is provided from a list.  Once the key is entered it cannot be reused so its essentially providing the one off value in the email response.

       

      I can token the value into the email easily enough but wanted to see if anyone has any best practice on how to get the license key value into the Marketo side.

       

      Essentially on the form fill out that contact will need a value for the license key.  The question is where to store, or how to get that value into Marketo.

       

      Any suggestions.

       

      Thanks

       

      Mark

        • Re: Software download license key via marketo
          Sanford Whiteman

          There couldn't be a better case for a webhook!

           

          Call out to a license server that generates a new license, or picks an unused one off a prefab list. Trigger when the lead's LicenseKey value changes (i.e. 'hook finishes processing, typically w/in a few seconds depending on load) to send the key.

          • Re: Software download license key via marketo
            Mark Wallace

            Hello Sanford,

             

            My reading around this has failed somewhat to enlighten me.  It sounds straightforward enough.

             

            Have you got anymore detail on the implementation.  I have the keys as a prefab list and need to test this asap.

             

            Any pointers would be great.

             

            Thanks in advance

             

            Mark

              • Re: Software download license key via marketo
                Sanford Whiteman

                Mark sorry for the delay, should've bookmarked this.

                 

                Implementations will vary, but this is how I'd do it in FlowBoost:

                 

                FBCounter.autoSave('trial_licenses', {{Lead.Id}})
                    .then(function (newEntry) {
                        var license = trialLicenses[newEntry.index];
                        success(license);
                    });
                
                var trialLicenses = [
                    "11rf04z915kk5ojyf8fhwtn3",
                    "250vzx4h557ghhz8qnqfwli3",
                    "ui6tjv788jdlwecy7mgg5ofa",
                    "yoltcv2y83exr4v10hdsgmzd",
                    "42c7aiqrv0mvcq27qcujk26r",
                    "feg63d08yrxn91koeu0w5m03",
                    "0vhhv0hz909opn282srf5nqs",
                    "y9v7c4ifq9acefeshj1tz1bt",
                    "t0mikhj5pz7v2h8smensjj1z",
                    "2j8kvgcqymlseofz6meg750l"
                ];
                

                 

                What we're doing here is

                 

                1. Inserting the lead into a counter "trial_licenses" (think of a counter as a folder with files)
                2. Checking the index of the newly added lead (the index is the unique id of the entry in the counter)
                3. Returning the trial license from your list that has the same index as the lead's index (so the 3rd entry in the counter naturally gets the 3rd entry in the license list)
              • Re: Software download license key via marketo
                Mark Wallace

                Thanks Sanford, I have enlisted a developer here and ill see how he get on with your info.

                 

                Thanks for the help. Im hoping this can get us started.