Ever do a random content fill / key generation?

Matt_Lyman
Level 2

Ever do a random content fill / key generation?

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!

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Ever do a random content fill / key generation?

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

Re: Ever do a random content fill / key generation?

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