개인 정보 보호에 중점을 둔 AI 어시스턴트(Telegram + Ollama + Whisper)
고급
이것은AI Chatbot, Multimodal AI분야의자동화 워크플로우로, 17개의 노드를 포함합니다.주로 If, Switch, Telegram, RenameKeys, HttpRequest 등의 노드를 사용하며. Telegram, Ollama와 Whisper를 사용하여 사생활을 중시하는 AI 어시스턴트를 생성합니다.
사전 요구사항
- •Telegram Bot Token
- •대상 API의 인증 정보가 필요할 수 있음
사용된 노드 (17)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "Rkx3j2cBXiT3NLtq",
"meta": {
"instanceId": "68c78b5f5127dab9c9c85759cf1cc527cbfc0b062ed9029302333429c7a80fff",
"templateCredsSetupCompleted": true
},
"name": "Create a Privacy-Focused AI Assistant with Telegram, Ollama, and Whisper",
"tags": [],
"nodes": [
{
"id": "60ac6d31-82e4-4895-95fd-8c62a635b81b",
"name": "Telegram 트리거",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
0,
-20
],
"webhookId": "5ecca1a2-488b-4ecb-9227-7283aa601b8d",
"parameters": {
"updates": [
"message"
],
"additionalFields": {
"download": true
}
},
"credentials": {
"telegramApi": {
"id": "jF0NoI1ZviINMHer",
"name": "PersonalAssistant"
}
},
"typeVersion": 1.2
},
{
"id": "9a8e1386-d472-4c2c-9f44-f0d8df6d02e0",
"name": "음성 파일 가져오기",
"type": "n8n-nodes-base.telegram",
"position": [
660,
-45
],
"webhookId": "f53d1f07-adb9-4ee8-a5ff-26bd17038cf0",
"parameters": {
"fileId": "={{ $json.message.voice.file_id }}",
"resource": "file"
},
"credentials": {
"telegramApi": {
"id": "jF0NoI1ZviINMHer",
"name": "PersonalAssistant"
}
},
"typeVersion": 1.1
},
{
"id": "f258d1ef-fcab-420a-a7a9-61b7f80cec5d",
"name": "메시지 유형 분기",
"type": "n8n-nodes-base.switch",
"position": [
440,
-120
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "text",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a2d6691c-beed-44d8-a67f-be43b28155df",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.message.text }}",
"rightValue": ""
}
]
},
"renameOutput": true
},
{
"outputKey": "voice",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "6ce5f222-d555-470b-862d-e132b9a5fb72",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.message.voice.file_id }}",
"rightValue": ""
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "2507b938-0a44-44f6-838a-6ccc33e27d24",
"name": "권한 확인 조건문",
"type": "n8n-nodes-base.if",
"position": [
220,
-20
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d2e36e10-3ffc-47ab-bf1a-3c9639b0106a",
"operator": {
"type": "number",
"operation": "equals"
},
"leftValue": "={{ $json.message.from.id }}",
"rightValue": null
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4355f058-2648-408f-ac1b-1b350b6aed10",
"name": "텍스트 메시지 전송",
"type": "n8n-nodes-base.telegram",
"position": [
440,
80
],
"webhookId": "d669815c-1907-472c-a6aa-a2783853642c",
"parameters": {
"text": "I am sorry, you have no access to my services.",
"chatId": "={{ json.message.from.id }}",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "jF0NoI1ZviINMHer",
"name": "PersonalAssistant"
}
},
"typeVersion": 1.2
},
{
"id": "6035caa1-9b21-4401-a92f-5499b536b95d",
"name": "Whisper ASR HTTP 요청",
"type": "n8n-nodes-base.httpRequest",
"position": [
880,
-45
],
"parameters": {
"url": "http://localhost:9000/asr",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"name": "audio_file",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "6bce3f08-cebf-4b45-9b5c-0cf098afbd96",
"name": "텍스트 메시지 전송1",
"type": "n8n-nodes-base.telegram",
"position": [
1696,
-120
],
"webhookId": "3711915e-e974-4fb7-ad40-4403538c1ba1",
"parameters": {
"text": "={{ $json.output }}",
"chatId": "",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "jF0NoI1ZviINMHer",
"name": "PersonalAssistant"
}
},
"typeVersion": 1.2
},
{
"id": "8dce296d-4991-42a0-a87f-bb00a1f6e2d1",
"name": "AI 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1320,
-120
],
"parameters": {
"text": "=You are my personal chatbot assistant.\nMy input: '{{ $json.message.text }}'.\nYour Answer: ",
"options": {},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "f476f17a-2be8-4573-a862-ae32162d3060",
"name": "Ollama 채팅 모델",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
1348,
100
],
"parameters": {
"model": "llama3.2:1b",
"options": {}
},
"credentials": {
"ollamaApi": {
"id": "1gnjAn8BMXTjWvEX",
"name": "Ollama account 2"
}
},
"typeVersion": 1
},
{
"id": "80e6b57c-bd5b-40f3-b6e8-f8014d68e04d",
"name": "단순 메모리",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1468,
100
],
"parameters": {
"sessionKey": "={{ $json.message.text }}",
"sessionIdType": "customKey",
"contextWindowLength": 2
},
"typeVersion": 1.3
},
{
"id": "bafa884d-00e4-4882-8a45-551ebaafeb57",
"name": "변환 키 이름 변경",
"type": "n8n-nodes-base.renameKeys",
"position": [
1100,
-45
],
"parameters": {
"keys": {
"key": [
{
"newKey": "message.text",
"currentKey": "data"
}
]
},
"additionalOptions": {}
},
"typeVersion": 1
},
{
"id": "f2f41dd0-b1f7-4abc-8db4-6539dd1a2288",
"name": "스티커 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-200
],
"parameters": {
"content": "## Telegram Trigger\nStart when Telegram message is received"
},
"typeVersion": 1
},
{
"id": "a02a2a95-6141-4e30-87eb-547c7a8228a3",
"name": "스티커 노트1",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
-300
],
"parameters": {
"content": "## IF\nDetect is message is sent by authorised user"
},
"typeVersion": 1
},
{
"id": "269b02bc-fb27-42a9-9d82-3708f359b812",
"name": "스티커 노트4",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
-260
],
"parameters": {
"content": "## Switch\nDetect if message is a text or audio message"
},
"typeVersion": 1
},
{
"id": "a2fcd43b-828b-472e-9a88-2c0f7b66b927",
"name": "스티커 노트2",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
140
],
"parameters": {
"content": "## Transcription\nTranscribe audio locally with Whisper API"
},
"typeVersion": 1
},
{
"id": "6da6c91c-9be4-4385-b93b-df5f12b4c305",
"name": "스티커 노트5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1320,
-300
],
"parameters": {
"content": "## AI Agent \nFormulate answer from AI Agent"
},
"typeVersion": 1
},
{
"id": "d9cb4fbc-cb85-4381-aa41-b6e548760e07",
"name": "스티커 노트3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
-300
],
"parameters": {
"content": "## Telegram\nSend response to the user"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"executionOrder": "v1"
},
"versionId": "160c1b3b-9a50-44c7-93e3-dd29d0d547c8",
"connections": {
"8dce296d-4991-42a0-a87f-bb00a1f6e2d1": {
"main": [
[
{
"node": "6bce3f08-cebf-4b45-9b5c-0cf098afbd96",
"type": "main",
"index": 0
}
]
]
},
"80e6b57c-bd5b-40f3-b6e8-f8014d68e04d": {
"ai_memory": [
[
{
"node": "8dce296d-4991-42a0-a87f-bb00a1f6e2d1",
"type": "ai_memory",
"index": 0
}
]
]
},
"9a8e1386-d472-4c2c-9f44-f0d8df6d02e0": {
"main": [
[
{
"node": "6035caa1-9b21-4401-a92f-5499b536b95d",
"type": "main",
"index": 0
}
]
]
},
"60ac6d31-82e4-4895-95fd-8c62a635b81b": {
"main": [
[
{
"node": "2507b938-0a44-44f6-838a-6ccc33e27d24",
"type": "main",
"index": 0
}
]
]
},
"f476f17a-2be8-4573-a862-ae32162d3060": {
"ai_languageModel": [
[
{
"node": "8dce296d-4991-42a0-a87f-bb00a1f6e2d1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"f258d1ef-fcab-420a-a7a9-61b7f80cec5d": {
"main": [
[
{
"node": "8dce296d-4991-42a0-a87f-bb00a1f6e2d1",
"type": "main",
"index": 0
}
],
[
{
"node": "9a8e1386-d472-4c2c-9f44-f0d8df6d02e0",
"type": "main",
"index": 0
}
]
]
},
"2507b938-0a44-44f6-838a-6ccc33e27d24": {
"main": [
[
{
"node": "f258d1ef-fcab-420a-a7a9-61b7f80cec5d",
"type": "main",
"index": 0
}
],
[
{
"node": "4355f058-2648-408f-ac1b-1b350b6aed10",
"type": "main",
"index": 0
}
]
]
},
"bafa884d-00e4-4882-8a45-551ebaafeb57": {
"main": [
[
{
"node": "8dce296d-4991-42a0-a87f-bb00a1f6e2d1",
"type": "main",
"index": 0
}
]
]
},
"6035caa1-9b21-4401-a92f-5499b536b95d": {
"main": [
[
{
"node": "bafa884d-00e4-4882-8a45-551ebaafeb57",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
고급 - AI 챗봇, 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
개인笔记 도우미
로컬 LLaMA와 Telegram을 사용하여 오디오 트랙션 포함 개인 메모 생성
If
Switch
Telegram
+
If
Switch
Telegram
17 노드Alberto
개인 생산성
Telegram 포럼 패ulse: Gemini와 Groq AI 모델을 사용한 커뮤니티 모니터링
Telegram 포럼 패스: Gemini와 Groq AI 모델을 사용한 커뮤니티 모니터링
If
Set
Code
+
If
Set
Code
59 노드Nguyen Thieu Toan
기타
Telegram 지원 인계 자동화
GPT4 및 이메일 알림을 사용한 Telegram 지원 AI-인간 전환 자동화
If
Set
Switch
+
If
Set
Switch
40 노드Meelioo
지원 챗봇
레스토랑 예약
AI 기반 레스토랑 예약 시스템, Telegram, 캘린더 및 이메일 알림 통합
Set
Gmail
Switch
+
Set
Gmail
Switch
21 노드Aziz B
AI 챗봇
Notion
Gemini AI를 통해 Telegram에서 Notion으로 콘텐츠 요청 자동화
If
Telegram
Notion Tool
+
If
Telegram
Notion Tool
16 노드Miftah Rahmat
AI 챗봇
펫 그루밍 게시 및 예약 자동화
AI, Facebook 및 Telegram 봇을 사용한 펫 그루밍 게시 및 예약 자동화
If
Set
Switch
+
If
Set
Switch
36 노드Christian Moises
AI 챗봇