Back to Portfolio

AI Executive Agents Ecosystem in n8n

An intelligent automation system that integrates multiple agents (email, calendar, search, and contacts) using natural language interactions via Telegram.

This project demonstrates how AI agents can collaborate seamlessly through a central executive interface, automating email and calendar tasks, managing contacts, and retrieving information using APIs — all through text and voice commands sent from Telegram.

🤖 Agent Overview

Executive Agent JR

Central coordinator. Interprets user commands, selects the right agent, and orchestrates tool execution.

Executive Agent JR Interface

Email Agent

Manages email operations (send, reply, label, delete, draft) using Gmail API.

Email Agent Interface

Calendar Agent

Manages Google Calendar (create, update, delete events, generate Meet links).

Calendar Agent Interface

System Architecture

This multi-agent system is built using the n8n automation framework and integrates with multiple tools via APIs. Each agent operates autonomously but can also be orchestrated by the central Executive Agent JR for complex tasks.

AI Agents System Architecture

Simulation: Real-world Use Cases

Below are simulated interactions between the user and the Executive Agent JR via Telegram. These show how voice or text commands trigger automated workflows:

Scheduling Workflow

Send a quick email

Search news

Try the AI Agent

Click the button below to start a conversation with the Executive Agent via Telegram. You can ask it questions, request automations, or test its multi-agent capabilities.

The chat is ready! Click the button above to open Telegram and start your conversation with @JRondonBot.

🧠 Technologies Used

Frameworks & Tools

  • n8n (automation and orchestration)
  • LangChain Tools Agent framework
  • OpenAI GPT + Anthropic Claude
  • Google APIs: Gmail, Calendar, Sheets
  • Telegram Bot API
  • SerpAPI (news and info search)
  • Google Sheets (contact memory)

Additional Features

  • Voice-to-text transcription (Speech-to-Text)
  • JSON parsing & conditional logic
  • Memory system (Simple Memory per session)

🧩 Capabilities by Agent

Executive Agent JR

  • Acts as main user interface
  • Selects tools and agents based on the input
  • Supports both voice and text
  • Routes data between tools
  • contact_tool: Query contacts in Google Sheets
  • contact_tool_update: Create/update contacts
  • calendarTool: Connect to Calendar Agent
  • emailTool: Connect to Email Agent
  • serpapi: Search for news and updated data
  • calculator: Solve formulas

Email Agent

  • Compose, send, reply
  • Add labels, draft, or delete messages
  • Mark as unread/read
  • Send Email: Send new emails
  • Email Reply: Reply to emails
  • Label Emails: Tag messages
  • Delete Message: Remove emails
  • Create Draft: Save drafts
  • Get Emails: Retrieve messages
  • Get Labels: List tags
  • contact_tool: Check contacts before sending

Calendar Agent

  • Create/Update/Delete events
  • Add attendees
  • Generate Google Meet links
  • Create Event: Schedule new events
  • Create Event with Attendee: Include participants
  • Create Meet: Generate Google Meet link
  • Update Event: Modify existing events
  • Delete Event: Remove events
  • Get Events: List upcoming events
  • contact_tool: Verify participant information

🔄 Agent Integration Matrix

From To Purpose
Executive Agent JR Email Agent Compose and send emails
Executive Agent JR Calendar Agent Schedule events
Executive Agent JR Google Sheets Manage contact data
Executive Agent JR SerpAPI Search external info

🧠 AI Models Applied

AI Engine Usage
OpenAI GPT Understand & generate structured responses
Anthropic Claude Natural email generation
LangChain Agent Agent coordination & tool selection

Interested in a personalized automation ecosystem?

Let's connect to discuss how this automation ecosystem can be customized for your team or organization.

Connect on LinkedIn Send Email
View on GitHub Return to Portfolio
× Enlarged architecture diagram