Preparou Aprovou is a complete and innovative intelligent chatbot system designed to serve the road safety and driving education sector in Mozambique by simplifying the learning process for driving rules, traffic laws, and safe driving practices.

AI-powered WhatsApp assistant that helps users learn and understand driving rules, traffic signs, penalties, priority rules, and road safety best practices based on official driving manuals and road legislation.

With intelligent conversation capabilities, the system automatically provides personalized responses using advanced AI, maintains conversation context through memory management, and categorizes user interactions by type and priority. The system suggests appropriate subscription tiers based on user profiles and usage patterns.

Preparou Aprovou offers comprehensive subscription management with dynamic pricing, automatic payment processing via M-Pesa and E-Mola, and flexible subscription upgrades. It enables efficient reminder scheduling, proactive follow-up messages, and generates detailed usage metrics. The platform also includes contextual advertising integration, location sharing capabilities, and audio message generation for enhanced user engagement.

In addition, the system features a modern conversational interface with integrated WhatsApp messaging for real-time interaction. Built for digital transformation in education, Preparou Aprovou represents the future of driving education in Mozambique, with a robust subscription model that ensures sustainable growth and local market presence.

This platform was built with modern technologies, following best practices for scalability, maintainability, and user experience.

Architecture

We implemented rigorous development practices to maintain high code quality and reliability.

Core Technologies:

  • TypeScript for static typing and enhanced development safety
  • Convex as the backend-as-a-service platform for real-time data synchronization and serverless functions
  • AI SDK and OpenAI for LLM-powered text processing and conversational AI
  • OpenAI Guardrails for content moderation and safety
  • Next.js as the full-stack framework for building API routes and server-side logic
  • Zod for runtime type validation and schema definition
  • M-Pesa API and PaySuite for payment processing and subscription management
  • WhatsApp Business API for messaging integration

Key Features:

  • Intelligent chat functionality for real-time user interaction via WhatsApp
  • Memory management system for personalized, contextual conversations
  • Multi-tier subscription system (TIER_1, TIER_2, TIER_3) with dynamic pricing
  • Automatic payment processing via M-Pesa and E-Mola integration
  • Audio message generation voice responses
  • Image processing for analyzing traffic signs and road scenarios
  • Reminder scheduling and proactive follow-up messages
  • Usage tracking and daily limit management
  • Contextual advertising integration for relevant service recommendations
  • Location sharing and request capabilities
  • Reaction support for quick acknowledgments
  • Rate limiting and security measures
  • Automated cron jobs for follow-ups, reminders, and weekly messages
@americo
@americo
About
About
Posts
Posts
Work
Work
Ask
Ask
Contact
Contact