Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Coupon Implementation

Avatar

Level 2

Hi Team

I have a requirement where I need to randomly pick coupon codes from coupon table and assign to recipients and update coupon table with code has been used  ,How can I do that ?

I guess I need to write some script which dynamically fetch codes from table and assign to target recipients and update coupon table with status.

It will be great if some one can help me on this ,its an urgent requirement in my project.

Regards

1 Accepted Solution

Avatar

Correct answer by
Level 1

The inconsistency was due a permission problem.

You should be able to achieve this using only "Update Data" nodes to insert Coupons e Coupon Values.

View solution in original post

2 Replies

Avatar

Level 1

Hi hemantsharma!

I'm trying exactly the same.

We need to create coupons dynamically, depending on an external list.

Do you know that the Adobe Campaign already counts on a Coupon structure?

Maybe this will help you to start: Personalized coupons

This structure already picks randomly coupon values for each recipient. The challenge is just to load coupon codes to this structure without manual work.

We managed to build Coupons using javascript code and building an XML using the API documentation.
Our problem now resides in load the coupon values (the codes) to the structure. We couldn't find, yet, how to build an XML for doing this dynamic addition.

I tried to make the loading of the coupon values using the "Update Data" node in a Technical Workflow. But it doesn't seem to be consistent.

If I have any updates, I'll bring here.

Avatar

Correct answer by
Level 1

The inconsistency was due a permission problem.

You should be able to achieve this using only "Update Data" nodes to insert Coupons e Coupon Values.