SOLVED

Software download license key via marketo

Go to solution
Mark_Wallace1
Level 4

Software download license key via marketo

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

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Software download license key via marketo

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.

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: Software download license key via marketo

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.

Mark_Wallace1
Level 4

Re: Software download license key via marketo

Thanks, I was reading about these this morning and it good to have suspicions confirmed.

I need to read quite a bit more I think but Im on the right tracks by the sound of it.

thanks

Mark_Wallace1
Level 4

Re: Software download license key via marketo

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

SanfordWhiteman
Level 10 - Community Moderator

Re: Software download license key via marketo

Mark Wallace 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)
Mark_Wallace1
Level 4

Re: Software download license key via marketo

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.