
Doi Suthep NextGen AI Design Contest Building an AI-Powered Contest System
The Doi Suthep Cable Car project aims to engage the public through an AI-powered creative contest under the theme “Dreamscapes of Chiang Mai after the Cable Car to Doi Suthep.” MAF Excellent was assigned to develop doisuthepnext.com, including the contest management system and the voting system.

Contest Submission System
The contest is divided into three categories: AI Video (short video/animation), AI Image (image/graphic), and AI Music (music), with total prizes of more than THB 69,000. The submission system was designed so participants must log in with a Google Account before submitting, to verify identity and prevent duplicate submissions.

When participants fill out the form and upload their work, the system runs via n8n Workflow Automation with the following steps:

*Contest submission page
The registration form data includes: full name, phone number, email, where they heard the news, address, submission category, submission title, and concept description.
Upload the submission file (image/video/music) up to 50 MB to Google Drive, separated into folders by category (01_AI_Video, 02_AI_Image, 03_AI_Music).
Save applicant data and the submission file link into Google Sheets so the team can review and manage it easily.
Generate a unique submission_id for each entry to reference in the voting system and winner announcements.
Popular Vote System
In addition to the jury awards, there is a Popular Vote award for the most popular entry in each category. The voting system was designed to be transparent and strongly anti-fraud.

*Voting page showing real-time vote counts
Voters must log in with a Google Account before voting to verify identity and provide voting evidence.
Each voter can vote for only 1 entry per category (3 categories = 3 votes total).
If a voter attempts to vote again within the same category, only the first vote is counted; subsequent votes are not counted.
Real-time vote counts are shown on the Gallery page so viewers can see each entry’s popularity.
How Voting Works via n8n
When a user votes, the system runs through an n8n Workflow as follows:

*n8n system receiving commands from the website
Receive voting data from the website: vote_id, voter_email (from Google Account), the voted entry’s submission_id, the category, and a timestamp.
Check Google Sheets whether this email has already voted in that category.
If not voted yet: record the vote in the Vote Sheet and update the score in the submissions database.
If already voted: reject the vote and notify the user that they have already voted in that category.
Data Storage Structure
All data is systematically stored in Google Workspace:

Google Drive Stores submission files separated by category (01_AI_Video, 02_AI_Image, 03_AI_Music) with public links for website display.
Submission Sheet Stores applicant and submission data including: timestamp, submission_id, full_name, phone, email, address, where they heard the news, category, title, concept description, image URL, drive_file_id, location_folder, score (vote count), and approval status.
Vote Sheet Logs every vote including: vote_id, voters_submission_id, voter_name, voter_email, category, submission_id of the voted entry, timestamp, and vote_value.
Gallery System & Interactive Viewer
The contest gallery was designed to pull data from Google Sheets in real time, with comprehensive features:
Filter by category (short video / image / music)
Search by submission title or creator name
Sort by default, alphabetically, or by vote score
Select items per page and use pagination
Interactive Viewer with entry details, including zoom/pan for images and an embedded player for video/music
Vote button with the current vote count displayed

Results
A total of over 769 entries were submitted across the three categories. The voting system operated transparently with complete voting evidence. Applicant and voting data were stored in a structured, auditable format. The website supported high traffic during the voting period and winner announcements, successfully increasing public participation in the Doi Suthep Cable Car project.
Visit the website: Doi Suthep NextGen doisuthepnext.com
Ready to Start Your Project?
Contact us today for a free consultation and start turning your business vision into reality
