Coupon Implementation | Community
Skip to main content
March 26, 2018
Solved

Coupon Implementation

  • March 26, 2018
  • 2 replies
  • 3394 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by abelrochaespino

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.

2 replies

abelrochaespino
April 10, 2018

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.

abelrochaespino
abelrochaespinoAccepted solution
April 10, 2018

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.