200+ product CSV in, SEO-optimized descriptions out — rate-limited batch processing that doesn't crash
The Problem
An ecommerce manager with 200+ products carrying outdated descriptions needed an AI rewrite. A previous attempt using a simple loop crashed at product 47 when it hit OpenAI rate limits — losing all prior output. The business needed guaranteed completion across the full product list with a Shopify-importable CSV as output.
The Solution
Binary file input reads the uploaded CSV directly into n8n without any external storage. Split in Batches processes 10 products per batch with a configurable delay between batches, staying within OpenAI's rate limits regardless of catalog size. Each product passes through an AI node generating a description, meta title, and meta tags simultaneously in one structured prompt call. Results aggregate across all batches and export as a downloadable CSV pre-formatted for Shopify bulk import.
Key Engineering
Result
→ Full 200-product catalog processed without a single rate limit error. Shopify-ready CSV exported and imported directly. Weeks of manual copywriting replaced by a single workflow run.
Tech Stack
Binary Data Handling, Split in Batches, Rate Limit Control, OpenAI GPT-4o, Code Node (JS), CSV Export

