Javascript to fetch random coupon codes | Community
Skip to main content
July 6, 2023
Question

Javascript to fetch random coupon codes

  • July 6, 2023
  • 3 replies
  • 1011 views

Hi,

I would like to fetch java script coupon codes for 10000 recipients, currently the java script we are using fetches only one coupon code ( same coupon code) for every recipients.

please let me know how  to execute this in workflow 

 

 

 

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

3 replies

jjwatson79
Level 2
July 9, 2023

@vanditha_pan, please can you show the JS code you're using to try and get the coupon codes, and say more about where you're using the JS code. 

LakshmiPravallika
Community Advisor
Community Advisor
July 10, 2023

Hi @vanditha_pan ,

 

Could you Please let us know in which format do you want the Coupon Codes to be generated. Also can you Please share us an example (Sample Data) and also how you are  getting that Coupon Code for all recipients?

 

Regards,

Pravallika.

Sukrity_Wadhwa
Community Manager
Community Manager
August 3, 2023

Hi @vanditha_pan,

Were you able to resolve this query on your own or do you still need help here? Do let us know.

Thanks!

Sukrity Wadhwa