Description
'Elena AI' is a powerful n8n workflow that transforms your automation platform into a full-fledged, multi-agent AI hub. 🤖✨ By combining Redis state management with specialized “tool” sub-workflows, you can build contextual, scalable, and highly personalized conversational automations for WhatsApp, Telegram, email, and more.
🔥 Key Features
- Unified Ingestion 📥
• Webhook trigger for text, audio, image, or document messages
• Automatic extraction of remoteJid
, user ID, and payload metadata
- Stateful Context 🔄
• Redis push/get queue to preserve conversation history
• Seamless handling of follow-ups and multi-turn dialogs
- Dynamic Routing 🔀
• Smart Switch logic directs messages to the right agent workflow
• Agents available:
- 🗓️ Malu: Google Calendar scheduling & reminders
- 💰 Maria: Expense logging & budget tracking in Baserow
- 👥 Mafalda: Contact CRUD operations in Baserow
- 📸 Marcela: Audio transcription & image analysis
- ✉️ Martina: Gmail send/receive & template replies
- Bite-Sized Responses ✂️
• Splits long AI replies into line-by-line messages
• Loop node controls rate & order for best UX
- Flexible Output 📤
• HTTP Request node to deliver text, media, or files
• Customize headers, payloads, and endpoints
🎯 Use Cases
- AI-powered customer support bots
- Automated lead qualification & follow-up
- Intelligent scheduling & reminders
- Expense approval workflows
- Multimedia content analysis & response
📋 Requirements
- n8n ≥ 1.0 with Webhook, Redis, SplitInBatches, HTTP Request & Workflow nodes
- Redis server (connection credentials in n8n)
- Service accounts / API keys for:
- Google Calendar (OAuth2)
- Baserow (API token)
- Gmail (OAuth2)
- Messaging API endpoint (HTTP)
- Environment variables set in n8n:
REDIS_HOST
, REDIS_PORT
, REDIS_PASSWORD
GOOGLE_CLIENT_ID
, GOOGLE_CLIENT_SECRET
BASEROW_API_TOKEN
GMAIL_CLIENT_ID
, GMAIL_CLIENT_SECRET
MSG_API_URL
, MSG_API_KEY
🚀 Quick Start
- Import the
ElenaAI.json
into n8n.
- Configure credentials and environment variables under Settings → Credentials.
- Link sub-workflows (Malu, Maria, Mafalda, Marcela, Martina) by updating their Workflow IDs in the main node.
- Test via Execute node or send a sample webhook payload.
- Deploy by exposing the Webhook endpoint to your messaging platform.
Unlock seamless, AI-driven conversations across any channel—get MavenBot 2.0 running in minutes! 🚀