Custom LangChain agent written in JavaScript
This workflow has multiple functionalities. It starts with a manual trigger, "When clicking 'Execute Workflow'", that activates two separate paths. The first path takes a preset string "Tell me a joke" and processes it through a custom Language Learning Model (LLM) chain node. This node interacts with an OpenAI node for query processing. The second path takes another preset string "What year was Einstein born?" and passes it to an "Agent" node. This agent further interacts with a Chat OpenAI node and a custom Wikipedia node to produce the required information. The workflow uses both built-in and custom nodes, and integrates with OpenAI for both paths. It's built for experimenting with language models, specifically in the context of conversational agents and information retrieval. Note that to use this template, you need to be on n8n version 1.19.4 or later.
AI data analyst agent and visualization agent for large spreadsheets
Purpose of workflow: This workflow transforms spreadsheet data into an interactive, AI-powered knowledge base that enables users to gain deep insights through natural language queries, searchability, and comparative analysis. How it works: Data Storage & Integration: Spreadsheet data is imported into a no-code database (NocoDB) System connects with an AI data analyst agent Agent accesses table metadata and column information Query Processing: Users input natural language questions AI agent interprets queries and converts them to database filters System retrieves relevant data using filter formulas AI synthesizes responses with analysis and insights Advanced Capabilities: Performs comparative analysis across multiple data points Handles complex multi-part queries Automatically creates visualizations: Visualization AI Agent figures out the data and the chart type and generates professional visualization using Quickchart Step by step setup: Create account on nocodb.com Create table by importing csv, copy table id Create API token https://app.nocodb.com//account/tokens In workflow, settings node, update with table id In NocoDB tool node, setup authentication with API token created in step 3 Specify the workspace and base fields after connecting to NocoDB
Vacation planning agent
Vacation Planning Agent - n8n Workflow Overview This n8n workflow creates an intelligent vacation planning chatbot that helps users find and book the perfect hotel accommodations. The agent acts as a professional travel consultant, systematically gathering travel requirements and providing personalized hotel recommendations through an interactive chat interface. Core Functionality The workflow provides a conversational AI agent that: Conducts structured information gathering through natural conversation Automatically searches for hotels using real-time data from Google Hotels Provides personalized recommendations with detailed hotel information Maintains conversation context throughout the planning process Delivers professional travel consultation in a friendly, accessible format User Experience Flow Initial Interaction Users are greeted with a warm welcome message in German: "Hallo! Ich helfe dir, deinen perfekten Urlaub zu planen. Bitte beanworte mir die folgenden Fragen :)" Information Collection Process The agent systematically collects essential travel details: Destination - City and country/state Travel Dates - Check-in and check-out dates Guest Count - Number of travelers Room Requirements - Number of rooms needed Budget Preferences - Optional price range Automated Hotel Search Once core information is gathered, the agent automatically searches for available accommodations without requiring user permission. Recommendation Delivery Results are presented in a structured format including: Hotel names and star ratings Pricing information Location details Guest ratings and reviews Key amenities and highlights Direct booking links Required Integrations OpenAI API Purpose: Powers the conversational AI agent Model: GPT-4o-mini for cost-effective, intelligent responses Requirement: Valid OpenAI API credentials SerpAPI (Google Hotels) Purpose: Real-time hotel search and pricing data Service: Google Hotels search engine integration Requirement: Active SerpAPI account and API key Key Features Intelligent Conversation Management Maintains conversation context with 20-message memory buffer Handles edge cases like no available hotels or unclear responses Provides alternative suggestions when initial searches yield limited results Flexible Search Parameters Supports location-based searches worldwide Accommodates date range specifications Handles guest count and room quantity requirements Optional budget filtering (min/max price ranges) Currency customization support Professional Presentation Structured hotel recommendation format Clear pricing and availability information Contextual explanations for recommendations Additional destination insights when relevant Use Cases This workflow is ideal for: Travel websites seeking to add AI-powered hotel booking assistance Travel agencies wanting to automate initial consultation processes Hospitality businesses providing customer service automation Personal travel planning applications Customer support for travel-related inquiries User Benefits Time-saving: Eliminates manual hotel research Personalized results: Tailored recommendations based on specific needs Real-time data: Current pricing and availability information Professional guidance: Expert-level travel consultation Seamless experience: Natural conversation flow without complex forms Technical Requirements Essential Services n8n workflow automation platform OpenAI API access (GPT-4o-mini model) SerpAPI account with Google Hotels access Configuration Needs API credential setup for both OpenAI and SerpAPI Webhook endpoint configuration for chat trigger Memory buffer configuration for conversation context Optional Enhancements Custom branding for chat interface Additional language support beyond German greeting Integration with booking platforms for direct reservations Analytics tracking for usage insights
Insert and retrieve data from a table in Stackby
This workflow allows you to insert and retrieve data from a table in Stackby. Set node: The Set node is used to set the values for the name and id fields for a new record. You might want to add data from an external source, for example an API or a CRM. Based on your use-case, add the respective node before the Set node and configure your Set node accordingly. Stackby node: This node appends data from the previous node to a table in Stackby. Based on the values you want add to your table, enter the column names in the Column field. Stackby1 node: This node fetches all the data that is stored in the table in Stackby.
Automated crypto market summaries using Gemini AI and CoinGecko data
Try It Out! The AI Investment Research Assistant (Discord Summary Bot) transforms your Discord server into a professional-grade AI-driven crypto intelligence center. Running automatically every morning, it gathers real-time news, sentiment, and market data from multiple trusted sources — including NewsAPI, Crypto Compare, and CoinGecko — covering the most influential digital assets like BTC, ETH, SOL, BNB, and ADA. An AI Research Analyst Agent then processes this data using advanced reasoning and summarization to deliver a structured Market Intelligence Briefing. Each report distills key market events, sentiment shifts, price movements, and analyst-grade insights, all formatted into a visually clean and actionable message that posts directly to your Discord channel. Whether you’re a fund manager, community owner, or analyst, this workflow helps you stay informed about market drivers — without manually browsing dozens of news sites or data dashboards. --- Detailed Use Cases Crypto Research Teams: Automate daily market briefings across key assets. Investment Communities: Provide daily insights and sentiment overviews directly on Discord. Trading Desks: Quickly review summarized market shifts and performance leaders. DAOs or Fund Analysts: Centralize institutional-style crypto intelligence into your server. --- How It Works Daily Trigger (Schedule Node) – Activates each morning to begin data collection. News Aggregation Layer – Uses NewsAPI (and optionally CryptoPanic or GDELT) to fetch the latest crypto headlines and event coverage. Market & Sentiment Fetch – Collects market metrics via CoinGecko or Crypto Compare, including: 24-hour price change Market cap trend Social sentiment or Fear & Greed index AI Research Analyst (LLM Agent) – Processes and synthesizes all data into a cohesive insight report containing: 🧠 Executive Summary 📊 Top Gainers & Losers 💬 Sentiment Overview 🔍 Analyst Take / Actionable Insight Formatting Layer (Code Node) – Converts the analysis into a Discord-ready structure. Discord Posting Node – Publishes the final Market Intelligence Briefing to a specified Discord channel. --- Setup and Customization Import this workflow into your n8n workspace. Configure credentials: NewsAPI Key – For crypto and blockchain news. CoinGecko / Crypto Compare API Key – For real-time asset data. LLM Credential – OpenAI, Gemini, or Anthropic. Discord Webhook URL or Bot Token – To post updates. Customize the tracked assets in the News and Market nodes (BTC, ETH, SOL, BNB, ADA, etc.). Set local timezone for report delivery. Deploy and activate — your server will receive automated morning briefings. --- Output Format Each daily report includes: 📰 AI Market Intelligence Briefing 📅 Date: October 16, 2025 💰 Top Movers: BTC +2.3%, SOL +1.9%, ETH -0.8% 💬 Sentiment: Moderately Bullish 🔍 Analyst Take: Accumulation signals forming in mid-cap layer-1s. 📈 Outlook: Positive bias, with ETH showing strong support near $2,400. Compact yet rich in insight, this format ensures quick readability and fast decision-making for traders and investors. --- (Optional) Extend This Workflow Portfolio-Specific Insights: Fetch your wallet holdings from AFK Crypto or Zapper APIs for personalized reports. Interactive Commands: Add /compare or /analyze commands for Discord users. Multi-Language Summaries: Auto-translate for international communities. Historical Data Logging: Store briefings in Notion or Google Sheets. Weekly Recaps: Summarize all daily reports into a long-form analysis. --- Requirements n8n Instance (with HTTP Request, AI Agent, and Discord nodes enabled) NewsAPI Key CoinGecko / Crypto Compare API Key LLM Credential (OpenAI / Gemini / Anthropic) Discord Bot Token or Webhook URL --- APIs Used GET https://newsapi.org/v2/everything?q=crypto OR bitcoin OR ethereum OR defi OR nft&language=en&sortBy=publishedAt&pageSize=10 GET https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum,solana&vscurrencies=usd&includemarketcap=true&include24hr_change=true (Optional)* GET https://cryptopanic.com/api/v1/posts/?authtoken=YOURTOKEN&kind=news (Optional)* GET https://api.gdeltproject.org/api/v2/doc/doc?query=crypto&format=json --- Summary The AI Investment Research Assistant (Discord Summary Bot) is your personal AI research analyst — delivering concise, data-backed crypto briefings directly to Discord. It intelligently combines news aggregation, sentiment analysis, and AI reasoning to create actionable market intelligence each morning. Ideal for crypto traders, funds, or educational communities seeking a reliable daily edge — this workflow replaces hours of manual research with one automated, professional-grade summary. --- Our Website: https://afkcrypto.com/ Check our blogs: https://www.afkcrypto.com/blog