
AI Automation
Ultimate Media Agent: Multi-Agent AI System
AI Automation
Ultimate Media Agent: Multi-Agent AI System
A sophisticated hierarchical multi-agent AI system for automated content creation, research, and social media management. Built on n8n, this workflow features a central orchestrator (Ultimate Media Agent) that intelligently delegates tasks to three specialized AI agents: Creative Agent (for image/video generation), Web Research Agent (for information gathering via Perplexity and Tavily), and Social Media Search Agent (for monitoring Instagram, YouTube, and TikTok). The system integrates with Google Sheets for data input/output and Slack for notifications, creating a complete end-to-end automation pipeline that can be triggered via webhooks or scheduled events.

- 1Trigger Activation - The workflow initiates via two entry points: (a) Webhook receives HTTP POST requests from external systems for real-time event-driven automation, or (b) Schedule Trigger activates at predetermined times for recurring tasks
- 2Data Retrieval - The "Get row(s) in sheet" node reads prompts, parameters, and task specifications from Google Sheets, serving as the primary data source for the workflow
- 3Data Processing - The "Limit" node restricts the number of rows processed per execution, while "Edit Fields" transforms and prepares the data into the correct format for AI consumption
- 4AI Orchestration - The Ultimate Media Agent (central orchestrator) receives the processed data and analyzes the requirements. It has access to Model, Memory, and Tool connections, enabling it to make intelligent decisions about task distribution
- 5Task Delegation - Based on the requirements, the Ultimate Media Agent assigns specific tasks to specialized sub-agents: Creative Agent for media generation, Web Research Agent for information gathering, or Social Media Search Agent for platform monitoring
- 6Creative Content Generation - The Creative Agent, powered by OpenAI Chat Model 10, executes media tasks using its tools: Edit Image, Create Image, Create Video, and Image to Video transformations
- 7Web Research Execution - The Web Research Agent, using OpenAI Chat Model 2, leverages Perplexity and Tavily search tools to gather, synthesize, and analyze information from across the web
- 8Social Media Monitoring - The Social Media Search Agent, with its OpenAI Chat Model, queries Instagram, YouTube, and TikTok directly to gather real-time, platform-specific data for trend analysis and content discovery
- 9Result Compilation - The Ultimate Media Agent collects all outputs from the specialized agents, synthesizes the information, and organizes the results into a coherent format
- 10Data Logging - Results are automatically saved back to Google Sheets via "Append or update row in sheet," creating a complete audit trail and enabling easy data analysis
- 11Notification Dispatch - Success notifications are sent via Slack's "Send a message!" node, while errors trigger a separate "Send a message" notification, ensuring stakeholders are always informed
- 12Workflow Completion - The process completes and the workflow returns to a waiting state, ready for the next trigger activation




- Hierarchical Multi-Agent Architecture: Central orchestrator intelligently delegates to specialized agents, enabling parallel processing and efficient resource utilization
- End-to-End Automation: Handles everything from data input (Google Sheets) to content creation, research, and notification delivery (Slack)
- Multi-Modal Content Generation: Creative Agent can create and edit images, generate videos, and transform media formats using AI-powered tools
- Comprehensive Research Capabilities: Web Research Agent leverages Perplexity and Tavily for deep web intelligence, while Social Media Search Agent monitors Instagram, YouTube, and TikTok
- Flexible Triggering: Supports both event-driven (webhook) and time-based (schedule) automation for maximum flexibility
- Complete Data Lifecycle: Integrates Google Sheets for input/output, creating a seamless data management pipeline
- Intelligent Error Handling: Separate success and error paths ensure proper notification and logging of all workflow outcomes
- Scalable & Extensible: Built on n8n, allowing easy addition of new agents, tools, or integrations as needs evolve


🧠 Ultimate Media Agent (Orchestrator)
The central orchestrator that receives processed data, analyzes requirements, and intelligently delegates tasks to specialized agents. It makes strategic decisions about task distribution, then compiles and synthesizes all results into coherent outputs, enabling efficient parallel processing.


⚡ Dual Trigger System
Two flexible entry points: Webhook Trigger accepts HTTP POST requests for real-time, event-driven automation, while Schedule Trigger enables time-based automation with cron-like scheduling. Both feed into the same data pipeline, supporting various automation scenarios.


📊 Google Sheets Integration
Seamless data management through Google Sheets for both input and output. Reads prompts and parameters from sheets, processes them through AI agents, and automatically logs results back, creating a complete data lifecycle with easy monitoring and analysis.


🎨 Creative Agent
Powered by OpenAI Chat Model 10 for intelligent content generation. Equipped with media tools: Edit Image, Create Image, Create Video, and Image to Video transformations. Maintains conversational memory for coherent, context-aware creative output.


🔍 Web Research Agent
Powered by OpenAI Chat Model 2 to process research requests. Integrates with Perplexity (AI-enhanced web search with citations) and Tavily (real-time web research) to efficiently retrieve, synthesize, and analyze data from across the web for content creation, fact-checking, or market research.


📱 Social Media Search Agent
Powered by an OpenAI Chat Model to process search queries. Integrates directly with Instagram, YouTube, and TikTok to gather real-time, platform-specific information for competitive analysis, trend monitoring, content discovery, and social listening campaigns.


💬 Slack Notifications
Intelligent notification system with separate success and error paths. Successful completions trigger notifications with results and summaries, while errors trigger dedicated messages with diagnostic information, ensuring proper visibility and rapid response to issues.
n8n Workflow Engine
the central nervous system of the automation platform, providing visual workflow design, event handling, and seamless integration between all system components
OpenAI Chat Models
The intelligent backbone of the system, enabling conversational AI, content generation, and intelligent decision-making across all workflow agents.
Google Sheets Integration
Data management layer for the workflow, handling input parameters, storing results, and enabling easy data manipulation and monitoring
Slack Integration
Native Slack integration for workflow notifications, enabling real-time success and error alerts to keep teams informed about workflow status, results, and issues.
n8n Workflow Engine
the central nervous system of the automation platform, providing visual workflow design, event handling, and seamless integration between all system components
OpenAI Chat Models
The intelligent backbone of the system, enabling conversational AI, content generation, and intelligent decision-making across all workflow agents.
Google Sheets Integration
Data management layer for the workflow, handling input parameters, storing results, and enabling easy data manipulation and monitoring
Slack Integration
Native Slack integration for workflow notifications, enabling real-time success and error alerts to keep teams informed about workflow status, results, and issues.









