๐ฌ Generate Shopify product images using AI Agent and deAPI
โก 74 views ยท ๐ฌ Content Creation & Video
Description
Who is this for?
- E-commerce store owners using Shopify
- Product managers who need consistent product imagery
- Marketing teams looking to automate visual content creation
- Dropshipping businesses needing quick product photos
What problem does this solve?
Creating professional product images is time-consuming and expensive. This workflow eliminates the need for manual photo editing by automatically generating styled hero images and transparent PNGs ready for your product catalog.
What this workflow does
- Triggers when a new product is created in Shopify
- Extracts product title, description, category, and tags
- AI Agent analyzes the product data and uses the deAPI Prompt Booster tool to create an optimized image generation prompt
- Generates a professional product image using deAPI
- Removes background to create a transparent PNG version
- Updates the Shopify product with both images (hero + transparent)
Setup
Requirements
- Self-hosted n8n instance (deAPI node is not yet available on n8n Cloud)
- deAPI account for image generation and prompt boosting
- Shopify scopes:
read_products,write_products,write_files - Anthropic account for the AI Agent
Installing the deAPI Node
- Go to Settings โ Community Nodes
- Install
n8n-nodes-deapi
Configuration
- Add your deAPI credentials (API key + webhook secret)
- Add your Shopify credentials (Shop subdomain + APP secret key + Access token)
- Add your Anthropic credentials (API key)
- Ensure your n8n instance has an HTTPS webhook URL
- Set up the webhook URL for the product creation event in Shopify
How to customize this workflow
- Change the AI model: Swap Anthropic for any other LLM providers
- Adjust the prompt: Modify the AI Agent system message for different photography styles
- Add more processing: Insert upscaling(e.g. deAPI Upscale an Image) or additional image transformations
- Different e-commerce platform: Replace Shopify nodes with WooCommerce, BigCommerce, etc.
- Add human review: Insert a Wait node + Slack notification before uploading to Shopify
๐ Nodes Used
Shopify Trigger, Shopify, AI Agent, Anthropic Chat Model, Structured Output Parser
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File