AI-Powered Retro Console Assistant
detail.loadingPreview
Automate tasks and gather information using an AI agent with various tools.
About This Workflow
This n8n workflow leverages Langchain's AI Agent node to create a conversational assistant capable of interacting with various tools. The agent is designed to be cynical and dry in its responses, and it can utilize tools like news search, stock market queries, X (Twitter) searches, date/time retrieval, Telegram messaging, Gmail inbox checks, Google Calendar event searches, and RSS feed reading. The workflow is triggered by a webhook and responds via another webhook, facilitating integration with external systems or a custom console interface.
Key Features
- AI Agent Core: Utilizes Langchain's
agentnode for natural language understanding and tool invocation. - Multi-Tool Support: Integrates with:
- News Search (implicit in system message)
- Stock Market (Marketstack)
- X (Twitter) Search
- Date and Time Tool
- Telegram Messaging
- Gmail Inbox Search
- Google Calendar Events
- RSS Feed Reader (Clarin Newspaper)
- Conversational Memory: Employs
memoryBufferWindowfor maintaining context within a session. - Flexible Input/Output: Triggered via webhook (
Console In) and responds via webhook (Console out). - Customizable System Prompt: The AI agent's behavior and capabilities are defined by a detailed system message, including specific instructions for rate limiting X searches and handling different tool requests.
- Credential Management: Designed to use external credentials for services like Google Gemini, Twitter, Marketstack, Telegram, and Gmail.
How To Use
-
Setup Credentials: Ensure you have configured credentials for:
- Google Gemini API (
@n8n/n8n-nodes-langchain.lmChatGoogleGemini) - Twitter/X API (
n8n-nodes-base.twitterTool) - Marketstack API (
n8n-nodes-base.marketstackTool) - Telegram API (
n8n-nodes-base.telegramTool) - Gmail API (
n8n-nodes-base.gmailTool) - Google Calendar API (
n8n-nodes-base.googleCalendarTool)
- Google Gemini API (
-
Configure Webhooks: The workflow is triggered by the
Console Inwebhook. You will need to provide the webhook URL in your external application or trigger. -
Trigger the Workflow: Send a POST request to the
Console Inwebhook URL. The request body should contain a JSON payload, for example:{ "prompt": "What's the latest news about AI?", "sessionId": "user123" }
or
{ "prompt": "check my unread emails", "sessionId": "user123" }
-
AI Agent Interaction: The
AI Agentnode will process thepromptfrom the incoming request. It will use the configuredsystemMessageto understand the user's intent and select the appropriate tool. -
Tool Execution: If the agent decides to use a tool, it will be invoked. For example, if the prompt is "latest news about AI", the
AI Agentmight trigger a news search tool (if implemented and configured in the prompt). If the prompt is "search X for n8n updates", it will use theSearch Tweetsnode. -
Memory Management: The
Simple Memorynode (memoryBufferWindow) helps the agent remember previous interactions within asessionId. -
Response: The
AI Agent's final response will be sent to theConsole outnode, which then responds to the initial webhook request.
Apps Used
Workflow JSON
{
"id": "9ba0fab0-7778-4255-b66d-29fd2d4ab115",
"name": "AI-Powered Retro Console Assistant",
"nodes": 22,
"category": "AI",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 9ba0fab0-7778...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Build an AI Documentation Expert Chatbot with Gemini RAG
This n8n workflow automates the creation of an AI-powered expert chatbot capable of answering questions based on your documentation. It intelligently ingests, cleans, and processes your knowledge base, preparing it for a Retrieval Augmented Generation (RAG) pipeline with Google Gemini.
Generate Multilingual Image Captions and Overlay
This workflow generates captions for images using Google Gemini and overlays them onto the image, with support for multilingual output.
LangChain Workflow Retriever Example
Demonstrates using LangChain's Retriever QA Chain to query data retrieved from another workflow.