{
  "workflow": {
    "id": 2717,
    "name": "AI chatbot for website with conditional execution for cost efficiency",
    "views": 1474,
    "recentViews": 0,
    "totalViews": 1474,
    "createdAt": "2025-01-12T04:15:15.399Z",
    "description": "# AI Chatbot with Conditional Execution for Cost Efficiency  \n\n## Description  \n\nThis **n8n workflow** implements an **AI-powered chatbot** that **only runs when a chat is initiated on a website**. By introducing a conditional step, the workflow ensures that **AI tokens are not consumed unnecessarily**, making it a cost-efficient and resource-optimized solution.  \n\nThe chatbot, named **Sophia**, serves as an **interactive assistant for SyncBricks**. It helps users with **guest posting services, YouTube review videos, IT consultancy, and online courses** while collecting user details step by step. The chatbot ensures that inquiries are properly logged and confirmed before proceeding to AI-driven responses.  \n\nThis template is ideal for **businesses, service providers, and content creators** who want to **optimize AI token usage** while delivering **personalized, interactive engagement** with their users.  \n\n## Features  \n\n1. **Conditional Execution** – The AI chatbot **only activates when a chat is initiated**, avoiding unnecessary API calls.  \n2. **AI-Powered Conversations** – Uses **Google Gemini AI** to generate human-like responses.  \n3. **Step-by-Step Data Collection** – Ensures **structured user input**, requesting **name, email, and request type** sequentially.  \n4. **Memory Buffer for Context Awareness** – Maintains conversation context using a **window buffer memory** system.  \n5. **Multiple Service Offerings** – Supports inquiries related to:  \n   - **Guest Posting Services**  \n   - **YouTube Review Videos**  \n   - **Online Courses on Udemy**  \n   - **IT Consultancy Services**  \n6. **Automated Confirmation Messages** – After collecting user details, sends a **confirmation message** summarizing the request.  \n\n## How It Works  \n\n1. **Chat Message Trigger**  \n   - The workflow starts **only when a chat message is received** from the website.  \n   - This ensures **no AI token is consumed unless a user initiates a chat**.  \n\n2. **Condition Check: Is Chat Input Provided?**  \n   - The workflow checks if **chat input is non-empty**.  \n   - If the chat input is empty, **the workflow stops**, ensuring **no unnecessary API usage**.  \n   - If a message is detected, **the chatbot continues** processing.  \n\n3. **AI-Powered Chat Response**  \n   - The chatbot, **Sophia**, generates **personalized responses** using **Google Gemini AI**.  \n   - AI ensures **structured conversation flow** by collecting:  \n     - **User’s Full Name**  \n     - **Email ID**  \n     - **Request Type**  \n\n4. **Memory Buffer for Context Retention**  \n   - A **Window Buffer Memory** system **stores chat history** and **retrieves previous responses** to ensure **context-aware conversations**.  \n\n5. **Response Optimization**  \n   - **Checks memory** to avoid **asking the same question twice**.  \n   - If details are already provided, **Sophia moves directly to processing the request**.  \n\n6. **Confirmation & User Engagement**  \n   - After collecting the required details, Sophia **summarizes the request** as follows:  \n     - *\"Got it [Name], your request is [Request Type]. I will be sending the details to your email ID: [Email]. Hold on while I send confirmation.\"*  \n\n7. **Final Confirmation Message**  \n   - Ensures the **user receives a proper acknowledgment** of their inquiry.  \n\n## Prerequisites  \n\nBefore using this workflow, make sure you have:  \n\n1. **n8n Instance** (Cloud or Self-Hosted)  \n2. **Google Gemini API Key** (For AI-generated responses)  \n3. **Webhook Integration** (To trigger the chatbot from your website)  \n\n## Use Cases  \n\n1. **Businesses & Enterprises** – AI-powered lead qualification for services.  \n2. **Bloggers & Content Creators** – Automated **guest post** inquiry handling.  \n3. **YouTube Influencers & Educators** – AI chatbot to promote courses and review services.  \n4. **Marketing Agencies** – Lead generation chatbot **without excessive AI token consumption**.  \n5. **E-Commerce & Consulting Services** – AI-driven **personalized customer engagement**.  \n\n## Nodes Used in This Workflow  \n\n1. **Chat Trigger (Webhook)** – Initiates only when a user sends a chat message.  \n2. **Conditional Check (If Node)** – Ensures AI is **only used when a chat is initiated**.  \n3. **AI Agent (Google Gemini AI)** – Generates **intelligent chatbot responses**.  \n4. **Memory Buffer (Context Retention)** – Stores user inputs for **context-aware conversations**.  \n\n## Important\n### [Start with n8n](https://www.udemy.com/course/mastering-n8n-ai-agents-api-automation-webhooks-no-code/?referralCode=0309FD70BE2D72630C09)  \n\n### [Learn n8n with Amjid ](https://www.udemy.com/course/mastering-n8n-ai-agents-api-automation-webhooks-no-code/?referralCode=0309FD70BE2D72630C09)  \n### [Get n8n Book](https://lms.syncbricks.com/books/n8n/) \n\n### [What is Proxmox](https://www.udemy.com/course/proxmox-virtualization-environment-complete-training/?referralCode=8E7EAFD11C2389F89C11)\n\n## Creator Information  \n\n**Developed by:** Amjid Ali  \n**Website:** [SyncBricks](https://syncbricks.com)  \n**Email:** [amjid@amjidali.com](mailto:amjid@amjidali.com)  \n**LinkedIn:** [Amjid Ali](https://linkedin.com/in/amjidali)  \n**YouTube:** [SyncBricks](https://youtube.com/@syncbricks)  \n\n## Support & Contributions  \n\nIf you find this workflow helpful, consider **supporting my work**:  \n\n[Donate via PayPal](http://paypal.me/pmptraining)  \n\nFor **full courses on n8n**, visit:  \n\n[Course by Amjid](https://www.udemy.com/course/mastering-n8n-ai-agents-api-automation-webhooks-no-code/?referralCode=0309FD70BE2D72630C09)  \n\n## Final Thoughts  \n\nThis **n8n workflow** ensures **optimal AI token usage** while **engaging users with an intelligent chatbot**. By integrating **conditional execution**, it **prevents unnecessary API calls**, making it **cost-effective and efficient** for businesses looking to automate chat-based customer interactions.  \n\nLet me know if you need **any modifications**!",
    "workflow": {
      "meta": {
        "instanceId": "942ff96108ceedc60ba777eabc4e8ea2ae87415579996cd64d20cc647c4d3523",
        "templateCredsSetupCompleted": true
      },
      "nodes": [
        {
          "id": "33e406c0-e316-4741-850f-917ab6fe30e8",
          "name": "Google Gemini Chat Model",
          "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
          "position": [
            220,
            300
          ],
          "parameters": {
            "options": {},
            "modelName": "models/gemini-2.0-flash-exp"
          },
          "credentials": {
            "googlePalmApi": {
              "id": "credential-id",
              "name": "googlePalmApi Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "0d3a6101-93ea-407f-b5cf-1b7c717792cc",
          "name": "AI Agent",
          "type": "@n8n/n8n-nodes-langchain.agent",
          "position": [
            260,
            -40
          ],
          "parameters": {
            "text": "=You are Sophia, an AI Agent Chatbot for **SyncBricks**, designed to engage users, provide information, and convert inquiries into orders. Use the details below to craft tailored responses, guiding users to place orders efficiently.\n\nEncourage the users to place the order.\n\n### **What You Offer:**\n\n1. **Guest Posting Services:**  \n   - **Topics Accepted:** Enterprise IT, General IT, Open Source, Software, Hardware, Apps, Websites, Technology, Computers, and related fields.  \n   - **Unacceptable Topics:** Casinos, gambling, drugs, adult content, or anything outside the IT niche.  \n   - **Key Guidelines:**  \n     - Content must be **original** and **unpublished** (AI-generated content is not accepted).  \n     - Minimum word count: **300 words**.  \n     - Include **one relevant backlink** (dofollow by default).  \n     - Use a **structured format** with headings, subheadings, and bullet points for better readability.  \n     - Unique, relevant images are encouraged.  \n\n   - **Pricing:**  \n     - **Guest Post:** $40  \n     - **Bulk Discounts Available**  \n\n   - **Turnaround Time:**  \n     - Posts are reviewed and published within **3 business days**.  \n\n** website that we offer for guest posting **.\nYes here is list of all our sites where we offer guest posts\n\n  - syncbricks.com\n  - s4stechnology.com\n  - shukranoman.com\n  - brenttechnologies.com\n  - mairimanzil.com\n  - techfeed.com.au\n  - tuts.plus\n  - swifttapper.com\n  - amjidali.com\n  - hamid.com.au\n  - cio.guru\n\n   - **Submission:**  \n     - Email your article to **info@syncbricks.com** to begin the process.  \n\n2. **YouTube Review Videos:**  \n   - **Options Available:**  \n     - Comprehensive 10-minute video: **$1500**.  \n     - Short follow-up video: **$750**.  \n     - Includes free do-follow link placement on the website.  \n\n3. **Online IT Courses on Udemy:**  \n   - **AI Automation Mastery: Build Intelligent Agents : https://www.udemy.com/course/ai-automation-mastery-build-intelligent-agents-with-lowcode/?referralCode=0062E7C1D64784AB70CA)**  \n   - **ERPNext for HR Management: Onboarding to Exit https://www.udemy.com/course/human-resource-management-with-erpnext-onboarding-to-exit/?referralCode=B3C64C3925EC62F42052 **  \n   - **Advanced Power BI: Master Desktop & DAX : https://www.udemy.com/course/microsoft-power-bi-advanced-course-desktop-dax/?referralCode=1B754977728785DC48C9 **  \n   - ** Proxmox VE: Complete Virtualization Guide](https://www.udemy.com/course/proxmox-virtualization-environment-complete-training/?referralCode=8E7EAFD11C2389F89C11 **  \n   - ** pfSense Network Security & Firewall Management  :https://www.udemy.com/course/pfsense-network-security-and-firewall-management/?referralCode=866D4839516374C77ACE)**  \n   - **ERPNext Mastery: Installation & Advanced Concepts https://www.udemy.com/course/learn-how-to-install-erpnext-on-ubuntu-server/?referralCode=397B3262C472F3F93ED9 **  \n   - ** Untangle Firewall: Network Security NGFW : https://www.udemy.com/course/untangle-firewall-network-security-ngfw/?referralCode=B91405ED2DAA074EC505 **  \n   - ** OBS Studio: Professional Video Streaming https://www.udemy.com/course/professional-video-streaming-using-obs-studio/?referralCode=C9BC0338532A4E9477D1 **  \n\n   Browse all courses on SyncBricks LMS https://lms.syncbricks.com/.  \n\n4. **IT Consultancy Services:**  \n   - Remote implementation and support for IT infrastructure.  \n   - Workflow automation with low-code platforms.  \n   - Advanced network security solutions.  \n\n### **How You Work:**  \n- Respond conversationally and engage the user based on their input.  \n- Highlight relevant offerings and guest post FAQs if the user inquires about guest posting.  \n- Use Udemy course links to encourage enrollments.  \n- Persuade the user to proceed by providing clear instructions.  \n- Maintain a professional tone to convert leads into actionable orders.  \n- ensure to ask for sending the details by email, just ask for the email ID and name, collect the follow information first.\nAs the Questions step by step \nYour Full Name : \nand then Your Email ID : \nand then Your request type?\nEnsure on every step you check your memory, if information is already provided don't ask again, and ensure that once you have collected the information from chat and memory.  Ensure to recall name, email id and request type and send the confirmation as below ; Got it [Name] your request is [Request type]\nand I will be sending the details on your email  id : [Email], hold on a second, I will send you confirmation.\n\n### **Sample Response:**  \n**User Input:** \"I’m interested in taking a course on automation.\"  \n\n**Response:**  \nHi, thank you for your interest in learning automation!  \n\nI recommend our Udemy course:  \n** AI Automation Mastery: Build Intelligent Agents](https://www.udemy.com/course/ai-automation-mastery-build-intelligent-agents-with-lowcode/?referralCode=0062E7C1D64784AB70CA **  \nThis beginner-friendly course covers low-code platforms, workflow automation, and practical AI-driven solutions.  \n\nWe have several free videos on our youtube Channel : https://www.youtube.com/channel/UC1ORA3oNGYuQ8yQHrC7MzBg?sub_confirmation=1\n\nWould you like to enroll now? Let me know if you have any questions—I’m here to help!  \n\nUser Prompt : \n\nHere is User Input : {{ $json.chatInput }}",
            "agent": "conversationalAgent",
            "options": {},
            "promptType": "define"
          },
          "typeVersion": 1.7
        },
        {
          "id": "74b9fdc5-3d30-4202-8535-72444f67a6b3",
          "name": "If",
          "type": "n8n-nodes-base.if",
          "position": [
            -120,
            100
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "1d5ccbb7-5ee5-4c1b-985a-183efdcaf4c2",
                  "operator": {
                    "type": "string",
                    "operation": "notEmpty",
                    "singleValue": true
                  },
                  "leftValue": "={{ $json.chatInput }}",
                  "rightValue": ""
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "de2718eb-6068-4516-b8cb-d039976ef6a7",
          "name": "Window Buffer Memory",
          "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
          "position": [
            420,
            280
          ],
          "parameters": {
            "contextWindowLength": 20
          },
          "typeVersion": 1.3
        },
        {
          "id": "2bda20f2-71fb-4b76-bc81-20d7295335d9",
          "name": "When chat message received",
          "type": "@n8n/n8n-nodes-langchain.chatTrigger",
          "position": [
            -320,
            100
          ],
          "webhookId": "327ab0df-00f3-4d17-9181-61a81854b208",
          "parameters": {
            "mode": "webhook",
            "public": true,
            "options": {}
          },
          "notesInFlow": false,
          "typeVersion": 1.1
        }
      ],
      "pinData": {},
      "connections": {
        "If": {
          "main": [
            [
              {
                "node": "AI Agent",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Window Buffer Memory": {
          "ai_memory": [
            [
              {
                "node": "AI Agent",
                "type": "ai_memory",
                "index": 0
              }
            ]
          ]
        },
        "Google Gemini Chat Model": {
          "ai_languageModel": [
            [
              {
                "node": "AI Agent",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "When chat message received": {
          "main": [
            [
              {
                "node": "If",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 62,
    "workflowInfo": {
      "nodeCount": 5,
      "nodeTypes": {
        "n8n-nodes-base.if": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.agent": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.chatTrigger": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.lmChatGoogleGemini": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.memoryBufferWindow": {
          "count": 1
        }
      }
    },
    "status": "published",
    "readyToDemo": null,
    "user": {
      "name": "Amjid Ali",
      "username": "amjid",
      "bio": "I specialise in transforming enterprises into AI-driven, insight-powered ecosystems by combining Agentic AI, Business Intelligence, and workflow automation to unlock performance, efficiency, and strategic growth.\n\nKey Expertise:\n– Agentic AI Systems & Autonomous Agents\n– Workflow & Business Process Automation (n8n, low-code)\n– RAG Pipelines & LLM Integrations\n– Business Intelligence (Power BI, Azure)\n– Financial Reporting & Performance Analytics\n– AI Governance, Data Strategy & Responsible AI",
      "verified": true,
      "links": [
        "https://amjidali.com"
      ],
      "avatar": "https://gravatar.com/avatar/8760ed64a38ed65da42983737659c7e295e4a7f14b59ed5ce1b0b1077435f573?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 20,
        "icon": "fa:map-signs",
        "name": "n8n-nodes-base.if",
        "codex": {
          "data": {
            "alias": [
              "Router",
              "Filter",
              "Condition",
              "Logic",
              "Boolean",
              "Branch"
            ],
            "details": "The IF node can be used to implement binary conditional logic in your workflow. You can set up one-to-many conditions to evaluate each item of data being inputted into the node. That data will either evaluate to TRUE or FALSE and route out of the node accordingly.\n\nThis node has multiple types of conditions: Bool, String, Number, and Date & Time.",
            "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/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/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/automation-for-maintainers-of-open-source-projects/",
                  "icon": "🏷️",
                  "label": "How to automatically manage contributions to open-source projects"
                },
                {
                  "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/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/why-this-product-manager-loves-workflow-automation-with-n8n/",
                  "icon": "🧠",
                  "label": "Why this Product Manager loves workflow automation with n8n"
                },
                {
                  "url": "https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/",
                  "icon": "🙌",
                  "label": "Sending Automated Congratulations with Google Sheets, 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/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/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.if/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Flow"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "If",
          "color": "#408000"
        },
        "iconData": {
          "icon": "map-signs",
          "type": "icon"
        },
        "displayName": "If",
        "typeVersion": 2,
        "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": 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": 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"
          }
        ]
      },
      {
        "id": 1262,
        "icon": "file:google.svg",
        "name": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatgooglegemini/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Language Models",
                "Root Nodes"
              ],
              "Language Models": [
                "Chat Models (Recommended)"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Google Gemini Chat Model"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDggNDgiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNDQuNSAyMEgyNHY4LjVoMTEuOEMzNC43IDMzLjkgMzAuMSAzNyAyNCAzN2MtNy4yIDAtMTMtNS44LTEzLTEzczUuOC0xMyAxMy0xM2MzLjEgMCA1LjkgMS4xIDguMSAyLjlsNi40LTYuNEMzNC42IDQuMSAyOS42IDIgMjQgMiAxMS44IDIgMiAxMS44IDIgMjRzOS44IDIyIDIyIDIyYzExIDAgMjEtOCAyMS0yMiAwLTEuMy0uMi0yLjctLjUtNCIvPjwvZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjx1c2UgeGxpbms6aHJlZj0iI2EiIG92ZXJmbG93PSJ2aXNpYmxlIi8+PC9jbGlwUGF0aD48cGF0aCBmaWxsPSIjRkJCQzA1IiBkPSJNMCAzN1YxMWwxNyAxM3oiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiNFQTQzMzUiIGQ9Im0wIDExIDE3IDEzIDctNi4xTDQ4IDE0VjBIMHoiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Im0wIDM3IDMwLTIzIDcuOSAxTDQ4IDB2NDhIMHoiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiM0Mjg1RjQiIGQ9Ik00OCA0OCAxNyAyNGwtNC0zIDM1LTEweiIgY2xpcC1wYXRoPSJ1cmwoI2IpIi8+PC9zdmc+"
        },
        "displayName": "Google Gemini Chat Model",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 25,
        "name": "AI"
      },
      {
        "id": 47,
        "name": "AI Chatbot"
      }
    ],
    "image": []
  }
}