Home
Softono
WhatsApp-AI-Job-Assistant-Bot

WhatsApp-AI-Job-Assistant-Bot

Open source Python
37
Stars
29
Forks
0
Issues
1
Watchers
5 months
Last Commit

About WhatsApp-AI-Job-Assistant-Bot

WorqNow – AI-Powered Job Search Assistant for WhatsApp A clean open-source demo of a WhatsApp job assistant that searches jobs via multiple APIs, understands natural language queries, and generates professional CVs using HTML β†’ PDF

Platforms

Web Self-hosted

Languages

Python

πŸ“± WorqNow – WhatsApp AI Job Assistant (Public Demo)

A clean public demo of a WhatsApp-based AI Job Assistant built using FastAPI.
This demo showcases:

  • WhatsApp webhook handling
  • Intent recognition
  • Job search example (mocked)
  • CV builder example (mocked)
  • Structured conversation flow
  • Clean single-file architecture

⚠️ NOTE:
This is a safe demo version. The real production WorqNow bot contains:

  • Real job APIs (Remotive / JSearch)
  • MongoDB user storage
  • PDF CV generator
  • WhatsApp media uploads
  • Daily alerts scheduler
  • Advanced NLU + fuzzy matching
  • Onboarding & subscription engine
  • User preference tracking
  • Business logic

Those features are intentionally removed from this public demo.


✨ Features (Demo Version)

  • πŸ”— WhatsApp Webhook Receiver
  • 🧠 Simple Intent Detection
  • πŸ” Mock Job Search Flow
  • πŸ“ Mock CV Builder (Q&A Flow)
  • πŸ’¬ Typing Indicator (simulated)
  • πŸ—‚ Clean Structure
  • ⚑ FastAPI Backend
  • πŸ›‘ Safe and GitHub-friendly

πŸ—‚ Project Structure

worqnow-demo/
β”‚
β”œβ”€β”€ main.py               # Full demo logic (single file)
β”œβ”€β”€ README.md             # Project documentation
β”œβ”€β”€ .env.example          # Demo verify token
β”œβ”€β”€ module/
|   └── university-advisor # Various university details for students that want to study more
|
β”œβ”€β”€ sample_payloads/
β”‚   β”œβ”€β”€ incoming_message.json
β”‚   └── status_update.json
β”‚
└── templates/
    └── cv_demo.html      # Minimal CV layout (demo)

πŸš€ Getting Started

1️⃣ Clone the Repository

git clone https://github.com/<your-username>/worqnow-demo
cd worqnow-demo

2️⃣ Install Dependencies

pip install fastapi uvicorn python-multipart

(No databases or external APIs needed for this demo.)


πŸ”§ Environment Setup

Create your .env file:

cp .env.example .env

.env content:

VERIFY_TOKEN=DEMO_TOKEN

Used only for webhook verification.


▢️ Run the Server

uvicorn main:app --reload --port=8000

Visit:

http://localhost:8000/webhook?hub.verify_token=DEMO_TOKEN&hub.challenge=123

If everything works, you’ll see:

123

πŸ§ͺ Testing Incoming Messages

Send this JSON using Postman/curl:

{
  "entry": [{
    "changes": [{
      "value": {
        "messages": [{
          "from": "234801000000",
          "text": { "body": "search frontend jobs" }
        }]
      }
    }]
  }]
}

Your terminal will print the simulated job results.


🎯 Supported Demo Commands

Command What It Does
search UI/UX Returns mock job listings
create cv Starts CV builder demo
profile Shows demo profile
help Shows available demo commands
feedback Records mock feedback

🧩 Additional Demo Files

templates/cv_demo.html

A minimal HTML CV layout (demo only).

sample_payloads/

Realistic WhatsApp payloads for learning how Webhooks work.


πŸ† Purpose of This Demo

This repository is designed to:

  • Demonstrate WhatsApp automation with FastAPI
  • Serve as a safe open-source portfolio project
  • Show my architecture skills
  • Help others learn how WhatsApp Cloud API works

The real production WorqNow bot remains private.


πŸ“ License

MIT License β€” free to use, modify, and learn from.