Implement a virtual fitting room on WooCommerce, Shopify, or Prestashop using this advanced n8n workflow. Automate AI image generation for instant try-on results.
Download this n8n workflow template and start using it instantly.
E-commerce site owners (WooCommerce, Shopify, Prestashop) looking to implement virtual fitting features.
Developers seeking ready-made n8n templates for complex AI integration.
Digital marketing teams aiming to boost engagement and reduce clothing returns.
Anyone interested in advanced automation using the n8n node system and external AI services.
Implementing virtual try-on technology typically requires extensive development, but this powerful n8n workflow provides a low-code solution. This automation seamlessly connects an n8n trigger form with the Fal.run Kling AI model. The workflow solves the problem of high return rates and low customer confidence in online apparel shopping by allowing users to upload a photo of themselves and virtually 'wear' a product available on your site.
By using this n8n automation, you can offer a cutting-edge feature, enhance customer experience, and reduce development overhead. This specific n8n workflow is highly customizable and serves as a robust foundation for integrating AI-powered image generation into any e-commerce platform. It provides an effective demonstration of how complex tasks can be managed using simple n8n templates.
The entire process begins with an n8n trigger, specifically the Form Trigger n8n node, where the user submits their image, and the product URL is passed through a hidden field.
Create Image HTTP Request n8n node calls the Fal.run AI API, submitting the publicly accessible user image URL and the garment image URL (derived from the initial n8n trigger). This action initiates the AI try-on generation and returns a unique requestid.Wait 10 sec. n8n node followed by the Get status n8n node to repeatedly check the job status using the requestid.Completed? If n8n node determines if the status output equals COMPLETED. If the job is still running (False), the flow loops back to the Wait n8n node. If completed, the n8n workflow proceeds.Get Url image and Get image n8n nodes retrieve the final output—the virtually tried-on image URL and binary data.Create Image n8n node with the Header Name: Authorization and Value: Key YOURAPIKEY.FTP n8n node, ensuring the path is publicly accessible, or replace the FTP n8n node with a Cloud Storage n8n node (like S3) for temporary image storage.On form submission n8n trigger. Note the webhook URL for integration.?Product=IMAGE_URL). This feeds the garment data directly to the initial n8n trigger. On form submission (Form Trigger n8n trigger):
Function: Initiates the n8n workflow upon user submission. It captures the user's image (Me) and the garment's image URL via a hidden input field (Product).
Key Configuration: Collects name, user image (file upload), and a hidden product URL parameter. The webhook acts as the starting n8n trigger.
FTP (n8n node):
Function: Uploads the user's binary image data to a temporary public FTP location, making it accessible for the AI service.
Key Configuration: operation: upload, uses dynamic expressions to create a unique path and filename.
Create Image (HTTP Request n8n node):
Function: The crucial step that sends the human and garment image URLs to the Fal.run AI API to request the virtual try-on generation.
Key Configuration: Method: POST, sends a JSON body containing dynamic URLs for humanimageurl and garmentimageurl.
Wait 10 sec. (Wait n8n node):
Function: A flow control n8n node that deliberately pauses the execution to wait for the asynchronous AI job to potentially complete before polling its status again.
Get status (HTTP Request n8n node):
Function: Queries the Fal.run API endpoint repeatedly to retrieve the current processing status of the virtual try-on request.
Completed? (If n8n node):
Function: Checks if the API status response equals COMPLETED. If not, it routes the execution back to the Wait 10 sec. n8n node, creating the necessary polling loop in this n8n workflow.
Get Url image (HTTP Request n8n node):
Function: Retrieves the final result data, including the public URL for the newly generated AI try-on image.
Form (n8n node):
Function: Finalizes the initial web form transaction by redirecting the customer's browser directly to the URL of the generated image, displaying the try-on result.
Key Configuration: respondWith: redirect, dynamically uses the resulting image URL.
Automate content creation using this n8n workflow. Monitor RSS feeds, score articles with OpenAI, generate platform-specific social posts, and publish to X, LinkedIn, and Threads automatically.

Automate NDA and contract risk assessment using a powerful n8n workflow. This n8n template uses a JotForm trigger, PDF extraction, Google Gemini AI, and a Telegram n8n node for instant red flag alerts.

Use this advanced n8n workflow to execute multi-stage web searches, rank results, extract full articles, and generate detailed, APA7-cited expert reports using the Google Gemini LLM. Explore powerful n8n templates for RAG automation.

Use this powerful n8n workflow to automate personalized B2B outreach and follow-up sequences using GPT-4o, Gmail, and Google Sheets, ensuring real-time lead status updates.

Use this advanced n8n workflow to automatically monitor Google Drive for new PDF invoices, parse structured data using OpenAI (GPT-4o-mini), categorize expenses, and instantly log results to Google Sheets, eliminating manual data entry.

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at [email protected] or add me on Linkedin.com/in/davideboizza







































