The development project involved creating a search tool for a Tilda-based catalog using n8n, PostgreSQL 16, and Docker. The system retrieves up to five product cards from a database containing 1,684 records based on user-selected tags and product gender.
The developer employed a two-tier LLM approach: Particle-1 acted as the primary coder for mechanical tasks like SQL and JavaScript generation, while GPT-6 Luna Pro was used for complex diagnostic tasks, such as resolving PostgreSQL array handling and debugging webhook responses.
The implementation process highlighted several technical challenges, including incorrect SQL operator usage for text arrays, misaligned data contracts between n8n nodes, and improper webhook response configurations that limited output to a single record instead of the full set.
The final SQL query uses a Common Table Expression (CTE) to calculate match scores based on tag intersections. It ranks results by score, prioritizes exact gender matches over universal ones, and uses tag cardinality as a tie-breaker to ensure relevant output.
The developer noted that LLMs were used exclusively during the development phase to avoid runtime latency and costs. Human oversight remained essential for verifying data distribution, security reviews, and defining business logic for the search algorithm.






