Insert data generated in an email into a list as a log
Is there anyway we can 'SET DATA' from inside a RPL loop in a template to a list or table ?
Basically we are generating user codes (printed in the email template & sent to the customers) depending on several parameters inside a template which is triggered through the API.
What we need is to store these user codes as a record in a list or table along with customer's email address.
The RPL generating the code (only if it matches the sku name in 'sku' supplemental table) looks like this:
<#assign temp_item_holder = item.item_name_short>
<#data sku as dgo>