Skip to content

muhammadibrahim313/Tech-Flow-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

🚀 TechFlow AI - Voice Commerce for WhatsApp

TechFlow AI Banner

Python GPT-5 WhatsApp License Status

🌍 Democratizing E-Commerce for 2 Billion WhatsApp Users

Live DemoVideo DemoDocumentationDashboard


📋 Table of Contents


🎯 Overview

TechFlow AI transforms WhatsApp into a powerful voice commerce platform, enabling 2 billion users worldwide to shop using voice messages in their native language. No typing, no app downloads - just speak and shop!

🏆 Hackathon Winner - AI Innovation Challenge 2024

# Shop in any language with just voice
"Bhai, mujhe laptop chahiye" → 💻 Shows laptops → ✅ Order confirmed
"I need iPhone under $500" → 📱 Shows options → ✅ Order placed
"আমি জুতা কিনতে চাই" → 👟 Shows shoes → ✅ Order done

🔥 Problem We Solve

Problem Impact
780 million people can't type efficiently Excluded from e-commerce
65% prefer voice over text No voice shopping solution
Language barriers 87% customer loss
Lost Opportunity $500 Billion annually

Real Stories:

  • 👵 Fatima (Karachi): "I can't type in English but want to shop online"
  • 🧓 Rahman's Mother (Dhaka): "I have money but can't use shopping apps"
  • 👨 Carlos (São Paulo): "My grandparents need voice shopping"

💡 Solution

How It Works - 3 Simple Steps:

graph LR
    A[🎤 Voice Message] --> B[🤖 AI Processing]
    B --> C[✅ Order Confirmed]
    
    style A fill:#25D366
    style B fill:#0066CC
    style C fill:#00C851
Loading
  1. Send Voice Note - Customer sends WhatsApp voice message in ANY language
  2. AI Processes - GPT-5 understands intent, language, and context instantly
  3. Order Complete - Confirmation sent, order processed, customer happy!

Features

🌍 Multilingual Support

  • ✅ 60+ languages supported
  • ✅ Automatic language detection
  • ✅ Mixed language understanding
  • ✅ Regional dialects & accents

🛍️ Shopping Features

  • 🛒 Voice-based product search
  • 💰 Budget-based recommendations
  • 📦 Multi-item cart management
  • 🎯 Personalized suggestions
  • 📊 Order tracking
  • 💳 Multiple payment options

🤖 AI Capabilities

  • 🧠 GPT-5 with 256K context window
  • 🎤 Whisper API for transcription
  • 💬 Natural conversation flow
  • 🔄 Context retention across messages
  • ⚡ 1.2 second response time

👨‍💼 Merchant Dashboard

  • 📈 Real-time analytics
  • 📊 Sales tracking
  • 👥 Customer insights
  • 📦 Inventory management
  • 💼 Order management

🛠️ Tech Stack

Layer Technology Purpose
AI Engine GPT-5, Whisper API Language processing & voice transcription
Backend Python, FastAPI, Flask API & webhook handling
Database PostgreSQL (Neon) Cloud database
Messaging Twilio, WhatsApp Business API Communication layer
Frontend Streamlit, Plotly Dashboard & analytics
Infrastructure Docker, ngrok Deployment & tunneling

🚀 Quick Start

Prerequisites

Python 3.12+
PostgreSQL
Twilio Account
OpenAI API Key
WhatsApp Business Account (or Sandbox)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/techflow-ai.git
cd techflow-ai
  1. Install dependencies
pip install -r requirements.txt
  1. Set up environment variables
cp .env.example .env
# Edit .env with your credentials
# .env file
OPENAI_API_KEY=your_openai_key
TWILIO_ACCOUNT_SID=......
TWILIO_AUTH_TOKEN=your_auth_token
DATABASE_URL=postgresql://user:pass@host/dbname
  1. Initialize database
python database.py
  1. Start the webhook server
python whatsapp_webhook.py
  1. Set up ngrok tunnel
ngrok http 5000
# Copy the HTTPS URL
  1. Configure Twilio webhook
Go to Twilio Console > WhatsApp Sandbox
Set webhook URL: https://your-ngrok-url.ngrok.io/webhook
  1. Launch dashboard (optional)
streamlit run hackathon_dashboard.py

📱 Usage

For Customers:

  1. Join Sandbox (Development)

    • Send WhatsApp message to: +1 415 523 8886
    • Type: join quite-putting
  2. Start Shopping

    Send: "Hello"
    

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages