Atiendo24 - Agente WhatsApp Multi-tenant com IA
edgarconejo/atiendo24-demo
Agente WhatsApp IA para agendamentos e atendimento automático
Ver no GitHubPlataforma de agent IA para WhatsApp que automatiza agendamentos, consultas e follow-ups através de conversas naturais com Claude. Inclui dashboard em tempo real, integração com Google Calendar, processamento de pagamentos e sistema multi-tenant com autenticação e RBAC completos.
Instalação
npx convez-ai edgarconejo/atiendo24-demo1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Automação de agendamentos via conversa natural no WhatsApp
- Atendimento ao cliente 24/7 com respostas contextualizadas
- Sincronização bidirecional com Google Calendar
- Dashboard multi-tenant para gerenciamento de negócios e leads
- Integração de pagamentos e faturamento (Stripe/Kushki)
Veredito

Solução enterprise-ready de automação de atendimento via WhatsApp com arquitetura multi-tenant completa, autenticação RBAC e integração profunda com Claude. Ideal para agências ou plataformas SaaS de atendimento ao cliente em português, espanhol ou outros idiomas.
README
A tradução para o português deste README ainda está na fila.
Atiendo24
Multi-tenant WhatsApp AI agent platform for businesses in Costa Rica.
Atiendo24 enables businesses to automate customer interactions through an AI-powered WhatsApp agent that handles appointment scheduling, inquiries, and follow-ups — all managed from a real-time dashboard.
Live: https://www.atiendo24.com
Key Features
- AI Conversational Agent — Powered by Anthropic Claude API with tool use. The agent understands context, calls business-specific tools (calendar, CRM, catalog), and responds naturally in Spanish.
- WhatsApp Business API — Full Twilio integration for sending and receiving messages, media, and interactive templates.
- Google Calendar OAuth — Bidirectional sync: appointments created via WhatsApp appear in Google Calendar, and calendar changes reflect in the system.
- Automated Scheduling & Reminders — Clients book, reschedule, or cancel appointments through natural conversation. Cron-based reminders reduce no-shows.
- Multi-Tenant Dashboard — Each business gets its own workspace with real-time conversation monitoring, lead tracking, and appointment management.
- Role-Based Access Control — Clerk authentication with
adminandclientroles. Admins manage all tenants; clients see only their data. - Payment Processing — Stripe and Kushki integration for subscription billing and one-time payments.
- Automated Email Notifications — Transactional emails via Resend for confirmations, reminders, and reports.
- Security Audit — Pre-launch audit completed: 33 issues identified and fixed across authentication, data access, input validation, and API security.
Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 14, TypeScript, Tailwind CSS |
| Database | Supabase PostgreSQL with Row Level Security |
| AI Engine | Anthropic Claude API (claude-sonnet-4-5) with tool use |
| Messaging | Twilio WhatsApp Business API |
| Calendar | Google Calendar API (OAuth 2.0) |
| Auth | Clerk (multi-tenant, RBAC) |
| Payments | Stripe + Kushki |
| Resend | |
| Deployment | Vercel (Edge Functions, Cron Jobs) |
Architecture Overview
┌─────────────┐ ┌──────────────┐ ┌─────────────────┐
│ WhatsApp │────▶│ Twilio │────▶│ Next.js API │
│ User │◀────│ Webhook │◀────│ /api/webhook │
└─────────────┘ └──────────────┘ └────────┬────────┘
│
┌────────▼────────┐
│ AI Engine │
│ Claude API │
│ + Tool Use │
└────────┬────────┘
│
┌──────────────────────────────┼──────────────────────┐
│ │ │
┌────────▼────────┐ ┌─────────▼────────┐ ┌────────▼────────┐
│ Supabase │ │ Google Calendar │ │ Stripe │
│ PostgreSQL │ │ OAuth + Sync │ │ Payments │
│ + RLS │ └──────────────────┘ └─────────────────┘
└────────┬────────┘
│
┌────────▼────────┐
│ Dashboard │
│ (Real-time) │
│ Clerk Auth │
└─────────────────┘
Environment Variables
Create a .env.local file based on .env.example:
# Supabase
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
# Anthropic (Claude AI)
ANTHROPIC_API_KEY=sk-ant-your-api-key
# Stripe
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_your-key
STRIPE_SECRET_KEY=sk_test_your-key
STRIPE_WEBHOOK_SECRET=whsec_your-secret
# Twilio
TWILIO_ACCOUNT_SID=your-account-sid
TWILIO_AUTH_TOKEN=your-auth-token
TWILIO_WHATSAPP_NUMBER=whatsapp:+1234567890
# Google Calendar
GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_your-key
CLERK_SECRET_KEY=sk_test_your-key
# App
NEXT_PUBLIC_APP_URL=http://localhost:3000
Getting Started
# Clone the repository
git clone https://github.com/yourusername/portfolio-demo.git
cd portfolio-demo
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.local
# Fill in your API keys in .env.local
# Run the development server
npm run dev
# Open http://localhost:3000
Security
A comprehensive security audit was completed before launch:
- 33 issues identified and resolved across authentication flows, data access controls, input validation, and API endpoint protection.
- All database queries enforce Row Level Security (RLS) — every query is scoped to the authenticated tenant's
client_id. - API routes validate input, sanitize user data, and enforce rate limits.
- Webhook endpoints verify signatures (Twilio, Stripe) before processing.
Other Projects
| Project | Description | Link |
|---|---|---|
| AdPipe | AI-powered advertising pipeline and campaign management | adpipe.io |
| Pregnalyze | AI pregnancy companion with personalized health insights | pregnalyze.com |
| Atiendo24 | Multi-tenant WhatsApp AI agent platform | atiendo24.com |
License
Private project. Code samples in this repository are for demonstration purposes only.