Multi-Agent Personal Assistant Orchestration with GPT-4o & WhatsApp

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

  1. Import the ElenaAI.json into n8n.
  2. Configure credentials and environment variables under Settings β†’ Credentials.
  3. Link sub-workflows (Malu, Maria, Mafalda, Marcela, Martina) by updating their Workflow IDs in the main node.
  4. Test via Execute node or send a sample webhook payload.
  5. 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! πŸš€