{"schemaVersion":"1.0","source":"The Workflow Finder","sourceUrl":"https://www.theworkflowfinder.com","license":"Free to use with attribution and a link to the cited page","generated":"2026-08-28","workflow":{"title":"Build a Personalized Product Recommendation Engine","slug":"ai-product-recommendation-engine","url":"https://www.theworkflowfinder.com/workflows/ai-product-recommendation-engine","description":"Use AI to analyze customer behavior, purchase history, and browsing patterns to deliver real-time personalized product recommendations across your e-commerce store.","difficulty":"Advanced","timeEstimate":"8–12 hrs setup / ongoing tuning","expectedResult":"A working recommendation layer that shows personalized product suggestions to logged-in users, increasing average order value and reducing time-to-purchase.","tags":["E-commerce","Personalization","Data","Development"]},"steps":[{"position":1,"title":"Export and Structure Customer Data","instructions":"Export your customer purchase history and browsing data as CSVs. Use ChatGPT to write a data cleaning script that standardizes the format: CustomerID, ProductID, Category, Timestamp, Action (view/purchase/add-to-cart).","input":"Workflow inputs: the topic, goal, or raw materials the user is starting from.","output":"Handoff artifact consumed by Step 2 (\"Build Customer Segments\").","toolSlots":[{"slug":"chatgpt","name":"ChatGPT","url":"https://www.theworkflowfinder.com/tools/chatgpt","category":"Writing","pricing":"paid","capabilities":["Long-form writing","Code generation","Web research"],"hasApi":true}]},{"position":2,"title":"Build Customer Segments","instructions":"Feed the structured data into Claude. Ask it to identify 5–8 distinct customer segments based on purchase frequency, category preference, and average order value. Define the segment logic as rules.","input":"Output of Step 1 (\"Export and Structure Customer Data\").","output":"Handoff artifact consumed by Step 3 (\"Generate Recommendation Logic\").","toolSlots":[{"slug":"claude","name":"Claude","url":"https://www.theworkflowfinder.com/tools/claude","category":"Writing","pricing":"freemium","capabilities":["Long-form writing","Code generation","Web research"],"hasApi":true}]},{"position":3,"title":"Generate Recommendation Logic","instructions":"For each segment, use ChatGPT to write the recommendation logic in plain language: 'Customers in segment A who bought X tend to also buy Y and Z within 2 weeks.' Convert this to a lookup table.","input":"Output of Step 2 (\"Build Customer Segments\").","output":"Handoff artifact consumed by Step 4 (\"Build the API Layer\").","toolSlots":[{"slug":"chatgpt","name":"ChatGPT","url":"https://www.theworkflowfinder.com/tools/chatgpt","category":"Writing","pricing":"paid","capabilities":["Long-form writing","Code generation","Web research"],"hasApi":true}]},{"position":4,"title":"Build the API Layer","instructions":"Use ChatGPT to write a simple Node.js or Python API endpoint: accepts CustomerID, looks up their segment, and returns the top 5 recommended products from your catalog via the lookup table.","input":"Output of Step 3 (\"Generate Recommendation Logic\").","output":"Handoff artifact consumed by Step 5 (\"Connect to Your Storefront\").","toolSlots":[{"slug":"chatgpt","name":"ChatGPT","url":"https://www.theworkflowfinder.com/tools/chatgpt","category":"Writing","pricing":"paid","capabilities":["Long-form writing","Code generation","Web research"],"hasApi":true}]},{"position":5,"title":"Connect to Your Storefront","instructions":"Integrate the API with your e-commerce platform (Shopify, WooCommerce). Display recommendations in a 'Recommended for You' section on the product and cart pages.","input":"Output of Step 4 (\"Build the API Layer\").","output":"Handoff artifact consumed by Step 6 (\"Measure and Refine Monthly\").","toolSlots":[]},{"position":6,"title":"Measure and Refine Monthly","instructions":"Monthly, export click-through and conversion rates for recommendations. Use Claude to analyze which segments and recommendation rules are driving the most conversions and update the logic.","input":"Output of Step 5 (\"Connect to Your Storefront\").","output":"Final workflow output: A working recommendation layer that shows personalized product suggestions to logged-in users, increasing average order value and reducing time-to-purchase.","toolSlots":[{"slug":"claude","name":"Claude","url":"https://www.theworkflowfinder.com/tools/claude","category":"Writing","pricing":"freemium","capabilities":["Long-form writing","Code generation","Web research"],"hasApi":true}]}]}