Tasks / Rightbrain Internal

Product Recommendation Engine

Analyses customer browsing and purchase data for highly personalised product recommendations. It suggests complementary, alternative, and style-matched items, prioritising recent activity and preferences.

gpt-5-nano-2025-08-07
105 views
December 15, 2025

Sign up for a free trial to Clone, Customise and Run

Task Logic

User Prompt Template

CORE INSTRUCTION

Instructions sent to the model. Dynamic variables {brackets} are replaced at runtime.

Goal:
Generate personalised product recommendations for a customer based solely on their purchase history. Recommendations must be complementary to past purchases, including products that pair well with previously bought items and items that align with the customer's demonstrated style preferences.

Input Parameters:
- {purchase_data}: The customer's purchase history, including products purchased, purchase dates, and any available interaction patterns related to those purchases.

Processing Steps:
1. Analyse the purchase history to identify products and categories the customer has bought, noting frequency and recency of purchases.
2. Identify style preferences by finding common attributes across purchased items, such as colours, materials, design aesthetics, and product types.
3. Generate complementary product recommendations that pair well with frequently purchased products.
4. Prioritise recommendations based on relevance, combining recency of purchase, frequency of interest, and strength of style alignment.

Output Guidance:
- Complementary Products: List 3-5 products that work well with items the customer has purchased, explaining the complementary relationship.

For each recommended product, include:
- Product name and brief description
- Reason for recommendation based on their purchase history
- Relevant connection to their purchasing behaviour

Critical Rules:
- Ensure style matching recommendations demonstrate clear alignment with identifiable preferences from the customer's purchase history.
- Prioritise recent purchase activity over older data when identifying current preferences.
- Do not use browsing or non-purchase data in any part of the analysis or recommendations.

Interface Definition

Prompt Variables
purchase_data
Text Input
Output Schema

Try this AI task with your own data

Free trial - no credit card required