AutomationFlowsAI & RAG › AI Chat Agent with Google Gemini Tools

AI Chat Agent with Google Gemini Tools

Original n8n title: Tools

tools. Uses chatTrigger, agent, lmChatGoogleGemini, memoryBufferWindow. Chat trigger; 6 nodes.

Chat trigger trigger★★☆☆☆ complexityAI-powered6 nodesChat TriggerAgentGoogle Gemini ChatMemory Buffer WindowDate Time ToolTool Calculator
AI & RAG Trigger: Chat trigger Nodes: 6 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "tools",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.1,
      "position": [
        0,
        0
      ],
      "id": "eef6f31b-dcd0-4c9f-85bc-3ca796eb2faf",
      "name": "When chat message received"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.1,
      "position": [
        208,
        0
      ],
      "id": "7555cc8d-9f10-480d-a7df-211b5935917e",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "typeVersion": 1,
      "position": [
        80,
        208
      ],
      "id": "31e79b15-75c8-4ff6-b876-9b03ee74434e",
      "name": "Google Gemini Chat Model",
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {},
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.3,
      "position": [
        224,
        208
      ],
      "id": "402393f2-f648-4ca4-816b-e9d701028c6d",
      "name": "Simple Memory"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "n8n-nodes-base.dateTimeTool",
      "typeVersion": 2,
      "position": [
        368,
        208
      ],
      "id": "1797a2e3-6557-4ad0-8d10-662ed6d97320",
      "name": "Date & Time"
    },
    {
      "parameters": {},
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "typeVersion": 1,
      "position": [
        464,
        304
      ],
      "id": "5936a365-6c0e-4aa0-8638-2afdca065a56",
      "name": "Calculator"
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c7662d00-556a-4565-970e-8a1ab0501312",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "ZNj5x2LX5joPLvhc",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

tools. Uses chatTrigger, agent, lmChatGoogleGemini, memoryBufferWindow. Chat trigger; 6 nodes.

Source: https://github.com/datawhalechina/handy-n8n/blob/d0d1f6dbb65815de8b1433dd671482f25e76122b/workflows/c04/n8n_tools.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

A smart personal assistant that can reason, search, calculate, and remember — powered by Google Gemini and ready in one click.

Chat Trigger, Agent, Tool Think +4
AI & RAG

This workflow provides a chat-based CRM assistant powered by Google Gemini that can append new leads to a Google Sheets “Leads” tab, answer pipeline questions by reading the sheet, and log each conver

Chat Trigger, Agent, Google Gemini Chat +5
AI & RAG

This workflow provides a chat-based research assistant powered by Google Gemini that can look up facts on Wikipedia, do calculations, and remember context, while also tagging each user question and lo

Chat Trigger, Agent, Google Gemini Chat +5
AI & RAG

Airbnbs. Uses n8n-nodes-mcp, agent, chatTrigger, lmChatGoogleGemini. Chat trigger; 9 nodes.

N8N Nodes Mcp, Agent, Chat Trigger +3
AI & RAG

Agent_2. Uses chatTrigger, agent, lmChatOpenAi, toolWikipedia. Chat trigger; 7 nodes.

Chat Trigger, Agent, OpenAI Chat +4