Access the order of a product purchase that triggered a marketing automation process

Gabor Ferencz asked on November 3, 2015 16:34

I have a situation where I want to build a marketing automation process that is triggered by a specific product being purchased. The process will then periodically send emails every month for set period.

The issue I have is that for each email sent I need to access the original order on which the item was purchased so that I can obtain the information required to build the email. How can I achieve this from within a marketing automation step?

Recent Answers


Timothy Fenton answered on November 5, 2015 15:00

Hey Gabor

I have one suggestion I can think of that might help. You could add a new property to the contact class like "CurrentMAOrderID" with an integer representation and make it not visible in editing form. To add this field you would go to Modules application, Contact Management > Classes and edit the OM_Contact class. Click the fields tab and add a new field. You can leave this null by default and make sure you uncheck show in editing form.

Once you have created this new field, you can go into your automation process and in the beginning of the automation process add a "Set contact property" and set this newly created property to the appropriate order id, maybe something like Contact.Orders.FirstItem, this way you have it as a "variable" and can use it whenever you need it. The only bad thing about this solution is if you need to start this automation each time a customer orders a product then it will obviously overwrite the existing ID, but maybe you can think of some way around this limitation

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.