{
  "workflow": {
    "id": 3236,
    "name": "Get real-time NFT insights via Telegram with OpenSea & AI (Main interface)",
    "views": 701,
    "recentViews": 0,
    "totalViews": 701,
    "createdAt": "2025-03-20T14:59:24.722Z",
    "description": "**Track NFT market trends, collections, and trades in real time—directly from Telegram!** This master workflow integrates the **OpenSea API**, **GPT-4o-mini AI**, and **Telegram**, allowing users to request natural-language NFT analytics and receive structured insights instantly.\n\nWhether you're an NFT trader, collector, or market analyst, this Telegram-native assistant brings you **on-demand market intelligence—powered by OpenSea and AI.**\n\n&gt; ⚠️ **Important:** This workflow **requires three sub-workflows** to function properly. These must be downloaded and published in your n8n instance.\n\n---\n\n## 🧩 Required Sub-Workflows  \nTo activate this template, download and publish the following workflows:\n\n1. **[Analyze NFT Market Trends with AI-Powered OpenSea Analytics Agent Tool](https://n8n.io/workflows/3237-analyze-nft-market-trends-with-ai-powered-opensea-analytics-agent-tool)**  \n2. **[Get Real-time NFT Insights with OpenSea AI-Powered NFT Agent Tool](https://n8n.io/workflows/3238-get-real-time-nft-insights-with-opensea-ai-powered-nft-agent-tool)**  \n3. **[Get Real-time NFT Marketplace Insights with OpenSea Marketplace Agent Tool](https://n8n.io/workflows/3239-get-real-time-nft-marketplace-insights-with-opensea-marketplace-agent-tool)**  \n\n📌 You can also find these by visiting my Creator profile:  \n👉 **[https://n8n.io/creators/don-the-gem-dealer/](https://n8n.io/creators/don-the-gem-dealer/)**\n\n---\n\n## **How It Works**  \n1. A **Telegram bot** receives a message (e.g., “Top sales for Azuki”).  \n2. The AI router in this workflow determines which agent should process the request:  \n   - **Marketplace Agent** → Listings, offers, and orders  \n   - **Analytics Agent** → Sales volume, price trends, wallet behavior  \n   - **NFT Agent** → Metadata, traits, ownership info  \n3. The selected agent queries the **OpenSea API** using your API key.  \n4. The response is processed using **GPT-4o-mini**, formatted, and sent back via Telegram.\n\n---\n\n## **What You Can Do with This Agent**  \n🔹 **Discover undervalued NFTs** based on trait rarity and price  \n🔹 **Track market trends** for any collection in real time  \n🔹 **Compare collection performance** by volume, sales, and listings  \n🔹 **Analyze flipping trends and whale activity** across wallets  \n🔹 **Retrieve NFT ownership and metadata** instantly  \n🔹 **View trait-specific offers** for insight into rarity-driven demand  \n\n---\n\n## **Example Queries You Can Use**  \n✅ _\"What are the cheapest NFTs in the Pudgy Penguins collection?\"_  \n✅ _\"Get sales volume for Azuki and CloneX over the last 30 days.\"_  \n✅ _\"Who owns Bored Ape #456?\"_  \n✅ _\"Show the best current offers for Moonbirds.\"_  \n\n---\n\n## **Set Up Steps**  \n1. **Create a Telegram Bot**  \n   - Use [@BotFather](https://t.me/BotFather) to create your bot and get the API token.  \n2. **Get an OpenSea API Key**  \n   - Apply for your API key via the [OpenSea Developer Portal](https://docs.opensea.io/reference/api-keys).  \n3. **Configure n8n Credentials**  \n   - Add your **Telegram Bot** and **OpenSea API Key** under *Credentials* in n8n.  \n4. **Download Required Sub-Workflows**  \n   - Install and publish the following workflows:  \n     - [Analytics Agent Tool](https://n8n.io/workflows/3237-analyze-nft-market-trends-with-ai-powered-opensea-analytics-agent-tool)  \n     - [NFT Agent Tool](https://n8n.io/workflows/3238-get-real-time-nft-insights-with-opensea-ai-powered-nft-agent-tool)  \n     - [Marketplace Agent Tool](https://n8n.io/workflows/3239-get-real-time-nft-marketplace-insights-with-opensea-marketplace-agent-tool)  \n5. **Deploy & Test**  \n   - Chat with your Telegram bot. Try: _\"Compare BAYC and Azuki volume\"_ or _\"Show listings for Doodles.\"_\n\n---\n\n## ✅ Final Notes  \n&gt; If your queries don’t respond correctly, make sure all three sub-workflows are installed and **published**, not just saved.\n\n---\n\n🚀 **Dominate the NFT market with AI-powered OpenSea intelligence—right from your Telegram inbox!**\n",
    "workflow": {
      "id": "wi2ZWKN9XPR0jkvn",
      "meta": {
        "instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6",
        "templateCredsSetupCompleted": true
      },
      "name": "OpenSea AI-Powered Insights via Telegram",
      "tags": [],
      "nodes": [
        {
          "id": "0b6ec133-7023-4c6a-ae53-78168211545c",
          "name": "When chat message received",
          "type": "@n8n/n8n-nodes-langchain.chatTrigger",
          "position": [
            840,
            140
          ],
          "webhookId": "befa3e52-7b57-4832-9f88-b2c430244595",
          "parameters": {
            "options": {}
          },
          "typeVersion": 1.1
        },
        {
          "id": "787a9e8d-e67d-4947-90d1-8e3284de7b39",
          "name": "Telegram Trigger",
          "type": "n8n-nodes-base.telegramTrigger",
          "position": [
            840,
            -160
          ],
          "webhookId": "f9267d32-3860-4f02-99b3-493c4cac36ed",
          "parameters": {
            "updates": [
              "message"
            ],
            "additionalFields": {}
          },
          "credentials": {
            "telegramApi": {
              "id": "credential-id",
              "name": "telegramApi Credential"
            }
          },
          "typeVersion": 1.1
        },
        {
          "id": "2e10802a-48d7-4b82-afe0-b9e5f93498bf",
          "name": "Adds SessionId",
          "type": "n8n-nodes-base.set",
          "position": [
            1160,
            -160
          ],
          "parameters": {
            "options": {},
            "assignments": {
              "assignments": [
                {
                  "id": "b5c25cd4-226b-4778-863f-79b13b4a5202",
                  "name": "sessionId",
                  "type": "string",
                  "value": "={{ $json.message.chat.id }}"
                }
              ]
            },
            "includeOtherFields": true
          },
          "typeVersion": 3.4
        },
        {
          "id": "8dd2dcdd-7cd5-4381-b1a5-66a2b6a69111",
          "name": "Opensea Supervisor Brain",
          "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
          "position": [
            1380,
            160
          ],
          "parameters": {
            "model": {
              "__rl": true,
              "mode": "list",
              "value": "gpt-4o-mini"
            },
            "options": {}
          },
          "credentials": {
            "openAiApi": {
              "id": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "b2b59481-afbb-4cb6-98b7-c26bf51ead76",
          "name": "Opensea Supervisor Memory",
          "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
          "position": [
            1580,
            160
          ],
          "parameters": {},
          "typeVersion": 1.3
        },
        {
          "id": "52dde53b-cb42-4ae2-b573-d9356d7ec3f3",
          "name": "OpenSea Analytics Agent Tool",
          "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
          "position": [
            1760,
            160
          ],
          "parameters": {
            "name": "OpenSea_Analytics_Agent_Tool",
            "workflowId": {
              "__rl": true,
              "mode": "list",
              "value": "yRMCUm6oJEMknhbw",
              "cachedResultName": "JayaFamily Assistant — OpenSea Analytics Agent Tool"
            },
            "workflowInputs": {
              "value": {
                "message": "={{ $fromAI(\"message\",\"Populate this with a relevant message to this subagent\")}}",
                "sessionId": "={{ $json.sessionId }}"
              },
              "schema": [
                {
                  "id": "message",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "message",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "sessionId",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "sessionId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            }
          },
          "typeVersion": 2
        },
        {
          "id": "596517b1-4f1e-4285-b8ee-cdf8108c4138",
          "name": "OpenSea NFT Agent Tool",
          "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
          "position": [
            1940,
            160
          ],
          "parameters": {
            "name": "OpenSea_NFT_Agent_Tool",
            "workflowId": {
              "__rl": true,
              "mode": "list",
              "value": "ZBH1ExE58wsoodkZ",
              "cachedResultName": "JayaFamily Assistant — OpenSea NFT Agent Tool"
            },
            "workflowInputs": {
              "value": {
                "message": "={{ $fromAI(\"message\",\"Populate this with a relevant message to this subagent\")}}",
                "sessionId": "={{ $json.sessionId }}"
              },
              "schema": [
                {
                  "id": "message",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "message",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "sessionId",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "sessionId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            }
          },
          "typeVersion": 2
        },
        {
          "id": "643c5c81-ba21-4afa-9c78-70cd6cde08f7",
          "name": "OpenSea Marketplace Agent Tool",
          "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
          "position": [
            2120,
            160
          ],
          "parameters": {
            "name": "OpenSea_Marketplace_Agent_Tool",
            "workflowId": {
              "__rl": true,
              "mode": "list",
              "value": "brRSLvIkYp3mLq0K",
              "cachedResultName": "JayaFamily Assistant — OpenSea Marketplace Agent Tool"
            },
            "workflowInputs": {
              "value": {
                "message": "={{ $fromAI(\"message\",\"Populate this with a relevant message to this subagent\")}}",
                "sessionId": "={{ $json.sessionId }}"
              },
              "schema": [
                {
                  "id": "message",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "message",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "sessionId",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "sessionId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            }
          },
          "typeVersion": 2
        },
        {
          "id": "069cb9bc-96a4-4539-b7c5-b06d29968ec6",
          "name": "Telegram",
          "type": "n8n-nodes-base.telegram",
          "position": [
            2080,
            -120
          ],
          "webhookId": "9841771a-821a-4a40-a9e8-fb8a29eaa9f3",
          "parameters": {
            "text": "={{ $json.output }}",
            "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
            "additionalFields": {
              "appendAttribution": false
            }
          },
          "credentials": {
            "telegramApi": {
              "id": "credential-id",
              "name": "telegramApi Credential"
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "cc852b55-0214-4276-9c2f-755d9cb3fc28",
          "name": "OpenSea AI-Powered Insights Agent",
          "type": "@n8n/n8n-nodes-langchain.agent",
          "position": [
            1600,
            -120
          ],
          "parameters": {
            "text": "={{ $json.message.text }}",
            "options": {
              "systemMessage": "**🌍 Role & Capabilities**  \nThe **OpenSea AI-Powered Insights Agent** is an advanced **AI data analyst** with **full access to OpenSea’s API**, capable of executing **multi-step queries, data aggregation, and deep research** into NFT market trends, asset tracking, and real-time trading insights.  \n\nIt leverages **three powerful agent tools** to provide **actionable insights and decision-making intelligence**:  \n1. **Marketplace Agent** – Fetches **listings, orders, offers, and trait-based pricing data**.  \n2. **Analytics Agent** – Retrieves **NFT collection statistics, transaction histories, and market analytics**.  \n3. **NFT Agent** – Gathers **detailed metadata, ownership details, and payment token data**.  \n\n🧠 **This AI system can process multiple tools together, conduct research between datasets, and synthesize powerful responses to user queries.**  \n\n---\n\n## **🛠 Actionable Insights & Multi-Step Queries**\nThe agent can **combine** multiple tools, process collected data, and execute deep research for **smarter responses**.  \n\n🔹 **How this works**:\n- 🏛 **Compare multiple collections** _(e.g., floor price, sales volume)_  \n- 🎯 **Track NFT flipping trends** _(e.g., which wallets buy/sell the most)_  \n- 🔥 **Identify undervalued NFTs** _(e.g., listings below average trait value)_  \n- 📊 **Aggregate sales data over time** _(e.g., 7-day vs. 30-day collection trends)_  \n- 👥 **Analyze whale movements** _(e.g., track large NFT purchases)_  \n- 💡 **Predict market shifts** _(e.g., sudden spikes in buy offers)_  \n\n📢 **Example Action Queries:**  \n- _“Find me the top 5 most undervalued Azuki NFTs based on recent sales.”_  \n- _“Compare the last 3 months of trading volume between Moonbirds and CloneX.”_  \n- _“Track all wallets that recently sold a Bored Ape Yacht Club NFT.”_  \n- _“List the top 10 wallets making the most NFT purchases this week.”_  \n\n---\n\n## **🚀 Available Tools & Proper Usage**  \n\n### **1️⃣ Marketplace Agent Tools (Orders, Listings, and Offers)**\nProvides **real-time marketplace data** for **NFTs, collections, and traits**.  \n\n🔹 **How to use these tools correctly**:\n- Always input **a valid OpenSea collection slug** (found in OpenSea URLs).  \n- Ensure **blockchain names** match OpenSea’s supported chains.  \n- Use **pagination (`next` cursor)** for large datasets.  \n\n| **Tool**                        | **Description** |\n|----------------------------------|----------------|\n| 🛒 **Get All Listings (by Collection)**  | Fetches all active listings for a collection. |\n| 💰 **Get All Offers (by Collection)**  | Retrieves all valid offers for a collection. |\n| 🔎 **Get Best Listing (by NFT)**  | Finds the **cheapest** active listing for a specific NFT. |\n| 🏆 **Get Best Listings (by Collection)** | Retrieves the **cheapest** active listings for an entire collection. |\n| 💲 **Get Best Offer (by NFT)** | Finds the **highest** offer for a specific NFT. |\n| 🏷 **Get Collection Offers** | Retrieves all active **collection-wide** offers. |\n| 🎯 **Get Item Offers** | Fetches **individual** offers, excluding criteria-based offers. |\n| 📋 **Get Listings (by Chain & Protocol)** | Lists all active orders filtered by blockchain and protocol. |\n| 🔗 **Get Order (by Hash)** | Retrieves details for a **specific order** using its hash. |\n| 🎨 **Get Trait Offers** | Retrieves **all trait-based offers** in a collection. |\n\n✅ **Critical Notes for Marketplace Queries**:\n1. **Only use OpenSea’s supported chains** _(see the full list below)_.  \n2. `\"polygon\"` is **not allowed** – use `\"matic\"` instead.  \n3. **Seaport is the only supported protocol** for order-related queries.  \n4. **Fixed protocol address** for Get Order:  \n   - `0x+1234567890f116a894984e2db1123eb395`  \n5. **Pagination**: Use `next` parameter for large datasets.  \n\n---\n\n### **2️⃣ Analytics Agent Tools (Market Insights & Transactions)**\nDelivers **historical and real-time analysis** on NFT collections, user transactions, and blockchain events.  \n\n🔹 **How to use these tools correctly**:\n- Always specify **a valid collection slug** or **wallet address**.  \n- Filter transactions by **blockchain, event type, and timeframe**.  \n- Use **pagination** when fetching large datasets.  \n\n| **Tool**                          | **Description** |\n|------------------------------------|----------------|\n| 📊 **Get Collection Stats** | Fetches **market cap, floor price, total volume, and sales** of an NFT collection. |\n| 🏷 **Get Events (All Market Activity)** | Retrieves **all NFT events** including sales, transfers, listings, bids, and redemptions. |\n| 👤 **Get Events (by Account)** | Lists **all NFT-related transactions** for a specific **wallet address**. |\n| 🏛 **Get Events (by Collection)** | Fetches all transactions for **an entire NFT collection**. |\n| 🎟 **Get Events (by NFT)** | Retrieves the **full transaction history** of a single NFT. |\n\n✅ **Critical Notes for Analytics Queries**:\n1. Use **valid blockchain names** _(see list below)_ to filter results.  \n2. Set **event types**: _sale, transfer, listing, bid, redemption_.  \n3. Use `before` and `after` timestamps _(Unix format)_ to filter historical data.  \n4. **Pagination**: Use `next` for large datasets.  \n\n---\n\n### **3️⃣ NFT Agent Tools (Metadata, Ownership, and Smart Contracts)**\nProvides **in-depth details** about individual NFTs, collections, and payment tokens.  \n\n🔹 **How to use these tools correctly**:\n- Ensure **wallet addresses and contract addresses** are **valid**.  \n- For **NFT metadata**, provide **blockchain name + contract address + token ID**.  \n\n| **Tool**                        | **Description** |\n|----------------------------------|----------------|\n| 🔍 **Get Account** | Fetches **profile details** of an OpenSea user. |\n| 🏛 **Get Collection** | Retrieves **metadata, fees, and social links** of an NFT collection. |\n| 📜 **Get Collections** | Lists **all NFT collections** with optional filters (creator, blockchain, etc.). |\n| 🏗 **Get Contract** | Retrieves **smart contract details** for an NFT collection. |\n| 🎭 **Get NFT** | Fetches **metadata, traits, rarity, and ownership** of a single NFT. |\n| 👥 **Get NFTs (by Account)** | Lists **all NFTs owned** by a given wallet address. |\n| 📦 **Get NFTs (by Collection)** | Retrieves **multiple NFTs** from a specific collection. |\n| 🔗 **Get NFTs (by Contract)** | Lists all NFTs for a **given smart contract**. |\n| 💵 **Get Payment Token** | Retrieves **details about an ERC-20 payment token**. |\n| 🎨 **Get Traits** | Lists **all available traits** in a collection. |\n\n✅ **Critical Notes for NFT Queries**:\n1. **Use correct blockchain names** _(see full list below)_.  \n2. **Contract addresses** must be **valid** and exist on OpenSea.  \n3. **NFT Token ID is required** for fetching metadata.  \n4. **For payment tokens, ensure the correct blockchain name is used.**  \n\n---\n\n## **🚀 Supported Blockchains**\nTo avoid errors, **only use the following blockchain names**:\n\n✅ **Valid Chains for OpenSea Queries**:\n- `amoy`\n- `ape_chain`\n- `ape_curtis`\n- `arbitrum`\n- `arbitrum_nova`\n- `arbitrum_sepolia`\n- `avalanche`\n- `avalanche_fuji`\n- `b3`\n- `b3_sepolia`\n- `baobab`\n- `base`\n- `base_sepolia`\n- `bera_chain`\n- `blast`\n- `blast_sepolia`\n- `ethereum`\n- `flow`\n- `flow_testnet`\n- `klaytn`\n- `matic` _(use instead of \"polygon\")_\n- `monad_testnet`\n- `mumbai`\n- `optimism`\n- `optimism_sepolia`\n- `sei_testnet`\n- `sepolia`\n- `shape`\n- `solana`\n- `soldev`\n- `soneium`\n- `soneium_minato`\n- `unichain`\n- `zora`\n- `zora_sepolia`\n\n❌ **Do NOT use unsupported chain names!**  \n\n---\n\n## **🛠 How the AI Agent Works**\n1. **Understands your query** and determines the correct API tool.  \n2. **Executes the API request** with valid parameters.  \n3. **Processes and structures results** into **readable insights**.  \n4. **Combines multiple data sources** for research-driven responses.  \n5. **Allows follow-up questions** for deeper market insights.  \n\n🎯 **Use this AI for market intelligence, trend analysis, and NFT investment strategies!** 🚀"
            },
            "promptType": "define"
          },
          "typeVersion": 1.8
        },
        {
          "id": "087fad83-0a96-42f6-92b1-06685bfc13f4",
          "name": "Sticky Note",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -940,
            -1380
          ],
          "parameters": {
            "color": 2,
            "width": 1320,
            "height": 1780,
            "content": "# OpenSea AI-Powered Insights System (n8n) - Full Integration Guide\n\n## 🚀 System Overview\nThe **OpenSea AI-Powered Insights System** is a fully automated n8n workflow that connects multiple agent tools to deliver **real-time NFT market insights via Telegram**. This system consists of **four interconnected workflows**:\n\n1. **OpenSea AI-Powered Insights via Telegram** (Main Supervisor)  \n2. **OpenSea Analytics Agent Tool** (Market Trends & Collection Stats)  \n3. **OpenSea Marketplace Agent Tool** (Live Listings, Offers, and Orders)  \n4. **OpenSea NFT Agent Tool** (Metadata, Ownership & Payment Tokens)\n\nThese agents work **in sync** under the **Supervisor AI**, which determines the appropriate agent(s) to use based on user queries. Responses are structured and sent back via **Telegram** for real-time insights.\n\n---\n\n## 🔗 **System Architecture**\n\n### **🔹 Core Workflow: OpenSea AI-Powered Insights via Telegram**\n- Acts as the **brain and command center**.\n- Receives queries from **Telegram Chat**.\n- Determines which **agent(s)** should process the request.\n- Aggregates and formats results.\n- Sends structured responses back to the Telegram user.\n\n### **🔹 Supporting Agent Tools**\nEach **agent tool** is a separate n8n workflow with a specific function:\n\n1️⃣ **OpenSea Analytics Agent** → Retrieves **market trends, sales history, transaction data**.  \n2️⃣ **OpenSea Marketplace Agent** → Fetches **NFT listings, offers, best prices, and order details**.  \n3️⃣ **OpenSea NFT Agent** → Retrieves **NFT metadata, ownership records, traits, and payment token data**.\n\nThe **Supervisor AI (Telegram Workflow)** calls these agent workflows as needed.\n\n---\n\n## 🛠 **Setup Instructions**\n\n### **1️⃣ Setting Up the Main Supervisor (Telegram Workflow)**\n1. **Create a Telegram Bot** using [BotFather](https://t.me/botfather).\n2. **Copy the API Key** and connect it to n8n’s **Telegram Trigger Node**.\n3. Set up the **Chat Message Received Node** to capture user queries.\n4. Configure the **Session ID Node** to track conversation history.\n5. Link the **AI Supervisor Brain (GPT-4o Mini)** to process messages.\n6. Connect it to the **three agent tools** using **Tool Workflow Nodes**.\n7. Send output back to Telegram using the **Telegram Node**.\n\n✅ **This setup enables Telegram interaction with all OpenSea agents.**\n\n### **2️⃣ Configuring the OpenSea Agent Tools**\nEach agent tool must be linked to the main workflow:\n\n**A. OpenSea Analytics Agent**\n- Retrieves NFT market trends & transaction history.\n- Requires **collection slug, wallet address, or transaction filters**.\n\n**B. OpenSea Marketplace Agent**\n- Fetches NFT listings, offers, and orders.\n- Requires **collection slug, token ID, or order hash**.\n\n**C. OpenSea NFT Agent**\n- Retrieves NFT metadata, traits, and ownership data.\n- Requires **wallet address, contract address, or token ID**.\n\n### **3️⃣ Connecting the Agents to the Main Workflow**\nEach **Tool Workflow Node** inside the **Telegram Supervisor Workflow** must be configured to pass the query **to the correct agent tool**.\n\nExample:\n- User asks: **“Find the cheapest listing for Bored Ape #1234”** → **Marketplace Agent is activated**.\n- User asks: **“Retrieve all NFTs owned by 0xABC...”** → **NFT Agent is activated**.\n- User asks: **“Compare last 3 months’ sales volume of Azuki and Moonbirds”** → **Analytics Agent is activated**.\n\n---\n\n\n"
          },
          "typeVersion": 1
        },
        {
          "id": "c9dd93eb-44bc-4825-a092-8a8b8e3b07bb",
          "name": "Sticky Note1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            660,
            -1380
          ],
          "parameters": {
            "color": 5,
            "width": 840,
            "height": 1060,
            "content": "## 🔄 **Data Flow & Execution Process**\n\n### **📩 Step 1: Receiving a Query**\n1. User sends a request via Telegram.\n2. The **Telegram Trigger** captures the message.\n3. The **Session ID Node** assigns a conversation ID.\n\n### **📊 Step 2: Processing the Query**\n4. The **AI Supervisor Brain** (GPT-4o Mini) interprets the request.\n5. It decides which **agent tool** should process the query.\n\n### **🔗 Step 3: Activating the Correct Agent Tool**\n6. The appropriate **Tool Workflow Node** is triggered (Analytics, Marketplace, or NFT Agent).\n7. The **selected agent processes the query** and fetches data from OpenSea’s API.\n\n### **📤 Step 4: Sending the Response**\n8. The response is structured by the AI Supervisor.\n9. The **Telegram Node** sends the formatted answer to the user.\n\n✅ **This ensures that all agents work together seamlessly.**\n\n---\n\n## 🔥 **Example Queries & Expected Outputs**\n\n### **🛒 OpenSea Marketplace Queries**\n| **User Query** | **Agent Used** | **Expected Response** |\n|--------------|--------------|----------------|\n| _“Show me the 5 cheapest listings for Azuki.”_ | Marketplace Agent | List of Azuki NFTs with prices & links. |\n| _“What’s the highest offer on Bored Ape #4567?”_ | Marketplace Agent | Highest active bid with buyer info. |\n| _“Fetch the details of order 0x123abc...”_ | Marketplace Agent | Order breakdown (price, seller, expiration). |\n\n### **📊 OpenSea Analytics Queries**\n| **User Query** | **Agent Used** | **Expected Response** |\n|--------------|--------------|----------------|\n| _“Compare 7-day sales volume of BAYC & MAYC.”_ | Analytics Agent | Chart showing sales data. |\n| _“List all transactions for CloneX in the last 24 hours.”_ | Analytics Agent | Table of sales & transfers. |\n| _“Track all wallets that sold a Doodle in the last week.”_ | Analytics Agent | List of wallets & sold NFTs. |\n\n### **🎭 OpenSea NFT Metadata Queries**\n| **User Query** | **Agent Used** | **Expected Response** |\n|--------------|--------------|----------------|\n| _“Retrieve metadata for Cool Cat #7890.”_ | NFT Agent | NFT description, image, and attributes. |\n| _“Which NFTs does 0x123... own on Ethereum?”_ | NFT Agent | List of NFTs held by the wallet. |\n| _“Show me all NFTs from contract 0xABC...”_ | NFT Agent | All tokens linked to the contract. |\n\n✅ **This demonstrates how each agent provides unique insights.**\n\n---\n\n"
          },
          "typeVersion": 1
        },
        {
          "id": "5f8504a0-283a-408e-9768-b4b90088e687",
          "name": "Sticky Note2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            1800,
            -1380
          ],
          "parameters": {
            "color": 3,
            "width": 800,
            "height": 720,
            "content": "## ⚠️ **Critical Setup Notes & Troubleshooting**\n\n🔹 **1. Ensure Correct API Credentials**\n- Each agent must be connected to OpenSea’s API.\n- Use **HTTP Header Authentication** with an **API Key**.\n\n🔹 **2. Check for Invalid Chain Names**\n- ❌ `\"polygon\"` is **not valid** → Use `\"matic\"` instead.\n- ✅ **Only supported blockchains should be used**.\n\n🔹 **3. Maintain Session Tracking**\n- Ensure **sessionId** is passed correctly between workflows.\n- This prevents **context loss** in multi-step queries.\n\n🔹 **4. Use Pagination for Large Datasets**\n- For queries returning **100+ results**, use the `next` parameter.\n\n---\n\n## 🚀 **Final Thoughts**\nThe **OpenSea AI-Powered Insights System** is designed for **NFT investors, collectors, and analysts** seeking **real-time, structured market data** through Telegram. By integrating multiple agent tools, it provides a **powerful, automated way to analyze NFTs, transactions, and market trends**.\n\n**Need Help?**  \n🌐 Connect on LinkedIn:  \n🔗 [http://linkedin.com/in/donjayamahajr](http://linkedin.com/in/donjayamahajr)\n"
          },
          "typeVersion": 1
        }
      ],
      "active": false,
      "pinData": {},
      "settings": {
        "executionOrder": "v1"
      },
      "versionId": "184b0a31-6aee-4b9b-adc5-ef06e6a3f3f0",
      "connections": {
        "Adds SessionId": {
          "main": [
            [
              {
                "node": "OpenSea AI-Powered Insights Agent",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Telegram Trigger": {
          "main": [
            [
              {
                "node": "Adds SessionId",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "OpenSea NFT Agent Tool": {
          "ai_tool": [
            [
              {
                "node": "OpenSea AI-Powered Insights Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Opensea Supervisor Brain": {
          "ai_languageModel": [
            [
              {
                "node": "OpenSea AI-Powered Insights Agent",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "Opensea Supervisor Memory": {
          "ai_memory": [
            [
              {
                "node": "OpenSea AI-Powered Insights Agent",
                "type": "ai_memory",
                "index": 0
              }
            ]
          ]
        },
        "When chat message received": {
          "main": [
            [
              {
                "node": "OpenSea AI-Powered Insights Agent",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "OpenSea Analytics Agent Tool": {
          "ai_tool": [
            [
              {
                "node": "OpenSea AI-Powered Insights Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "OpenSea Marketplace Agent Tool": {
          "ai_tool": [
            [
              {
                "node": "OpenSea AI-Powered Insights Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "OpenSea AI-Powered Insights Agent": {
          "main": [
            [
              {
                "node": "Telegram",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 45,
    "workflowInfo": {
      "nodeCount": 13,
      "nodeTypes": {
        "n8n-nodes-base.set": {
          "count": 1
        },
        "n8n-nodes-base.telegram": {
          "count": 1
        },
        "n8n-nodes-base.stickyNote": {
          "count": 3
        },
        "@n8n/n8n-nodes-langchain.agent": {
          "count": 1
        },
        "n8n-nodes-base.telegramTrigger": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.chatTrigger": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.lmChatOpenAi": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.toolWorkflow": {
          "count": 3
        },
        "@n8n/n8n-nodes-langchain.memoryBufferWindow": {
          "count": 1
        }
      }
    },
    "status": "published",
    "user": {
      "name": "Don Jayamaha Jr",
      "username": "don-the-gem-dealer",
      "bio": "With 12 years of experience as a Blockchain Strategist and Web3 Architect, I specialize in bridging the gap between traditional industries and decentralized technologies. My expertise spans tokenized assets, crypto payment integrations, and blockchain-driven market solutions.",
      "verified": true,
      "links": [
        "https://www.linkedin.com/in/donjayamahajr/"
      ],
      "avatar": "https://gravatar.com/avatar/95f70084b3fec5ed68a61eef6dc6128dfb085d865a02ed631d0853d2730696bf?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 38,
        "icon": "fa:pen",
        "name": "n8n-nodes-base.set",
        "codex": {
          "data": {
            "alias": [
              "Set",
              "JS",
              "JSON",
              "Filter",
              "Transform",
              "Map"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/",
                  "icon": "🏭",
                  "label": "Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"
                },
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/",
                  "icon": "📈",
                  "label": "Automatically pulling and visualizing data with n8n"
                },
                {
                  "url": "https://n8n.io/blog/database-monitoring-and-alerting-with-n8n/",
                  "icon": "📡",
                  "label": "Database Monitoring and Alerting with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/",
                  "icon": "🔗",
                  "label": "How to build a low-code, self-hosted URL shortener in 3 steps"
                },
                {
                  "url": "https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/",
                  "icon": "⚙️",
                  "label": "Automate your data processing pipeline in 9 steps"
                },
                {
                  "url": "https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/",
                  "icon": "👥",
                  "label": "How to get started with CRM automation (with 3 no-code workflow ideas"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/",
                  "icon": "📱",
                  "label": "Building an expense tracking app in 10 minutes"
                },
                {
                  "url": "https://n8n.io/blog/the-ultimate-guide-to-automate-your-video-collaboration-with-whereby-mattermost-and-n8n/",
                  "icon": "📹",
                  "label": "The ultimate guide to automate your video collaboration with Whereby, Mattermost, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/learn-to-build-powerful-api-endpoints-using-webhooks/",
                  "icon": "🧰",
                  "label": "Learn to Build Powerful API Endpoints Using Webhooks"
                },
                {
                  "url": "https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/",
                  "icon": "📈",
                  "label": "How a Membership Development Manager automates his work and investments"
                },
                {
                  "url": "https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/",
                  "icon": "📈",
                  "label": "A low-code bitcoin ticker built with QuestDB and n8n.io"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/",
                  "icon": "🎖",
                  "label": "Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"
                },
                {
                  "url": "https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/",
                  "icon": "🛵",
                  "label": "How Goomer automated their operations with over 200 n8n workflows"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Data Transformation"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Edit Fields"
        },
        "iconData": {
          "icon": "pen",
          "type": "icon"
        },
        "displayName": "Edit Fields (Set)",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 49,
        "icon": "file:telegram.svg",
        "name": "n8n-nodes-base.telegram",
        "codex": {
          "data": {
            "alias": [
              "human",
              "form",
              "wait",
              "hitl",
              "approval"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/",
                  "icon": "🤬",
                  "label": "Create a toxic language detector for Telegram in 4 step"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/world-poetry-day-workflow/",
                  "icon": "📜",
                  "label": "Celebrating World Poetry Day with a daily poem in Telegram"
                },
                {
                  "url": "https://n8n.io/blog/using-automation-to-boost-productivity-in-the-workplace/",
                  "icon": "💪",
                  "label": "Using Automation to Boost Productivity in the Workplace"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/",
                  "icon": "🤟",
                  "label": "Creating scheduled text affirmations with n8n"
                },
                {
                  "url": "https://n8n.io/blog/creating-telegram-bots-with-n8n-a-no-code-platform/",
                  "icon": "💬",
                  "label": "Creating Telegram Bots with n8n, a No-Code Platform"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/telegram/"
                }
              ]
            },
            "categories": [
              "Communication",
              "HITL"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "HITL": [
                "Human in the Loop"
              ]
            }
          }
        },
        "group": "[\"output\"]",
        "defaults": {
          "name": "Telegram"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNjYgNjYiPjx1c2UgeGxpbms6aHJlZj0iI2EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9ImEiIG92ZXJmbG93PSJ2aXNpYmxlIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0ibm9uZSI+PHBhdGggZmlsbD0iIzM3YWVlMiIgZD0iTTAgMzJjMCAxNy42NzMgMTQuMzI3IDMyIDMyIDMyczMyLTE0LjMyNyAzMi0zMlM0OS42NzMgMCAzMiAwIDAgMTQuMzI3IDAgMzIiLz48cGF0aCBmaWxsPSIjYzhkYWVhIiBkPSJtMjEuNjYxIDM0LjMzOCAzLjc5NyAxMC41MDhzLjQ3NS45ODMuOTgzLjk4MyA4LjA2OC03Ljg2NCA4LjA2OC03Ljg2NGw4LjQwNy0xNi4yMzctMjEuMTE5IDkuODk4eiIvPjxwYXRoIGZpbGw9IiNhOWM2ZDgiIGQ9Im0yNi42OTUgMzcuMDM0LS43MjkgNy43NDZzLS4zMDUgMi4zNzMgMi4wNjggMGw0LjY0NC00LjIwMyIvPjxwYXRoIGQ9Im0yMS43MyAzNC43MTItNy44MDktMi41NDVzLS45MzItLjM3OC0uNjMzLTEuMjM3Yy4wNjItLjE3Ny4xODYtLjMyOC41NTktLjU4OCAxLjczMS0xLjIwNiAzMi4wMjgtMTIuMDk2IDMyLjAyOC0xMi4wOTZzLjg1Ni0uMjg4IDEuMzYxLS4wOTdjLjIzMS4wODguMzc4LjE4Ny41MDMuNTQ4LjA0NS4xMzIuMDcxLjQxMS4wNjguNjg5LS4wMDMuMjAxLS4wMjcuMzg2LS4wNDUuNjc4LS4xODQgMi45NzgtNS43MDYgMjUuMTk4LTUuNzA2IDI1LjE5OHMtLjMzIDEuMy0xLjUxNCAxLjM0NWMtLjQzMi4wMTYtLjk1Ni0uMDcxLTEuNTgyLS42MS0yLjMyMy0xLjk5OC0xMC4zNTItNy4zOTQtMTIuMTI2LTguNThhLjM0LjM0IDAgMCAxLS4xNDYtLjIzOWMtLjAyNS0uMTI1LjEwOC0uMjguMTA4LS4yOHMxMy45OC0xMi40MjcgMTQuMzUyLTEzLjczMWMuMDI5LS4xMDEtLjA3OS0uMTUxLS4yMjYtLjEwNy0uOTI5LjM0Mi0xNy4wMjUgMTAuNTA2LTE4LjgwMSAxMS42MjktLjEwNC4wNjYtLjM5NS4wMjMtLjM5NS4wMjMiLz48L2c+PC9zeW1ib2w+PC9zdmc+"
        },
        "displayName": "Telegram",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 6,
            "name": "Communication"
          },
          {
            "id": 28,
            "name": "HITL"
          }
        ]
      },
      {
        "id": 50,
        "icon": "file:telegram.svg",
        "name": "n8n-nodes-base.telegramTrigger",
        "codex": {
          "data": {
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/",
                  "icon": "🤬",
                  "label": "Create a toxic language detector for Telegram in 4 step"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/creating-telegram-bots-with-n8n-a-no-code-platform/",
                  "icon": "💬",
                  "label": "Creating Telegram Bots with n8n, a No-Code Platform"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.telegramtrigger/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/telegram/"
                }
              ]
            },
            "categories": [
              "Communication"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "Telegram Trigger"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNjYgNjYiPjx1c2UgeGxpbms6aHJlZj0iI2EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9ImEiIG92ZXJmbG93PSJ2aXNpYmxlIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0ibm9uZSI+PHBhdGggZmlsbD0iIzM3YWVlMiIgZD0iTTAgMzJjMCAxNy42NzMgMTQuMzI3IDMyIDMyIDMyczMyLTE0LjMyNyAzMi0zMlM0OS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eVersion": 1,
        "nodeCategories": [
          {
            "id": 6,
            "name": "Communication"
          }
        ]
      },
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1119,
        "icon": "fa:robot",
        "name": "@n8n/n8n-nodes-langchain.agent",
        "codex": {
          "data": {
            "alias": [
              "LangChain",
              "Chat",
              "Conversational",
              "Plan and Execute",
              "ReAct",
              "Tools"
            ],
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Agents",
                "Root Nodes"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "AI Agent",
          "color": "#404040"
        },
        "iconData": {
          "icon": "robot",
          "type": "icon"
        },
        "displayName": "AI Agent",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1153,
        "icon": "file:openAiLight.svg",
        "name": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Language Models",
                "Root Nodes"
              ],
              "Language Models": [
                "Chat Models (Recommended)"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "OpenAI Chat Model"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTM2Ljg2NzEgMTYuMzcxOEMzNy43NzQ2IDEzLjY0OCAzNy40NjIxIDEwLjY2NDIgMzYuMDEwOCA4LjE4NjYxQzMzLjgyODIgNC4zODY1MyAyOS40NDA3IDIuNDMxNDkgMjUuMTU1NiAzLjM1MTUxQzIzLjI0OTMgMS4yMDM5NiAyMC41MTA1IC0wLjAxNzMxNDggMTcuNjM5MiAwLjAwMDE4NTUzM0MxMy4yNTkxIC0wLjAwOTgxNDY4IDkuMzcyNzMgMi44MTAyNSA4LjAyNTIgNi45Nzc4M0M1LjIxMTM5IDcuNTU0MSAyLjc4MjU4IDkuMzE1MzggMS4zNjEzIDExLjgxMTdDLTAuODM3NDkzIDE1LjYwMTggLTAuMzM2MjMyIDIwLjM3OTQgMi42MDEzMyAyMy42Mjk0QzEuNjkzODEgMjYuMzUzMiAyLjAwNjMyIDI5LjMzNzEgMy40NTc2IDMxLjgxNDZDNS42NDAxNSAzNS42MTQ3IDEwLjAyNzcgMzcuNTY5NyAxNC4zMTI4IDM2LjY0OTdDMTYuMjE3OSAzOC43OTczIDE4Ljk1NzkgNDAuMDE4NSAyMS44MjkyIDM5Ljk5OThDMjYuMjExOCA0MC4wMTEgMzAuMDk5NCAzNy4xODg1IDMxLjQ0NjkgMzMuMDE3MUMzNC4yNjA4IDMyLjQ0MDkgMzYuNjg5NiAzMC42Nzk2IDM4LjExMDggM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uNjM1OCAxNC41MTQySDM0LjYzODNaTTEzLjU3NDEgMjEuNDQzMUwxMC4yMDY1IDE5LjQ5OTRDMTAuMTcwMiAxOS40ODE5IDEwLjE0NjUgMTkuNDQ2OCAxMC4xNDE1IDE5LjQwNjhWMTAuMTA3OUMxMC4xNDQgNS45Njc4MSAxMy41MDI4IDIuNjEyNzQgMTcuNjQyOSAyLjYxNTI0QzE5LjM5NDIgMi42MTUyNCAyMS4wODkyIDMuMjMwMjUgMjIuNDM1NSA0LjM1MDI4QzIyLjM3NDMgNC4zODI3OCAyMi4yNjkzIDQuNDQxNTMgMjIuMTk5MiA0LjQ4NDAzTDE0LjIzNDEgOS4wODQxM0MxMy44MjY2IDkuMzE1MzggMTMuNTc2NiA5Ljc0Nzg5IDEzLjU3OTEgMTAuMjE2N0wxMy41NzQxIDIxLjQ0MDZWMjEuNDQzMVpNMTUuNDAyOSAxNy41MDA2TDE5LjczNDIgMTQuOTk5M0wyNC4wNjU1IDE3LjQ5OTNWMjIuNTAwN0wxOS43MzQyIDI1LjAwMDdMMTUuNDAyOSAyMi41MDA3VjE3LjUwMDZaIiBmaWxsPSIjN0Q3RDg3Ii8+Cjwvc3ZnPgo="
        },
        "displayName": "OpenAI Chat Model",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1163,
        "icon": "fa:database",
        "name": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorybufferwindow/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Memory"
              ],
              "Memory": [
                "For beginners"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Simple Memory"
        },
        "iconData": {
          "icon": "database",
          "type": "icon"
        },
        "displayName": "Simple Memory",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1205,
        "icon": "fa:network-wired",
        "name": "@n8n/n8n-nodes-langchain.toolWorkflow",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolworkflow/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Tools"
              ],
              "Tools": [
                "Recommended Tools"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Call n8n Workflow Tool"
        },
        "iconData": {
          "icon": "network-wired",
          "type": "icon"
        },
        "displayName": "Call n8n Workflow Tool",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1247,
        "icon": "fa:comments",
        "name": "@n8n/n8n-nodes-langchain.chatTrigger",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.chattrigger/"
                }
              ]
            },
            "categories": [
              "Core Nodes",
              "Langchain"
            ]
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "When chat message received"
        },
        "iconData": {
          "icon": "comments",
          "type": "icon"
        },
        "displayName": "Chat Trigger",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 44,
        "name": "Crypto Trading"
      },
      {
        "id": 47,
        "name": "AI Chatbot"
      }
    ],
    "image": []
  }
}