Llama-4와 Google 검색 인사이트를 사용하여 WhatsApp AI 어시스턴트 생성
중급
이것은Support Chatbot, AI Chatbot분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 Set, Switch, WhatsApp, Agent, WhatsAppTrigger 등의 노드를 사용하며. LLaMA 4와 Google 검색 통찰을 사용하여 WhatsApp AI 어시스턴트를 만듭니다.
사전 요구사항
- •특별한 사전 요구사항 없이 가져와 바로 사용 가능합니다
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "qnJHaFyEszx8iwZH",
"meta": {
"instanceId": "9c8f658dbece48b519a8ad7757c7d7db7a30c5f3fd29c9dc8afae32fe0c7711a",
"templateCredsSetupCompleted": true
},
"name": "Create a WhatsApp AI Assistant with Llama-4 and Google Search Insights",
"tags": [],
"nodes": [
{
"id": "9e6a8db0-cc1f-44b9-871e-f5f1e1929368",
"name": "AI 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
640,
0
],
"parameters": {
"text": "={{ $json.text }}",
"options": {
"systemMessage": "=You are Seventeen, a friendly and helpful AI assistant created by Manav. \nYou speak in casual AAVE (American tone) with a light sarcastic vibe. \n\nAlternate your greetings (e.g., “yo, what’s poppin’?”, “hey, what’s goin’ on?”) so replies don’t feel repetitive. \nYou are currently talking to {{ $('WhatsApp Trigger').item.json.contacts[0].profile.name }}. \nThe current date and time is {{ $now.toISO() }}. \n\nAvoid writing “G’” at the start of sentences. Keep responses casual but clear.\n"
},
"promptType": "define"
},
"typeVersion": 2.1
},
{
"id": "7f6ef649-57e5-43ae-bf8f-1646a0663089",
"name": "Groq Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGroq",
"position": [
576,
240
],
"parameters": {
"model": "meta-llama/llama-4-scout-17b-16e-instruct",
"options": {}
},
"credentials": {
"groqApi": {
"id": "3Evg0USLHEyRNZzx",
"name": "Groq account"
}
},
"typeVersion": 1
},
{
"id": "71626a55-43af-4846-b401-d6ce65d9193c",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
-16,
-512
],
"parameters": {
"color": 5,
"width": 192,
"height": 656,
"content": "## Node Guide: Input Switch\n\nThis node detects the **type of message** coming from WhatsApp (text or image) and sends it to the correct processing path in the workflow.\n\n- **Text messages** → Sent directly to the AI Agent. \n- **Image messages** → (Future use) Can be extended as per your requirements.\n\nThis helps ensure the workflow handles different input types smoothly.\n\n"
},
"typeVersion": 1
},
{
"id": "c83eb856-3032-436f-9460-4a3540464a01",
"name": "스티키 노트2",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-288
],
"parameters": {
"height": 448,
"content": "## Execution Logic\n\nThis part of the workflow activates **when a text message is detected**. \nIt prepares the message and sends it to the AI Agent node, which generates the reply. \n\nUse this node to **process text inputs only** (images or audio can be added later if needed).\n"
},
"typeVersion": 1
},
{
"id": "d26f1349-7997-4454-8a1f-2067ebc33570",
"name": "스티키 노트3",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
-368
],
"parameters": {
"color": 5,
"width": 432,
"height": 528,
"content": "## Meet Your AI Agent\n\nThis chatbot runs on **Groq’s lightning-fast LLaMA 4 model** and delivers **real-time answers** through Google Search (SerpAPI).\n\n### How it works\n- Responds to **text messages** (images or audio can be added later). \n- Remembers your last **20 messages** for continuous context. \n- Searches Google when it needs fresh info (no outdated responses). \n- Designed to feel like you’re talking to a **real person** — fast, smart, and helpful.\n"
},
"typeVersion": 1
},
{
"id": "171ab986-4378-4975-bbee-255bde19c84b",
"name": "메인 워크플로우 개요",
"type": "n8n-nodes-base.stickyNote",
"position": [
-912,
-576
],
"parameters": {
"width": 656,
"height": 1168,
"content": "## WhatsApp AI Assistant with LLaMA 4 and Google Search\n\n#### This workflow creates a **real-time AI chatbot on WhatsApp** powered by Groq’s **LLaMA 4 model** with **Google Search (SerpAPI)** for fresh insights.\n\n---\n\n### Who’s it for\n- Users who want an AI assistant directly on WhatsApp. \n- Businesses needing real-time FAQ and support automation. \n- Anyone wanting a chatbot that remembers past messages and uses live search.\n\n---\n\n### What it does\n- Connects WhatsApp to **Groq’s LLaMA 4** model for AI responses. \n- Uses **SerpAPI** to fetch **real-time search results** from Google. \n- Maintains **context of the last 20 messages** for continuous conversations(you can increase in the AI agent). \n\n---\n\n### How it works\n1. A user sends a message to your WhatsApp number. \n2. The workflow checks if it’s **text** (images can be added later). \n3. Text is sent to the AI Agent, which uses Groq’s LLaMA 4 for responses. \n4. If real-time info is needed, SerpAPI fetches results from Google. \n5. The reply is composed and sent back to the user via WhatsApp.\n\n---\n\n### Requirements\n- **n8n** (cloud or self-hosted) \n- **WhatsApp Business API** or **Twilio sandbox** \n- **Groq API key** \n- **SerpAPI key** \n\n---\n\n### How to set up\n1. Import this workflow into your n8n instance. \n2. Configure **Groq**, **SerpAPI**, and **WhatsApp** credentials. \n3. Link your WhatsApp webhook to trigger this workflow. \n4. Activate and test by sending a WhatsApp message. \n\n---\n\n### How to customize\n- Change AI personality in the **AI Agent** node’s `systemMessage`. \n- Add extra features like **summarization, translation, or voice handling**. \n- Integrate logging or analytics for chatbot usage tracking.\n"
},
"typeVersion": 1
},
{
"id": "5d89108e-adb6-4b05-80dc-4aeedcd64639",
"name": "입력 기반 라우팅",
"type": "n8n-nodes-base.switch",
"position": [
32,
-16
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "Image",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "57d9036d-3a48-4c8a-b556-98a588d67842",
"operator": {
"type": "object",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.messages[0].image }}",
"rightValue": ""
}
]
},
"renameOutput": true
},
{
"outputKey": "Text",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "fc815250-4b24-4554-8f03-3221eed44682",
"operator": {
"type": "object",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.messages[0].text }}",
"rightValue": ""
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "60cf0325-bb4b-4e6a-9caa-21dd9c05fb51",
"name": "Google 검색",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
912,
240
],
"parameters": {
"options": {}
},
"credentials": {
"serpApi": {
"id": "lJEWi2JA3u32XIG6",
"name": "SerpAPI account"
}
},
"typeVersion": 1
},
{
"id": "b585b12d-3c7b-4ed5-abb4-ba9ed14f45df",
"name": "텍스트 프롬프트 준비",
"type": "n8n-nodes-base.set",
"position": [
304,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "707e792c-1a14-4291-b9bc-e37a740eb5b7",
"name": "text",
"type": "string",
"value": "={{ $json.messages[0].text.body }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "1a3a3c4d-a403-44b6-bb84-d62ddb4d1208",
"name": "대화 메모리",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
752,
240
],
"parameters": {
"sessionKey": "={{ $('WhatsApp Trigger').item.json.messages[0].from }}",
"sessionIdType": "customKey",
"contextWindowLength": 20
},
"typeVersion": 1.3
},
{
"id": "0c9fbba5-ef00-449c-baae-57a9a7628c3b",
"name": "WhatsApp 답변 전송",
"type": "n8n-nodes-base.whatsApp",
"position": [
1072,
0
],
"webhookId": "53c1a722-1692-4bbd-983c-4dd884153d68",
"parameters": {
"textBody": "={{ $json.output }}",
"operation": "send",
"phoneNumberId": "768049963047541",
"additionalFields": {},
"recipientPhoneNumber": "={{ $('WhatsApp Trigger').item.json.messages[0].from }}"
},
"credentials": {
"whatsAppApi": {
"id": "LV22R0NzX9vZLEp9",
"name": "whatsapp_reply"
}
},
"typeVersion": 1
},
{
"id": "49c92b8b-fd42-4119-97c5-68a424acc72d",
"name": "WhatsApp 트리거",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
-176,
-16
],
"webhookId": "ec046705-b8f2-4b88-9b98-4fd99975f432",
"parameters": {
"options": {},
"updates": [
"messages"
]
},
"credentials": {
"whatsAppTriggerApi": {
"id": "yVPQQ9GPjNKE9nkZ",
"name": "whatsApp_OAuth_api"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "1da5761e-3847-4206-a0dd-bfb831bc00ec",
"connections": {
"9e6a8db0-cc1f-44b9-871e-f5f1e1929368": {
"main": [
[
{
"node": "0c9fbba5-ef00-449c-baae-57a9a7628c3b",
"type": "main",
"index": 0
}
]
]
},
"60cf0325-bb4b-4e6a-9caa-21dd9c05fb51": {
"ai_tool": [
[
{
"node": "9e6a8db0-cc1f-44b9-871e-f5f1e1929368",
"type": "ai_tool",
"index": 0
}
]
]
},
"7f6ef649-57e5-43ae-bf8f-1646a0663089": {
"ai_languageModel": [
[
{
"node": "9e6a8db0-cc1f-44b9-871e-f5f1e1929368",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"49c92b8b-fd42-4119-97c5-68a424acc72d": {
"main": [
[
{
"node": "5d89108e-adb6-4b05-80dc-4aeedcd64639",
"type": "main",
"index": 0
}
]
]
},
"1a3a3c4d-a403-44b6-bb84-d62ddb4d1208": {
"ai_memory": [
[
{
"node": "9e6a8db0-cc1f-44b9-871e-f5f1e1929368",
"type": "ai_memory",
"index": 0
}
]
]
},
"b585b12d-3c7b-4ed5-abb4-ba9ed14f45df": {
"main": [
[
{
"node": "9e6a8db0-cc1f-44b9-871e-f5f1e1929368",
"type": "main",
"index": 0
}
]
]
},
"5d89108e-adb6-4b05-80dc-4aeedcd64639": {
"main": [
[],
[
{
"node": "b585b12d-3c7b-4ed5-abb4-ba9ed14f45df",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 지원 챗봇, AI 챗봇
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
기억, Google 스위트, 다양한 AI 연구 이미징을 통합한 WhatsApp 어시스턴트
기억, Google 패키지 및 다양한 AI 연구 이미징을 포함한 WhatsApp 어시스턴트 구축
If
Set
Code
+
If
Set
Code
71 노드Iniyavan JC
AI 챗봇
AI 소셜 미디어 자동 응답 플러그인(Instagram, Facebook 및 WhatsApp)
Llama 3.2 기반 AI 소셜 미디어 메시지 자동 응답 시스템(Instagram, Facebook, WhatsApp)
Code
Switch
Webhook
+
Code
Switch
Webhook
12 노드Oneclick AI Squad
지원 챗봇
J.A.R.V.I.S.
사용법 Telegram에서 OpenAI, SERP 및 벡터 스토리지를 사용하여 전면적인 다중 모달 도우미 구축
If
Set
Code
+
If
Set
Code
48 노드FabioInTech
지원 챗봇
AI와 인텐트 라우팅을 사용하여 왓스앱 고객 상담 처리
AI와 의도 경로를 사용하여 WhatsApp 고객 상담 처리
Code
Switch
Whats App
+
Code
Switch
Whats App
20 노드Hemanth Arety
지원 챗봇
🚀 Shopify 브랜드를 위한 AI 기반 WhatsApp 고객 지원
Shopify 브랜드용 AI 기반 WhatsApp 고객 지원(LLM 에이전트)
Set
Slack
Switch
+
Set
Slack
Switch
30 노드Ruthwik
기타
고급 다중 에이전트 AI 개인 비서 (250+ 작업 능력, WhatsApp + GPT)
高级多에이전트AI个人어시스턴트(250+任务能力,WhatsApp + GPT)
Set
Switch
Whats App
+
Set
Switch
Whats App
213 노드Electrabot
개인 생산성
워크플로우 정보
난이도
중급
노드 수12
카테고리2
노드 유형9
저자
Manav Desai
@manavdesai17Exploring AI and automation with n8n. Here to share builds, learn from the community, and create useful workflows together.
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유