AI Operations Assistant for a Marketing Agency
A full-stack AI operations employee combining a custom CRM, automated document workflows, and a persistent-memory Telegram bot.
The Challenge
Build an AI assistant capable of operating as a real agency team member:
- Client communication in Telegram
- Document generation (invoices, contracts, completion certificates)
- Custom CRM portal with client access
- Routine workflow automation
- Persistent memory and context across sessions
The Solution
Multi-Agent Architecture
A primary coordinator agent (Claude Opus) orchestrates specialized sub-agents:
- Client Bot: client communication and inbound request intake
- Optimizer: daily operational analysis and improvement proposals
- Security: continuous security checks and auditing
AI-Powered Telegram Bot
- Semantic Cache (Redis): sub-second answers for recurring questions
- RAG: indexed knowledge base built from internal agency documents
- Web Search: live information lookup when needed
- Voice Messages: speech-to-text and text-to-speech via Whisper + TTS
CRM Portal
- Telegram-based authentication
- Tochka Bank API integration for invoices and payments
- Full history of client documents and active projects
Results
- 1 day from concept to live production
- 6 services running in production
- 24/7 continuous assistant availability
Tech Stack
Claude Opus · OpenClaw · Next.js 15 · PocketBase · Redis · Telegram Bot API · Whisper · PM2