Africa/Casablanca
ProjectsJanuary 28, 2024

24/7 AI Bot Platform with SaaS Dashboard and Multi-Bot Workflows

image
This project required more than a simple script. The client needed a 24/7 service to process multiple workflows using OpenAI. I developed a small SaaS platform with a Python backend and a custom dashboard for full control. The system ingests data from multiple Google Sheets, processes it with AI, and handles different tasks automatically, all while giving the client visibility and control.
  • Custom SaaS Dashboard: Built a lightweight full-stack interface with real-time control over prompts, bot types, and task monitoring. Integrated Sentry for tracking and stability.
  • Multi-Bot Architecture: Created different bot modes to cover a range of tasks:
    • Autoposter: Publishes content directly to WordPress blogs.
    • Rewriter: Takes existing content and rewrites it with AI to create unique articles.
    • Query Processor: Answers spreadsheet queries using OpenAI.
  • Data Ingestion: Pulls data from multiple Google Sheets, processes each item, and updates results automatically.
  • User-Controlled Prompts: Allows the client to edit and customize prompts directly from the dashboard.
  • Python (FastAPI): For backend services and API integration.
  • Sentry: For the internal frontend SaaS dashboard.
  • Google Sheets API: To read and write data dynamically.
  • OpenAI API: Core AI engine for content generation and rewriting.
  • WordPress API: For automated publishing.
  • Sentry: To monitor performance and catch runtime issues.
The challenge was ensuring data was successfully posted to WordPress, as multiple WordPress instances were hosted differently. This required custom handling to use the WordPress REST API effectively while avoiding being blocked by rate limits or security measures. The result was a stable, flexible, and client-friendly automation platform. It gave the client a central place to control prompts, run bots, and publish or rewrite content at scale. The feedback spoke for itself:
"Youssef did a fantastic job, his communication is spot on during the whole process, from initial briefing to the completion of the project. Another great aspect of working with him is the obvious love/passion he has for his work. I would recommend this guy to everyone who is looking for a A+++ Python developer! Thanks Ayman, we'll be hiring you again whenever we need another solution!"Bram Vermolen, Founder of Space'M Online This project highlights experience in backend automation, SaaS design, and multi-service integration with a focus on usability and performance.

Related projects