Back to Templates

Advanced Multi-Agent AI Personal Assistant with 250+ Task Capabilities (WhatsApp + GPT)

Created by

Created by: Electrabot || vansh404

Electrabot

Last update

Last update 12 hours ago

Share


multi-agent AI personal assistant named Donna, designed to handle over 250 tasks across various domains. Donna acts as a central supervisor, delegating requests to specialized sub-agents and ensuring efficient, high-quality execution.


Use Case

This workflow is ideal for individuals or businesses seeking an advanced AI assistant to automate and streamline a wide range of daily operations. From managing personal tasks and communications to handling complex data analysis and content publishing, Donna can significantly boost productivity and efficiency.


What It Does

The workflow operates on a sophisticated "Agent as a tool" multi-agent system design. Here's a breakdown of its core functionalities:

  • Centralized Supervision: Donna, the main agent, receives user requests (currently via WhatsApp) and intelligently determines the most appropriate specialized supervisor agent to handle the task.
  • Specialized Supervisor Agents:
    • Lifestyle Supervisor: Manages personal organization, including meal planning (Notion), task management (Google Tasks), and travel arrangements (flight checks).
    • Publishing Supervisor: Oversees content creation and dissemination, handling social media posts (Facebook, X, LinkedIn, Instagram), image generation/fetching (AI images, stock images), and WordPress content management.
    • Communication Supervisor: Manages all forms of digital communication, including emails (Gmail search, drafting, labeling), Slack messages (sending, checking channels), and X (Twitter) interactions.
    • Productivity Supervisor: Handles a wide array of productivity-related tasks such as calendar management (Google Calendar), file and folder operations (Google Drive), document creation and editing (Google Docs), spreadsheet management (Google Sheets), project tasks (ClickUp), and CRM operations (Zoho CRM).
    • Insights Supervisor: Focuses on data analysis and research, including general web and news searches (DataForSEO, Jina AI Deep Research), SEO analysis (YouTube/Google Trends, keyword research, content analysis, Google My Business), and financial market monitoring.
  • Automated Information Extraction: The workflow can process incoming audio, image, and document files (via WhatsApp trigger), extract relevant information using OpenAI's capabilities (transcription for audio, analysis for images and documents), and then route this data to the appropriate supervisor for further action.
  • Multi-Step Task Execution: Donna and its supervisor agents are designed to handle complex tasks that require multiple steps, ensuring a logical and efficient sequence of operations.
  • Quality Control: The system is built with inherent verification steps, allowing for validation of outputs from sub-agents and requesting revisions if needed.

How to Set It Up

To set up this powerful AI personal assistant, you'll need to configure each component within n8n. Here's a general guide:

  1. n8n Instance: Ensure you have an n8n instance running and accessible.
  2. Sub-Workflow Creation: All sub-workflows (for each individual agent like "Notion Agent," "Travel Agent," etc.) are designed to be created as separate workflows within your n8n instance.
  3. Connecting Sub-Workflows to Parent Agent: For each "Supervisor" and "Agent" node in the main workflow, the workflowId parameter needs to be individually updated to reference the specific ID of the corresponding sub-workflow you created. This establishes the connection between the parent agent and its specialized sub-agent.
  4. Credentials:
    • Notion: Set up Notion API credentials to allow access to your Notion databases (Weekly Plan, Meals, Habit Tracker).
    • Google: Configure Google credentials for Google Tasks, Google Calendar, Google Drive, Google Docs, and Google Sheets. This typically involves enabling the respective APIs in Google Cloud Platform and creating OAuth 2.0 credentials.
    • SearchAPI (Google Flights, Google Finance): Obtain an API key from SearchAPI for flight and financial market data.
    • DataForSEO: Acquire API credentials for DataForSEO to enable Google Search, Google News, Google Trends, Keyword Search Volume, Content Analysis, and Google My Business functionalities.
    • Replicate (Flux 1.1 Pro Ultra): Get an API token from Replicate for AI image generation.
    • Pixabay: Obtain an API key for fetching stock images.
    • Make (Webhooks for Social Media): Replace <ADD MAKE WEBHOOK> placeholders in the social media tools (Facebook, X, Instagram, LinkedIn) with actual webhook URLs from Make (formerly Integromat) scenarios you'll set up to handle the social media posting. You'll need to configure connections to your social media accounts within Make.
    • WordPress: Set up WordPress API credentials for post creation, searching, and user retrieval.
    • Gmail: Configure Gmail API credentials for searching, drafting, and labeling emails.
    • X (Twitter): Set up Twitter API credentials for searching tweets, sending DMs, and getting user info.
    • Slack: Configure Slack API credentials for user/channel data retrieval and message sending.
    • ClickUp: Set up ClickUp API credentials for task management.
    • Zoho CRM: Configure Zoho CRM API credentials for lead and quote management.
    • Airtable: Set up Airtable API credentials for base and record management.
    • Jina AI: Obtain an API key for Jina AI to use its Markdown fetching and Deep Search capabilities.
    • OpenAI: Obtain an API key from OpenAI for the main language model, audio transcription, and image analysis.
    • WhatsApp Business Cloud API: Set up your WhatsApp Business Cloud API with Meta to enable incoming messages and outgoing replies. You'll need to configure the webhook in Meta Developers to point to your n8n WhatsApp Trigger node.
  5. Workflow Import: Import the provided JSON workflow into your n8n instance.
  6. Node Configuration:
    • Sensitive Information: Replace all placeholder values like <ADD KEY> or <ADD MAKE WEBHOOK> and api key with your actual credentials and URLs.
    • Google Drive "HAL" Folder ID: Update the folderId for Google Drive operations (e.g., "Create Basic Text File", "Create Folder", "Search for Files & Folders") with the actual ID of your "HAL" folder in Google Drive. You can find this in the URL when you navigate to the folder in Google Drive.
    • Google Sheets "Household Expenses" Sheet ID and Tab ID: For the "Add to Household Expenses Sheet" node, update the documentId and sheetName with the correct IDs for your "Household Expenses" Google Sheet.
    • Google Analytics Property ID: For Google Analytics nodes, ensure the propertyId is set to your actual Google Analytics 4 Property ID.
    • ClickUp List and Team IDs: For ClickUp nodes, verify team, space, and list IDs are correct for your ClickUp setup.
  7. Activate Workflows: Activate the main "Donna" workflow and all its sub-workflows (the individual agents) in n8n.

This setup will create a powerful and highly integrated AI personal assistant capable of handling a vast array of tasks.