Can I Build This WhatsApp Group Bot with n8n?

Hi all! I’m planning a WhatsApp group bot with these features:

  • Answers questions using AI.
  • Detects bad behavior (like insults) and sends private warnings.
  • Tracks warnings and bans users after 3 strikes.

I’m thinking of using n8n since it’s open-source and self-hosted. Is it possible to build this with n8n? If yes, what else do I need to make it work (like APIs, tools, or resources)? Any advice or examples would be awesome. Thanks!