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
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
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.
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.