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

AI Operations Agent for a Multi-Property Hotel Portfolio

AI Operations Agent for a Multi-Property Hotel Portfolio

Designed and shipped the first live agent of a multi-agent AI operations platform for a hotel management company: self-hosted orchestration, reverse Cloudflare tunnels, full CI/CD, on infrastructure I own end to end.
Automated Daily AI Report, Built for a Non-Technical Owner

Automated Daily AI Report, Built for a Non-Technical Owner

A self-serve daily reporting tool for an Amazon seller: Google Sheets in, an AI-written summary out, delivered by email on a schedule she controls herself. Built end to end on Cloudflare Workers for $5/month.
Kasb: A Desktop Earnings Tracker for a Fellow Freelancer

Kasb: A Desktop Earnings Tracker for a Fellow Freelancer

A local-first desktop app that turns a messy Upwork CSV export into real profit and loss: gross earnings, fees, connects ROI, and client breakdowns, with zero cloud and zero recurring cost.
The Legal Layer: AI Contract Review for a Legal Directory Platform

The Legal Layer: AI Contract Review for a Legal Directory Platform

Backend engineering on a members-only AI tool that explains a contract in plain English before you sign it, live at justisconnection.com/legal-layer.
Daily Property Listing Feed from a Major Online Marketplace

Daily Property Listing Feed from a Major Online Marketplace

An Apify actor that pulls new property listings from a large online marketplace every day, enriches each one with council-level data, and feeds a live Google Sheet with zero duplicate rows.