AutomationFlowsAI & RAG › Build a Smart Pc Components Sales Chatbot with N8n, Effortlessly!

Build a Smart Pc Components Sales Chatbot with N8n, Effortlessly!

30. Build a smart PC components sales chatbot with n8n, effortlessly!. Uses chatTrigger, agent, lmChatGoogleGemini, memoryBufferWindow. Chat trigger; 6 nodes.

Chat trigger trigger★★☆☆☆ complexityAI-powered6 nodesChat TriggerAgentGoogle Gemini ChatMemory Buffer WindowGmail ToolGoogle Sheets Tool
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
{
  "updatedAt": "2025-10-19T10:06:16.000Z",
  "createdAt": "2025-10-19T00:33:26.011Z",
  "id": "OWkMP6wO0pscgTeL",
  "name": "30. Build a smart PC components sales chatbot with n8n, effortlessly!",
  "active": false,
  "isArchived": false,
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.3,
      "position": [
        0,
        0
      ],
      "id": "dad79efa-5182-4236-9e8e-59bf3c81ad2c",
      "name": "When chat message received"
    },
    {
      "parameters": {
        "options": {
          "systemMessage": "You represent a computer company. Please answer customer inquiries using\nthe information provided in the Google Sheet. Please send an email to the\nowner only if the customer requests to purchase a device. Before sending\nthe email, ask the customer for their name and phone number, and send them\nto the owner via Email. Please arrange the email in a very well format"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.2,
      "position": [
        208,
        0
      ],
      "id": "fd2c3cf5-480e-4212-9515-0a77f1dba025",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "typeVersion": 1,
      "position": [
        80,
        208
      ],
      "id": "f72cbfbf-f2b7-4249-803e-0c0e19eef3d6",
      "name": "Google Gemini Chat Model",
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "contextWindowLength": 50
      },
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.3,
      "position": [
        224,
        208
      ],
      "id": "2714d5e2-8337-4120-8891-3ae80b2f734b",
      "name": "Simple Memory"
    },
    {
      "parameters": {
        "sendTo": "chanbit.abde@gmail.com",
        "subject": "Customer Purchase Request",
        "emailType": "text",
        "message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
        "options": {}
      },
      "type": "n8n-nodes-base.gmailTool",
      "typeVersion": 2.1,
      "position": [
        384,
        256
      ],
      "id": "9c63538f-50e7-467a-98d9-1a6f73b3a48d",
      "name": "Send a message in Gmail",
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "113uKOJEvJgoC9k3nLM89s-qcaUopsR0tS4BTSxr2-ng",
          "mode": "list",
          "cachedResultName": "Udemy",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/113uKOJEvJgoC9k3nLM89s-qcaUopsR0tS4BTSxr2-ng/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "computer_components_catalog",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/113uKOJEvJgoC9k3nLM89s-qcaUopsR0tS4BTSxr2-ng/edit#gid=0"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheetsTool",
      "typeVersion": 4.7,
      "position": [
        560,
        208
      ],
      "id": "5735221f-0a19-4283-9792-c74770a6b160",
      "name": "Get row(s) in sheet in Google Sheets",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "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
          }
        ]
      ]
    },
    "Send a message in Gmail": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet in Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "versionId": "903d7ca2-0003-4808-a4bf-337f28b6545f",
  "activeVersionId": null,
  "triggerCount": 0,
  "shared": [
    {
      "updatedAt": "2025-10-19T00:33:26.084Z",
      "createdAt": "2025-10-19T00:33:26.084Z",
      "role": "workflow:owner",
      "workflowId": "OWkMP6wO0pscgTeL",
      "projectId": "HHopAZ4lOFgjhBzT"
    }
  ],
  "activeVersion": null,
  "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

30. Build a smart PC components sales chatbot with n8n, effortlessly!. Uses chatTrigger, agent, lmChatGoogleGemini, memoryBufferWindow. Chat trigger; 6 nodes.

Source: https://github.com/abde0112/n8n_bkv2/blob/main/30.-build-a-smart-pc-components-sales-chatbot-with-n8n,-effortlessly!-OWkMP6wO0pscgTeL.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

Use cases are many: Automate Gmail tasks such as sending, replying, labeling, deleting, and fetching emails — all with AI assistance. Perfect for YouTubers managing viewer emails, sales teams handling

Chat Trigger, Agent, Gmail Tool +3
AI & RAG

Personal Assistant MCP server. Uses chatTrigger, lmChatGoogleGemini, memoryBufferWindow, mcpTrigger. Chat trigger; 20 nodes.

Chat Trigger, Google Gemini Chat, Memory Buffer Window +6
AI & RAG

Personal Assistant MCP server. Uses chatTrigger, lmChatGoogleGemini, memoryBufferWindow, mcpTrigger. Chat trigger; 20 nodes.

Chat Trigger, Google Gemini Chat, Memory Buffer Window +6
AI & RAG

Wouldn't it be cool to just tell your computer or phone to "schedule a meeting with Sarah next Tuesday at 3 PM" or "find John Doe's email address" and have it actually do it? That's the dream of a per

Chat Trigger, Google Gemini Chat, Memory Buffer Window +6
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