AI-Powered Multi-Service Command Terminal for Gemini - n8n Workflow

Deploy this robust n8n workflow to create an AI console. Use a single n8n trigger command to access Gmail, X/Twitter, news, stocks, and Telegram using a cynical Gemini agent.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Automation Developers: Seeking advanced examples of n8n agent node configuration and tool utilization.

  • Power Users: Who want a unified, text-based interface to query multiple web services (Gmail, X, Stocks, Calendar).

  • Technical Content Writers: Looking for complex n8n templates to demonstrate the power of AI orchestration within the n8n platform.

Overview

This sophisticated n8n workflow transforms a standard webhook call into a powerful, conversational AI command console. Designed to centralize information access, this template eliminates the need to manually check different apps for basic status updates or actions.

When a user sends a prompt, the central AI Agent n8n node, powered by Gemini 2.5 Flash, dynamically determines which specialized tool to use—whether that's searching your Gmail inbox, checking stock prices via Marketstack, or sending a direct message via Telegram. The agent is deliberately configured with a 'short, cynical and dry' personality, providing a unique user experience. This n8n workflow is an excellent example of using AI agents for complex, real-time decision-making and multi-platform interaction. Anyone looking for advanced n8n templates focusing on AI orchestration will find this exceptionally valuable.

How it Works

The execution of this n8n workflow begins with the designated n8n trigger, the Console In webhook.


  1. Trigger Reception: The webhook receives a command query, typically containing a user prompt and a session ID for continuity.

  2. Memory and LLM Integration: The input is immediately routed to the central AI Agent n8n node. This agent connects to the Simple Memory n8n node to maintain conversational context (sessionId) and uses the LLM Gemini 2.5 Flash n8n node as its reasoning engine.

  3. Tool Selection and Execution: Based on the system prompt's instructions, the AI agent analyzes the user's request (e.g., 'What are the news headlines?') and selects the appropriate n8n node tool from its extensive list (e.g., RSS news, Read Gmail, Search Tweets).

  4. Data Retrieval: The selected tool executes the query against the respective service, utilizing dynamic data expressions (like $fromAI) to pass parameters generated by the AI.

  5. Response Generation: The AI Agent receives the data, summarizes or formats it according to its cynical persona and prompt rules (e.g., summarizing 5 news items), and formulates the final response.

  6. Final Output: The response is sent back to the originating system instantly via the Console out n8n node, completing the execution of this complex n8n workflow.

Installation Guide

To deploy this comprehensive n8n template, follow these steps:


  1. Import: Copy the provided n8n workflow JSON code and paste it into your n8n instance using the 'Import from JSON' function.

  2. Activate: Ensure the workflow is set to 'Active'.

  3. Credentials Setup: You must configure credentials for every service used by an n8n node in this workflow, as indicated by the placeholder names (e.g., YOURCREDENTIALID).

Google Gemini API: Set up your API key for the LLM Gemini 2.5 Flash node.
Gmail: Configure OAuth2 credentials for the Read Gmail n8n node.
X/Twitter: Set up OAuth2 credentials for the Search Tweets n8n node.
Marketstack: Configure the API key for Stock info.
Telegram: Set the API token and update the Send Telegram n8n node with your specific chatId.
Google Calendar: Configure OAuth2.

  1. Webhook Endpoint: The Console In n8n trigger exposes a webhook URL. You will use this URL in your application or terminal interface to send commands to the running n8n workflow.

Node Details

This n8n workflow relies on a high concentration of specialized n8n node tools connected to a central AI agent:

Console In (Webhook Trigger): The primary n8n trigger, configured to listen on a unique path and receive commands containing prompt and sessionId data.
AI Agent (Langchain Agent): The control center. It uses specific system instructions (cynical personality, strict rules for news summary and X rate limits) and orchestrates all tool calls. It is connected to the memory and LLM nodes.
LLM Gemini 2.5 Flash (Language Model): The processing core. Used by the agent for reasoning, tool selection, and response generation.
Simple Memory (Memory Node): Maintains context for the conversation, allowing the AI Agent n8n node to understand follow-up questions within the same session ID.
Read Gmail (Gmail Tool): Functions as a tool allowing the agent to search the user's inbox.
Search Tweets (Twitter Tool): Allows the agent to search X (Twitter) using terms dynamically extracted from the user's request. Key Configuration: Includes a warning in the system prompt about strict rate limits.
Stock info (Marketstack Tool): Fetches financial data based on a ticker symbol determined by the AI.
Send Telegram (Telegram Tool): Allows the AI to autonomously send a Telegram message, using text derived from the user input or the output of another tool.
Check Google Calendar (Google Calendar Tool): Searches for upcoming events in the user's calendar.
Date & Time (Date Time Tool): Provides real-time date and time information to the agent.
RSS news (RSS Feed Read Tool): Retrieves headlines from a specified RSS feed (Clarin newspaper).
Console out (Respond to Webhook): The final n8n node responsible for sending the AI Agent's crafted response back to the client system that initiated the n8n trigger.

Related n8n Workflows

Free

Nodes: 13 Nodes
Updated: December 26 2025
View all
Created by

Exploring the intersection of technology, subversion, and creative resistance. My work focuses on TinyML prototypes and LLM projects, pushing the boundaries of AI and embedded systems.

Featured*