πŸ’¬ Build a WhatsApp AI shopping bot with virtual try-on using Gemini and GPT

⚑ 6 views Β· πŸ’¬ Support Chatbots

Description

Build a WhatsApp AI shopping bot with virtual try-on using Gemini


πŸ“Œ Overview

This workflow fully automates your T-shirt store’s WhatsApp shopping experience using GPT for intent detection, MongoDB Atlas for vector-based product search, Redis for session management, and Google Gemini for AI-powered virtual try-on.

It automatically handles customer messages, finds relevant products, processes orders, and generates realistic try-on images β€” all inside WhatsApp, with no app or website required.

Customers can search for T-shirts, place orders, and virtually try on items in a single conversation. Redis ensures fast product caching and session tracking. MongoDB Atlas stores the product catalog and orders. Google Sheets logs every order automatically. Gemini generates realistic try-on images from customer selfies.

This workflow eliminates manual order handling, improves customer experience, and gives store owners full visibility into orders and product searches.

βš™οΈ How it works

This workflow runs automatically when a customer sends a WhatsApp message.

πŸ” Product search

πŸ›’ Order flow

πŸ‘— Virtual try-on flow

πŸ›  Setup steps

  1. Import this workflow into n8n
  2. Connect your WhatsApp Business Cloud API credentials
  3. Connect your OpenAI API credentials (for embeddings and GPT model)
  4. Connect your Google Gemini API credentials
  5. Connect your MongoDB Atlas credentials and create a vector index named ShopingBot on the product collection
  6. Connect your Redis credentials
  7. Connect your Google Drive service account credentials
  8. Connect your Google Sheets service account credentials
  9. Import your product catalog with embeddings into the MongoDB product collection
  10. Activate the workflow

The workflow will run automatically when customers send WhatsApp messages.

πŸš€ Features

🧠 AI-powered shopping

πŸ›’ Order management

πŸ‘— Virtual try-on

πŸ” Security and reliability

πŸ“‹ Requirements

You need the following accounts and credentials:

🎯 Benefits

πŸ‘¨β€πŸ’» Author

BytezTech Pvt Ltd

πŸ”— Nodes Used

Edit Image, HTTP Request, Redis, Google Drive, MongoDB, WhatsApp Business Cloud

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup