Universal-AI-Action-Agent
This project implements a fully autonomous AI Agent workflow in n8n that transforms simple chat messages into real actions. When a user sends a message, the AI Agent analyzes the intent using the Gemini Chat Model and determines whether the user wants to send an email, retrieve the latest news, or schedule a meeting. The agent then activates the appropriate tool: Gmail for composing and sending emails, News API for fetching up‑to‑date headlines across any category, and Google Calendar for generating meeting invitations with precise details. A built‑in memory module helps the agent maintain context across interactions, enabling more natural and intelligent conversations. The final result is returned to the user through the chat interface, creating a smooth, end‑to‑end automation system that behaves like a personal AI assistant capable of handling communication, information retrieval, and scheduling tasks effortlessly.
How It Works
- Chat Trigger Node
- Receives incoming user messages and passes the text into the workflow for processing.
- AI Agent Node
- Uses an LLM to interpret the user’s intent, decide whether the request is about sending an email, fetching news, or creating a meeting, and then selects the correct tool automatically.
- Gmail / News API / Google Calendar Nodes
- Executes the required action: sends emails through Gmail, retrieves real‑time news via the News API, or creates meeting invitations in Google Calendar.
- Response Node
- Sends a confirmation or result back to the user, completing the conversational loop.
AI Agent.

