Back to Templates

Auto-Generate Trending Merchandise on Printify with GPT-4o, Stable Diffusion & Google Trends

Created by

Created by: 寳田 武 || teateatea

寳田 武

Last update

Last update 17 hours ago

Share


This workflow automates the entire process of running a Print-on-Demand (POD) business by combining market trend analysis with autonomous AI design and quality control. It acts as a virtual product team that researches, designs, vets, and publishes new products to your store every week.

Who is it for?
This template is ideal for e-commerce entrepreneurs, content creators, and print-on-demand store owners who want to scale their merchandise inventory without spending hours on design and market research.

What it does
Market Research: Fetches real-time search data from Google Trends and customer preference data from Typeform.
AI Design: Uses OpenAI (GPT-4o) to brainstorm t-shirt concepts based on the gathered trends, then generates high-quality vector-style images using Replicate (Flux/Stable Diffusion).
Quality Control: A "Vision AI" agent analyzes the generated image, rates it on a scale of 1-10, and filters out any design scoring below 7.
Dynamic Pricing & Publishing: Automatically calculates a premium price for higher-rated designs and publishes the product directly to your Printify store.
Logging: Saves the product details to Airtable for your records.

How to set up
Configure Credentials: Open the "Workflow Configuration" node. Replace the placeholder values with your API keys for OpenAI, Replicate, Printify, and Typeform.
Set Printify Details: In the "Workflow Configuration" node, add your Shop ID. In the "Publish to Printify" node, update the blueprint_id (the specific t-shirt model, e.g., Bella+Canvas 3001) and print_provider_id.
Airtable Setup: Create a table with columns for Title, Description, Price, Quality Score, and Image URL, then map the IDs in the Airtable node.

Requirements
n8n: Cloud or Self-hosted instance.
API Keys: OpenAI (with GPT-4o access), Replicate, Printify, Typeform, and Airtable.
Printify Account: A connected store (e.g., Shopify, Etsy, or Pop-up).

How to customize
Prompt Engineering: Modify the "Chief Designer AI" system prompt to change the artistic style (e.g., from "vector" to "pixel art" or "vintage").
Pricing Logic: Adjust the JavaScript in the "Dynamic Pricing Calculator" to change your base margins or markup rules.
Schedule: Change the "Weekly Schedule Trigger" to run daily or monthly depending on your volume needs.