← Back to context

Comment by jeanlucas

1 year ago

I'm building tools for my own community on WhatsApp, from a simple bot to summarize texts and give some simple statistics to full on subscriptions through WhatsApp itself.

Yes, I'm aware I relying on WhatsApp and that it is a risk.

This is cool! What types of stats? Can you give more detail on the types of tools?

  • Sure, as a community manager of a technical group I want to:

    * Track most active users in a period (day/week/month)

    * Track which users post/react the most

    * Know (and now it is possible, but not implemented) who is 'lurking' just reading messages

    * Summarize content and frequently asked questions to help users in the future

    * Check which channels (groups inside a WhatsApp community) are most active and how many messages were posted in each channel in a specific period (day/week/month)

    * Track (external) links posted to communities, how common they were, which users posted these links

    --

    The tools:

    - A WhatsApp bot capturing all events in the group (reactions, messages, etc)

    - A (same) WhatsApp bot to onboard new users in the community, check your membership, talk to

    - A web application where the community member can check their membership + admin panel for me to check the stats mentioned above, think of it like a circle.so but built for my specific case.

    --

    The tech stack:

    1/ a WhatsApp instance running on web, I'm doing this because WhatsApp oficial APIs do not support the "communities" -> I use Z-api [1] but you can use something like Baileys and self host [2]

    2/ Elixir running on a simple machine

    3/ OpenAI/Claude for summarization and topic extraction

    [1] Z-API https://www.z-api.io/ [2] Baileys https://github.com/WhiskeySockets/Baileys