Skip to main content

Generate Shopify product images using AI Agent and deAPI

Workflow preview

Workflow preview
100%
Generate Shopify product images using AI Agent and deAPI preview
Open on n8n.io

1. Workflow Overview

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 needi...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.shopifytrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-deapi.deapi, n8n-nodes-base.shopify, n8n-nodes-deapi.deapitool, @n8n/n8n-nodes-langchain.lmchatanthropic

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by deAPI Team.

Original n8n.io source

1.1 Workflow description

Title
Generate Shopify product images using AI Agent and deAPI
Workflow name
Generate Shopify product images using AI Agent and deAPI

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

  1. Triggers when a new product is created in Shopify
  2. Extracts product title, description, category, and tags
  3. AI Agent analyzes the product data and uses the deAPI Prompt Booster tool to create an optimized image generation prompt
  4. Generates a professional product image using deAPI
  5. Removes background to create a transparent PNG version
  6. Updates the Shopify product with both images (hero + transparent)

Setup

Requirements

  • n8n instance (self-hosted or 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

  • n8n Cloud: Go to SettingsCommunity Nodes and toggle the "Verified Community Nodes" option
  • Self-hosted: Go to SettingsCommunity Nodes and install n8n-nodes-deapi

Configuration

  1. Add your deAPI credentials (API key + webhook secret)
  2. Add your Shopify credentials (Shop subdomain + APP secret key + Access token)
  3. Add your Anthropic credentials (API key)
  4. Ensure your n8n instance has an HTTPS webhook URL
  5. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note - Trigger

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note - Edit Fields

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note - AI Agent

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note - Generate

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note - Remove BG

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note - Update

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Shopify Trigger

Type / Role
n8n-nodes-base.shopifyTrigger - shopifyTrigger
Config choices
Version 1

Block 9 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 10 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 11 - deAPI Generate Image

Type / Role
n8n-nodes-deapi.deapi - deapi
Config choices
Version 1

Block 12 - deAPI Remove Background

Type / Role
n8n-nodes-deapi.deapi - deapi
Config choices
Version 1

Block 13 - Shopify Update Product

Type / Role
n8n-nodes-base.shopify - shopify
Config choices
Version 1

Block 14 - Image prompt booster in deAPI

Type / Role
n8n-nodes-deapi.deapiTool - deapiTool
Config choices
Version 1

Block 15 - Anthropic Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 16 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate Shopify product images using AI Agent and deAPI
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author deAPI Team
Published 25 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13704/13704.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate Shopify product images using AI Agent and deAPI do?

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 needi...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.