Skip to main content

AI-powered one-click virtual fitting room for WooCommerce, Shopify, Prestashop

Workflow preview

Workflow preview
100%
AI-powered one-click virtual fitting room for WooCommerce, Shopify, Prestashop preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This low code automation enables all eCommerce store visitors to upload a photo of themselves and virtually “try on” a garment in just a few clicks. With this workflow, WooCommerce, Prestashop, Sho...

Best for

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

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.ftp, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.if, n8n-nodes-base.form, n8n-nodes-base.wait

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
AI-powered one-click virtual fitting room for WooCommerce, Shopify, Prestashop
Workflow name
AI-powered one-click virtual fitting room for WooCommerce, Shopify, Prestashop

This low-code automation enables all eCommerce store visitors to upload a photo of themselves and virtually “try on” a garment in just a few clicks.

With this workflow, WooCommerce, Prestashop, Shopify and more merchants can offer a cutting-edge “virtual try-on” feature with minimal development effort, enhancing customer engagement and reducing product returns.


Key Advantages

  • Zero-Coding, Visual Setup Build end-to-end e-commerce features with drag-and-drop nodes instead of custom backend code.

  • Asynchronous, Scalable Processing Non-blocking “Wait” + “If” loop handles multi-second AI jobs gracefully, freeing up the workflow for other tasks.

  • Dynamic Inputs & URLs Query strings (e.g. ?Product=IMAGE_URL) allow you to embed the form on any product page and pass the garment image on the fly.

  • Seamless User Experience Instant pop-up within your storefront and automatic redirect to the generated mock-up keeps shoppers engaged without page reloads.

  • Easy Credential Management API keys, FTP credentials, and webhook IDs are all stored securely in n8n’s credential manager.


How It Works

  1. Form Submission:

    • A user submits a form with their name, an image of themselves ("Me"), and a hidden product image URL ("Product").
    • The form is triggered via the On form submission node, which collects the input data.
  2. Image Upload:

    • The uploaded image ("Me") is sent to an FTP server for temporary storage using the FTP node. The filename includes a timestamp to ensure uniqueness.
  3. Virtual Try-on Request:

    • The Create Image node sends a POST request to the Fal.run API, providing:
      • The uploaded human image URL (from FTP).
      • The product image URL (from the hidden form field).
    • This generates a virtual try-on result.
  4. Result Processing:

    • The workflow checks the status of the image generation (Get status node) in a loop (with a 10-second wait between checks) until it is marked as "COMPLETED."
    • Once ready, the final image URL is fetched (Get Url image node) and displayed to the user via a redirect (Form node).
  5. User Experience:

    • The user is redirected to the generated try-on image, completing the process.

Set Up Steps

  1. API Key Setup:

    • Create an account and obtain an API key.
    • Configure the Create Image node with HTTP Header Authentication:
      • Name: Authorization
      • Value: Key YOURAPIKEY
  2. FTP/S3 Configuration:

    • Set up an FTP server or S3 bucket to temporarily store uploaded user images.
    • Configure the FTP node with your FTP credentials and storage path.
  3. Ecommerce Integration:

    • On your WooCommerce site, add a "Try On" button that opens the form in a pop-up.
    • Dynamically pass the product image URL as a query parameter:
      • Example: https://URL_N8N/form/ca1c314d-46c6-4eeb-b6a5-359XXXXXX?Product=IMAGE_URL
  4. Testing:

    • Verify the workflow by submitting a test form and ensuring the virtual try-on image is generated and displayed correctly.

Need help customizing?

Contact me for consulting and support or add me on Linkedin.

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 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - FTP

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

Block 3 - Get Url image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Get status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Sticky Note

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

Block 6 - Sticky Note1

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

Block 7 - Sticky Note2

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

Block 8 - Sticky Note3

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

Block 9 - Completed?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Sticky Note5

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

Block 11 - Create Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Sticky Note6

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

Block 13 - Form

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

Block 14 - Sticky Note7

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

Block 15 - Get image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Wait 10 sec.

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

3. Summary Table

Workflow AI-powered one-click virtual fitting room for WooCommerce, Shopify, Prestashop
Complexity advanced
Nodes 16
Categories Miscellaneous, Multimodal AI
Author Davide
Published 24 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5200/5200.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 AI-powered one-click virtual fitting room for WooCommerce, Shopify, Prestashop do?

This low code automation enables all eCommerce store visitors to upload a photo of themselves and virtually “try on” a garment in just a few clicks. With this workflow, WooCommerce, Prestashop, Sho...

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 Miscellaneous, Multimodal AI use case.