-
Re: Software download license key via marketo
Sanford Whiteman Mar 31, 2017 7:30 AM (in response to Mark Wallace)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 Mar 31, 2017 7:48 AM (in response to Sanford Whiteman)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
-
-
Re: Software download license key via marketo
Mark Wallace May 12, 2017 6:28 AM (in response to 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 May 15, 2017 10:57 AM (in response to Mark Wallace)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
- Inserting the lead into a counter "trial_licenses" (think of a counter as a folder with files)
- Checking the index of the newly added lead (the index is the unique id of the entry in the counter)
- 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 May 24, 2017 5:52 AM (in response to 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.