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