LINE New Year Coupon Lucky Draw System: Handling High Traffic for a Chain Dessert Brand
Built a LINE@ official account New Year lottery campaign page for a well-known ice cream brand, comprehensively upgrading the prize-fulfillment mechanism, system stability, and user experience.
Zero prize-fulfillment errors
Core flow runs reliably
Stable under high traffic
No downtime during the campaign
Continuously optimized architecture
Upgraded with every year's campaign
Requirements
We've built this brand's New Year LINE@ official account lottery system for three consecutive years. Campaign scale has grown every year, and the technical architecture has evolved right along with it — from basic lottery functionality, to an auto-scaling container architecture built for high traffic, to prize-fulfillment logic optimized around a core goal of "zero missed prizes."
- During high-traffic periods, resource demand spikes heavily, requiring the ability to respond quickly and auto-scale capacity
- Prize winning and coupon fulfillment involved a third-party vendor, so the mechanism had to be designed to fundamentally eliminate missed fulfillments
- Non-members who win need to be guided into adding the LINE@ official account, then automatically redirected back to the campaign page with the prize issued on the spot — the whole process had to be seamless
- During high-traffic periods, video load speed directly affects the user experience, requiring multi-location redundancy to guarantee uninterrupted playback
Let's Solve It!
- Adopted GAE auto horizontal scaling paired with dynamically upgradable Cloud SQL, so the system flexes with traffic
- Multiple trigger points for prize fulfillment, preventing missed prizes from dropped connections
- Animation videos are primarily hosted on Cloudflare R2, backed by a local server, ensuring smooth loading during peak periods
Case Details
Running an online marketing campaign, you’re afraid of too few people showing up — and just as afraid of too many!
A well-known ice cream brand has run a New Year LINE@ official account lottery campaign for five years running, letting members draw coupons through an interactive mini-game. Behind this seemingly simple flow is a technical architecture refined every single year — from keeping the system stable at peak load, to eliminating missed prize fulfillments, to optimizing the onboarding experience for non-members.
This is the fifth year Estab-Zenith has run this project, and the year its technical maturity has reached its peak.
Campaign design: mini-game x LINE@ official account x instant coupon fulfillment
The campaign uses LINE@ official account push messages to guide players into a custom LIFF game page. On the page, players “crack open” a fortune-cookie animation, immediately drawing a matching product coupon that’s automatically saved to their member wallet.
The lottery experience flow is designed as follows:
- Push reach: the LINE@ official account sends a campaign notification with a link into the game
- Enter the LIFF page: clicking the link opens the custom game page
- Game interaction: clicking “Start” automatically plays the animation, while the system simultaneously verifies the player’s identity and completes the draw and coupon issuance at this exact moment
- Instant coupon delivery: the coupon is automatically saved to the player’s LINE member wallet, ready to use in-store. For players who aren’t yet members, the system records the prize first after a win, guides them through joining as a member, then automatically redirects them back to the LIFF page to complete coupon issuance — ensuring every winner gets their prize seamlessly.
Key optimization: issuing prizes earlier to reduce missed fulfillments
Because the client’s coupon fulfillment runs through a third-party CRM, we identified a potential “won but never received the coupon” scenario while designing the mechanism. If the system issued the coupon only near the end of the gameplay, a player might watch the draw animation and then close the LIFF page — leaving the prize stuck mid-process, neither successfully issued nor covered by any reissue mechanism.
So we came up with an optimization: issue the prize the moment the player clicks “Start,” at the very beginning of the game — before playing the animation — while verifying identity at the same time. This whole sequence happens in one seamless motion, with no perceptible delay for the player.
Swapping the order this way moves prize issuance to before the moment the user is most engaged, drastically cutting the missed-fulfillment rate. It’s paired with a multi-trigger mechanism, so even if the connection drops mid-game, the system automatically reissues the prize the next time the user opens the LIFF page.
Technical Architecture
- Frontend: LINE LIFF (custom game page)
- Backend: GAE with auto horizontal scaling
- Database: Google Cloud SQL, dynamically upgradable based on traffic
- Video storage: Cloudflare R2 (primary) + local server (backup)
- Coupon issuance: integrated with CRM API
- Data tracking: Google Analytics (GA4) + a custom-built lottery back office
Results
- First-day traffic grew more than 8x year over year, and the system handled it without a hitch
- System error rate stayed under 0.01% throughout the campaign
- Five years of continuous partnership, with each year outperforming the last
The core lesson from this project
Years of running alongside this CNY New Year promotion have taught us something clear: half of what makes or breaks a digital marketing campaign is hidden in the system architecture and process design.
A marketing campaign has a clear start and end date, but there’s zero tolerance for a poor user experience. A prize that fails to issue, an animation that freezes, a membership sign-up flow that gets stuck — any one of these can send a potential customer away disappointed, or even trigger a complaint.
The value of a long-term partnership is being able to build on every year’s observations — giving improvements a real basis and giving the next execution real confidence. Historical data is a reference, not a guarantee; true stability comes from serious review and iteration, year after year.
Related Case Studies
Marketing Campaign Systems
LINE Scratch-Card Campaign Page: A Nationwide Campaign with Purchase-Based Rewards
Built a LINE@ official account threshold-based lottery LIFF page for an international sportswear brand, integrating 350+ directly-operated and dealer stores nationwide — covering multi-layer eligibility verification, back-office lottery monitoring, and fully automated winner notifications.
Marketing Campaign Systems
Limited-Release Whisky Reservation System: A VIP Reservation Experience
Built a LINE LIFF limited-quantity reservation system for a premium whisky brand under an international spirits group, integrating member verification, in-store redemption, and five-stage push notifications — establishing an exclusive, premium member experience from the very first touchpoint.
You can get results like this too!
Start with AI requirement analysis and turn your idea into a concrete requirements draft.
Start My AI Analysis