# daveebbelaar/python-whatsapp-bot

Build AI WhatsApp Bots with Pure Python

Repository: https://github.com/daveebbelaar/python-whatsapp-bot
Canonical: https://ross.abutalabs.com/products/python-whatsapp-bot
Homepage: https://www.datalumina.com
Language: Python
License: MIT
License Family: permissive
Topics: ai, flask, llm, openai, python, whatsapp
Last push: 2024-08-07T15:01:45+00:00

## Health v2 (maintenance only)
Score: 27/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 75
- inputs: {"age_days": 1059, "days_push": 756, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1526, forks 849 (observed 2026-08-28T04:04:58.424986+00:00)

## What it is
A tutorial-style repository and starter code for building AI-powered WhatsApp bots in pure Python using the Meta WhatsApp Cloud API, Flask, and OpenAI. It walks through sending messages, configuring webhooks, securing payloads, and integrating LLM-generated responses.

## Use cases
- build a whatsapp chatbot in python
- integrate openai with whatsapp messages
- receive whatsapp messages via webhooks
- send automated whatsapp replies with the meta cloud api
- learn to build an ai assistant on whatsapp
- secure and validate whatsapp webhook payloads

## When to choose
- you want a guided, code-first introduction to the WhatsApp Cloud API in Python
- you need a minimal Flask-based starting point for an LLM-backed WhatsApp bot
- you prefer pure Python over heavier bot frameworks

## When to avoid
- you need a production-grade, batteries-included bot framework with multi-channel support
- you want a no-code or low-code bot builder
- you target platforms other than WhatsApp

## Facets
- artifact type: learning-resource
- maturity: active
- function: chatbot, webhook, llm-inference, http-server, sdk
- domain: chatbots, large-language-models, messaging-platforms, tutorials, developer-tools
- platform: python, self-hosted
- tags: whatsapp, whatsapp-cloud-api, openai, flask, tutorial, meta-api, bot-framework, ai-agents, web-server

## Member repositories
- daveebbelaar/python-whatsapp-bot (main) score 27

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.424986+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:36.748788+00:00, confidence not recorded.
  - readme: https://github.com/daveebbelaar/python-whatsapp-bot (fetched 2026-08-28T04:04:58.424986+00:00, sha 48107e630767)
  - homepage: https://www.datalumina.com (fetched 2026-08-29T11:34:09.761594+00:00, sha 054ab5425b42)
- Data as of 2026-08-30T08:39:29.467469+00:00.
