Project case study

AI-Assisted Shopify Product Content Generator

A Python pipeline that transforms supplier spreadsheets into Shopify product descriptions, specification metafields, and organized document links using AI-assisted content generation and automated data processing.

Tools: Python, OpenAI API, pandas, Beautiful Soup, Cloudflare R2, boto3

Illustrative workflow from supplier spreadsheet through configurable AI and PDF stages to review-ready Shopify content.

The Challenge

Supplier product data arrives in inconsistent formats, with descriptions, specifications, and document links spread across spreadsheet columns. Preparing that information for Shopify requires repeated writing, formatting, and document handling.

My approach

I built a modular Python pipeline that reads available product information from Excel and processes each product through configurable stages.

The content stages use structured OpenAI prompts to generate Shopify Body HTML and specification JSON from supplied product information. The document stage downloads supplier PDFs, checks their file signature, uploads them to Cloudflare R2, and groups reusable links into document JSON.

Multiple product rows can run concurrently while the exported results retain their original input order. Processing errors are recorded alongside the output in CSV and Excel files for review and subsequent catalog preparation.

The stages can be enabled separately. The reviewed configuration runs document processing; the description and specification stages are available to enable for content-generation runs.

The images illustrate the workflow with fictional sample data. They show the pipeline’s capabilities rather than screenshots of a live application.

Results

The pipeline provides a repeatable way to prepare product descriptions, specification metafields, and document metadata in a consistent output format. Reusable document URLs and per-row error reporting support catalog review. Generated content is prepared for review and later import; the script does not publish products directly to Shopify.

A closer look

Screenshots & sample output

Select a screenshot to view the original image.