Skip to content
khanzadigithubidPublic

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

AutoFlow - Workflow Automation Tool

AutoFlow

Workflow Automation Tool — Form submit hote hi: auto save, auto reply, owner alert aur live dashboard.

Python Flask SMTP Excel Animated UI MIT License

Features • How it works • Screenshots • Quick Start • API


🚀 Overview

AutoFlow ek zero-touch lead pipeline hai — customer inquiry aati hai, aur aapki team bina kuch kiye:

  • Customer ko instant confirmation email
  • Owner ko new lead alert
  • Sab data CSV + Excel me auto-save
  • Animated dashboard par live stats

Manual data entry aur manual replies ka time khatam.


✨ Features

Feature Description
📝 Lead Capture Form Modern glassmorphism UI, fully responsive, animated
💾 Auto Save Har submission CSV + Excel (.xlsx) me automatic
✉️ Auto Reply Customer ko turant branded confirmation email (SMTP)
🔔 Owner Notification New lead details owner ke inbox me
📊 Live Dashboard Animated counters, service chart, activity log
📥 Excel Export One-click poora data download
📜 Activity Log Har automation ka timestamped history
🧵 Threaded Pipeline Emails background me — form turant respond karta hai
🎭 Demo Mode Bina SMTP credentials ke bhi pura pipeline test karein

⚙️ How It Works

AutoFlow Workflow Diagram

  1. Lead Form → customer details submit karta hai
  2. Flask API → validation + processing
  3. Auto Save → data/submissions.csv + submissions.xlsx + logs.csv
  4. Parallel emails → customer auto-reply + owner notification (SMTP)
  5. Dashboard → live stats, charts aur automation log

📸 Screenshots

Landing / Lead Form
AutoFlow Lead Form
Automation Dashboard
AutoFlow Dashboard

🛠️ Quick Start

# 1. Clone
git clone https://github.com/khanzadigithubid/AutoFlow.git
cd AutoFlow

# 2. Install
pip install -r requirements.txt

# 3. Run
python app.py
Page URL
Lead Form http://127.0.0.1:5000/
Dashboard http://127.0.0.1:5000/dashboard
Excel Export http://127.0.0.1:5000/export

📧 Live Email Setup (Optional)

Default me demo mode chalta hai (koi email nahi jata). Asli emails ke liye:

Gmail:

  1. myaccount.google.com → Security → 2-Step Verification ON
  2. App passwords → naya password banao (direct link)
  3. Environment variables set karein:
$env:SMTP_USER   = "[email protected]"
$env:SMTP_PASS   = "your-16-digit-app-password"
$env:OWNER_EMAIL = "[email protected]"
python app.py
# Linux / macOS
export SMTP_USER="[email protected]"
export SMTP_PASS="your-16-digit-app-password"
export OWNER_EMAIL="[email protected]"
python app.py

⚠️ Security: App password kabhi code me hardcode na karein aur repo me commit na karein. .env file .gitignore me hai.


🔌 API Endpoints

Method Endpoint Description
GET / Lead capture form
POST /submit Form submit → pipeline trigger
GET /dashboard Animated live dashboard
GET /api/stats JSON stats (leads, emails, services)
GET /api/submissions All leads (JSON)
GET /api/logs Automation log (JSON)
GET /export Excel file download

📁 Project Structure

AutoFlow/
├── app.py              # Flask routes + JSON API
├── automation.py       # Pipeline: save → reply → notify → log
├── config.py           # Settings (env variables)
├── requirements.txt
├── templates/
│   ├── index.html      # Lead capture form
│   ├── thanks.html     # Confirmation page (animated)
│   └── dashboard.html  # Live dashboard
├── static/
│   ├── style.css       # Glassmorphism + animations
│   └── script.js       # Counters, live refresh, charts
└── data/               # Auto-created (CSV + Excel) — git ignored

🗺️ Roadmap

  • WhatsApp notification (Twilio)
  • Admin login / auth
  • Drag-drop automation rule builder
  • MongoDB / PostgreSQL support
  • Docker deployment

📄 License

MIT License — see LICENSE for details.


Made with ❤️ by khanzadigithubid

Releases

Packages

Contributors

Languages