Skip to main content
Matt_Lyman
Level 2
April 6, 2018
Question

Ever do a random content fill / key generation?

  • April 6, 2018
  • 1 reply
  • 2067 views

We are looking at ways to use Marketo to do a random selection of codes or keys based on a program. Has anyone ever done this?

Say you want to have an event discount code that is stored somewhere and are given out randomly when someone fills out a form.

The flow would look like this:

User fills out form -> Marketo program grabs random key or code from populated list -> key emailed to user

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
April 6, 2018

Yes, this has been discussed a few times before. Check:

Re: Integration for Issuing Credentials on Temporary Free Trials

Woo commerce coupon code into custom field

As you'll see, the requirement are always the same: you need a service to maintain the "stack" of codes so it knows which one to generate/give out next. The codes might be precreated in bulk or created on-the-fly, but either way the key is to maintain the last distributed index so you can keep popping new, unique ones off the stack and giving them to leads.

Matt_Lyman
Level 2
April 6, 2018

Thanks! I guess I just didn't use the right search terms. Will go through these others.