Akshen Doke

Logo

ML Engineer | AWS Certified | Certified Scrum Product Owner

View My GitHub Profile

← Back to Portfolio

WhatsApp Fact Checker Bot

Project Status Tech AI

🎯 Overview

AI-powered WhatsApp bot that detects and debunks misinformation in real-time using Claude and Perplexity APIs. Built to combat the spread of false information in local communities.

πŸ” Problem Statement

Misinformation spreads rapidly through WhatsApp groups, especially in local communities where fact-checking resources are limited. This leads to:

πŸ’‘ Solution

Built an automated fact-checking bot that:

  1. Receives messages via WhatsApp Business API
  2. Analyzes content using Claude for context understanding
  3. Fact-checks claims using Perplexity’s real-time search
  4. Returns verified information with sources
  5. Handles high-volume traffic through MAKE.com orchestration

πŸ—οΈ Architecture

WhatsApp Message β†’ Webhook β†’ MAKE.com β†’ Claude API (Analysis) 
                                       ↓
                              Perplexity API (Fact-check)
                                       ↓
                              Response Processing β†’ WhatsApp Reply

πŸ› οΈ Tech Stack

✨ Key Features

🎬 How It Works

  1. User sends message to WhatsApp bot with a claim or question
  2. Webhook triggers MAKE.com workflow
  3. Claude analyzes the message for key claims and context
  4. Perplexity searches for factual information and sources
  5. Response generated with fact-check results and sources
  6. User receives verified information within seconds

πŸš€ Impact

🧠 Challenges & Solutions

Challenge 1: Rate Limiting

Problem: WhatsApp API has strict rate limits
Solution: Implemented queue system with MAKE.com to batch process messages

Challenge 2: Context Understanding

Problem: Short messages lack context
Solution: Used Claude’s advanced reasoning to infer context from minimal information

Challenge 3: Source Reliability

Problem: Not all sources are trustworthy
Solution: Perplexity API prioritizes authoritative sources in its search results

πŸ“ˆ Future Enhancements


Built with ❀️ for safer online communities