Unique order number

Anonymous
Not applicable

Unique order number

Is there a way to create a unique order number in Marketo? We are trying to put together a print program that if a lead has certain behaviors they get triggered a print piece. The problem is we need a unique order number for each piece. Can Marketo create these?

Kelly

3 REPLIES 3
Grégoire_Miche2
Level 10

Re: Unique order number

Hi Kelly,

If there is no more than 1 print piece per lead, you could just use the lead ID, which is unique. You can reference it in emails with the {{lead.ID}} token.

if you have more than one, it will become complex, you will need a custom object.

-Greg

Anonymous
Not applicable

Re: Unique order number

The problem is there could be up to 7 print pieces and we are sending the information over a webhook. We found out the webhook won't work with the custom objects.

SanfordWhiteman
Level 10 - Community Moderator

Re: Unique order number

Sounds like a two different issues.

You can use a webhook to create any number of unique order IDs (GUIDs) to assign to a lead and store them in custom lead fields.  Integrating this with custom objects is a different issue because adding custom objects is out of the customary webhook (response) scope.  Of course you can use a webhook to add custom objects, just not via simple response JSON/XML.