8
n8n 한국어amn8n.com

Google Sheets 조회 기능을 갖춘 AI 기반 WhatsApp 판매 봇

중급

이것은Lead Nurturing, AI Chatbot분야의자동화 워크플로우로, 10개의 노드를 포함합니다.주로 If, Webhook, GmailTool, Agent, GoogleSheetsTool 등의 노드를 사용하며. DeepSeek AI, Google Sheets, Gmail 알림을 사용한 WhatsApp 영업 자동화

사전 요구사항
  • HTTP Webhook 엔드포인트(n8n이 자동으로 생성)
  • Google 계정 및 Gmail API 인증 정보
  • Google Sheets API 인증 정보
  • PostgreSQL 데이터베이스 연결 정보
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "cNNZ3M4oqFQhVgJc",
  "meta": {
    "instanceId": "ea2b41532677d34614d95d13d7d2ccb694657be482144baf71e7140df3b2a853",
    "templateCredsSetupCompleted": true
  },
  "name": "AI-Powered WhatsApp Seller Bot with Google Sheets Lookup",
  "tags": [],
  "nodes": [
    {
      "id": "e584cd33-a6da-483f-9de4-4f9e186eb538",
      "name": "AI 에이전트",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        336,
        -96
      ],
      "parameters": {
        "text": "={{ $json.body.data.message.conversation }}",
        "options": {
          "systemMessage": "You represent X company, Your name is Ahmed. Please answer customer inquiries using the information provided in the Google Sheet. Please send an email to the customer service representative only if the customer requests to purchase an item. Before sending the email, ask the customer for their name and phone number, delivery or pickup date, and send them to the customer service representative via Email.\nPhone number format is 10 digits starts with 05 (05XXXXXXXX).\nSpeak with Customers in Saudi dialect.\nYou should welcome the user firstly with (هلا وغلا).\nDon't give any answers outside the provided Google Sheet."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "62c4d503-ad9e-4b3e-903a-db7392771020",
      "name": "Gmail에서 메시지 보내기",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        784,
        160
      ],
      "webhookId": "9fe4c701-9d99-4ae3-9b39-52a978171f4b",
      "parameters": {
        "sendTo": "Customer Service Email",
        "message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
        "options": {
          "appendAttribution": false
        },
        "subject": "New Purchase Request ",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "h3RnkjQjRABg68QN",
          "name": "GmailAuthentication"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "58f5ed7f-5508-4802-add9-e732ed02ab70",
      "name": "Google Sheets에서 시트 행 가져오기",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        592,
        240
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "Your Google Sheet URL",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1m1Do9umLUVyCzqpCS75zvCBSddtwWw4lAok2QHHKWKg",
          "cachedResultUrl": "Your Google Sheet URL",
          "cachedResultName": "Your Company Items"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "KJ3WD4ZJZo6YMqm3",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "fa4accc6-b622-4fd3-8b2b-eba606ce8cb2",
      "name": "DeepSeek 채팅 모델",
      "type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
      "position": [
        176,
        208
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "deepSeekApi": {
          "id": "hyKdJBiLLtHwOZ4h",
          "name": "DeepSeek API Account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "33806930-5fb1-4ee1-afeb-f0741a6691c7",
      "name": "그룹 메시지가 아니고 발신 메시지가 아닌 경우",
      "type": "n8n-nodes-base.if",
      "position": [
        176,
        -256
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "419382f9-3a23-40ba-afa1-33d71252d2e7",
              "operator": {
                "type": "boolean",
                "operation": "equals"
              },
              "leftValue": "={{ $json.body.data.key.fromMe }}",
              "rightValue": "={{false}}"
            },
            {
              "id": "df484897-bdd3-490f-9902-0b2b51906bd1",
              "operator": {
                "type": "boolean",
                "operation": "equals"
              },
              "leftValue": "={{ $json.body.data.key.remoteJid.includes('@g.us') }}",
              "rightValue": "={{false}}"
            },
            {
              "id": "6d2be59c-30bd-4de3-a36b-720adaa5cbcf",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "4251d06b-1440-410b-a351-7d1f1033e8e8",
      "name": "작업 없음, 아무 동작 안 함",
      "type": "n8n-nodes-base.noOp",
      "position": [
        464,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "42fafb47-7405-4c0e-8d14-f4012f9e5d01",
      "name": "텍스트 전송",
      "type": "n8n-nodes-evolution-api.evolutionApi",
      "position": [
        704,
        -96
      ],
      "parameters": {
        "resource": "messages-api",
        "remoteJid": "={{ $('Webhook: WhatsApp Message Trigger').item.json.body.data.key.remoteJid }}",
        "messageText": "={{ $json.output }}",
        "instanceName": "Your Instance Name",
        "options_message": {}
      },
      "credentials": {
        "evolutionApi": {
          "id": "OfCJPxnswdkJBefM",
          "name": "Evolution account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "85a788eb-f660-4537-b9e3-d195ff309f2d",
      "name": "Webhook: WhatsApp 메시지 트리거",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -16,
        -256
      ],
      "webhookId": "da45cd88-1b08-45b5-bb70-a11688365804",
      "parameters": {
        "path": "whatsAppListen",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2
    },
    {
      "id": "36cd632d-e0fb-490f-b821-ab96d8cf255b",
      "name": "스티커 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -608,
        -112
      ],
      "parameters": {
        "width": 544,
        "height": 384,
        "content": "## 🚀 AI-Powered WhatsApp Seller Bot with Google Sheets Lookup\n\n### This workflow:\n- **Listens** for inbound WhatsApp messages via webhook  \n- **Uses** a LangChain AI Agent (DeepSeek) to answer in Saudi dialect, sourcing product info from Google Sheets  \n- **Welcomes** customers with “هلا وغلا” and collects name, phone, and delivery/pickup details  \n- **Prompts** an email notification to your service rep only when the customer is ready to purchase  \n- **Ensures** every conversation stays tied to your sales process without missing a lead  \n\nIdeal for ecommerce teams who want instant, data-driven replies and seamless handoff to sales staff."
      },
      "typeVersion": 1
    },
    {
      "id": "858bc82c-a986-4805-be88-85570918c90e",
      "name": "Postgres를 이용한 채팅 메모리",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        352,
        112
      ],
      "parameters": {
        "sessionKey": "={{ $('Webhook: WhatsApp Message Trigger').item.json.body.data.key.remoteJid }}",
        "sessionIdType": "customKey",
        "contextWindowLength": 1000
      },
      "credentials": {
        "postgres": {
          "id": "S1VWsGUdIS78Fgpy",
          "name": "Postgres account"
        }
      },
      "typeVersion": 1.3
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "1d94995f-5416-42a7-87ef-893c9d7a44df",
  "connections": {
    "e584cd33-a6da-483f-9de4-4f9e186eb538": {
      "main": [
        [
          {
            "node": "42fafb47-7405-4c0e-8d14-f4012f9e5d01",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fa4accc6-b622-4fd3-8b2b-eba606ce8cb2": {
      "ai_languageModel": [
        [
          {
            "node": "e584cd33-a6da-483f-9de4-4f9e186eb538",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "62c4d503-ad9e-4b3e-903a-db7392771020": {
      "ai_tool": [
        [
          {
            "node": "e584cd33-a6da-483f-9de4-4f9e186eb538",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "858bc82c-a986-4805-be88-85570918c90e": {
      "ai_memory": [
        [
          {
            "node": "e584cd33-a6da-483f-9de4-4f9e186eb538",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "85a788eb-f660-4537-b9e3-d195ff309f2d": {
      "main": [
        [
          {
            "node": "33806930-5fb1-4ee1-afeb-f0741a6691c7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "58f5ed7f-5508-4802-add9-e732ed02ab70": {
      "ai_tool": [
        [
          {
            "node": "e584cd33-a6da-483f-9de4-4f9e186eb538",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "33806930-5fb1-4ee1-afeb-f0741a6691c7": {
      "main": [
        [
          {
            "node": "e584cd33-a6da-483f-9de4-4f9e186eb538",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "4251d06b-1440-410b-a351-7d1f1033e8e8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 리드 육성, AI 챗봇

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수10
카테고리2
노드 유형10
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Ahmed Saadawi

Ahmed Saadawi

@ahmedsaadawi

CRM consultant and automation expert with 15+ years of experience building AI-powered, no-code workflows for sales, support, and operations. Open to collaboration or custom solutions — let’s connect!

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34