Employee Coupon Request and Email Distribution

Hello everyone, I have a requirement that involves retrieving data from an API. Specifically, I am working with employee requests for coupons, and my task is to send them an email containing a coupon code. However, there is a condition: each employee can only be granted a maximum of three coupons per month. Therefore, I need to implement a mechanism to limit the number of requests in a list and send an email notification when the quota for a particular employee has been exceeded.
0 answers