Ollama Qwen LLM과 Postgres 메모리 관리 Appian 작업을 사용
중급
이것은AI Chatbot, Multimodal AI분야의자동화 워크플로우로, 13개의 노드를 포함합니다.주로 Set, Webhook, Agent, HttpRequestTool, RespondToWebhook 등의 노드를 사용하며. Ollama Qwen LLM과 Postgres 메모리 관리 Appian 작업
사전 요구사항
- •HTTP Webhook 엔드포인트(n8n이 자동으로 생성)
- •대상 API의 인증 정보가 필요할 수 있음
- •PostgreSQL 데이터베이스 연결 정보
사용된 노드 (13)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"templateCredsSetupCompleted": false
},
"nodes": [
{
"id": "template-vars-0001",
"name": "Template Vars",
"type": "n8n-nodes-base.set",
"position": [
480,
704
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "a1",
"name": "baseUrl",
"type": "string",
"value": "https://YOUR-APP-BASE/suite/webapi"
},
{
"id": "a2",
"name": "defaultBatchSize",
"type": "number",
"value": "10"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "chat-trigger-0001",
"name": "채팅 메시지 수신 시",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
672,
624
],
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "webhook-0001",
"name": "Webhook 트리거",
"type": "n8n-nodes-base.webhook",
"position": [
672,
832
],
"parameters": {
"path": "your-webhook-path",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode",
"authentication": "headerAuth"
},
"typeVersion": 2
},
{
"id": "set-normalize-0001",
"name": "Normalize Chat Input",
"type": "n8n-nodes-base.set",
"position": [
976,
704
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "set-chatInput",
"name": "chatInput",
"type": "string",
"value": "={{ $json?.body?.text || $json?.chatInput || $json.body?.chatInput }}"
},
{
"id": "set-sessionId",
"name": "sessionId",
"type": "string",
"value": "={{ $json?.body?.conversation?.id || $json?.sessionId || $json.body?.sessionId}}"
},
{
"id": "set-username",
"name": "username",
"type": "string",
"value": "={{ $json?.body?.user || $json?.username || 'user@example.com' }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "agent-0001",
"name": "AI 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1360,
704
],
"parameters": {
"options": {
"maxIterations": 15,
"systemMessage": "You are a helpful assistant that can list and create Appian tasks using the provided tools. Keep responses concise and format dates as 'mmmm d, yyyy'.",
"returnIntermediateSteps": true
}
},
"typeVersion": 1.6
},
{
"id": "ollama-llm-0001",
"name": "Ollama 채팅 모델",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
1152,
928
],
"parameters": {
"model": "qwen2.5:7b",
"options": {
"numCtx": 8147
}
},
"typeVersion": 1
},
{
"id": "pg-memory-0001",
"name": "Postgres 채팅 메모리",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
1360,
928
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "tool-list-tasks-0001",
"name": "List Tasks (Appian)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
1600,
928
],
"parameters": {
"url": "={{ $('Template Vars').item.json.baseUrl }}/tasks",
"options": {},
"sendQuery": true,
"authentication": "genericCredentialType",
"genericAuthType": "oAuth2Api",
"queryParameters": {
"parameters": [
{
"name": "username",
"value": "={{ $('Normalize Chat Input').item.json.username }}"
},
{
"name": "startIndex",
"value": "={{ parseInt($fromAI('parameters1_Value', 'First result index, default 1', 'string')) || 1 }}"
},
{
"name": "batchSize",
"value": "={{ parseInt($('Template Vars').item.json.defaultBatchSize) || 10 }}"
}
]
},
"toolDescription": "List all user tasks. Use startIndex and batchSize to page the results."
},
"typeVersion": 4.2
},
{
"id": "tool-list-types-0001",
"name": "List Task Types (Appian)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
1808,
928
],
"parameters": {
"url": "={{ $('Template Vars').item.json.baseUrl }}/tasktypes",
"options": {},
"authentication": "genericCredentialType",
"genericAuthType": "oAuth2Api",
"toolDescription": "Lists all of the available task types."
},
"typeVersion": 4.2
},
{
"id": "tool-create-task-0001",
"name": "Create Task (Appian)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
2032,
928
],
"parameters": {
"url": "={{ $('Template Vars').item.json.baseUrl }}/tasks",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "username",
"value": "={{ $('Normalize Chat Input').item.json.username }}"
},
{
"name": "title",
"value": "={{ $fromAI('parameters1_Value', 'Short task title', 'string') }}"
},
{
"name": "description",
"value": "={{ $fromAI('parameters2_Value', 'Detailed task description', 'string') }}"
},
{
"name": "estimatedHours",
"value": "={{ $fromAI('parameters3_Value', 'Estimated hours (optional)', 'string') }}"
},
{
"name": "estimatedCost",
"value": "={{ $fromAI('parameters4_Value', 'Estimated cost (optional)', 'string') }}"
}
]
},
"genericAuthType": "oAuth2Api",
"toolDescription": "Creates a new task. Execute only once per task."
},
"typeVersion": 4.2
},
{
"id": "set-output-0001",
"name": "Prepare Response",
"type": "n8n-nodes-base.set",
"position": [
1808,
704
],
"parameters": {
"options": {
"dotNotation": true
},
"assignments": {
"assignments": [
{
"id": "set-output",
"name": "output",
"type": "string",
"value": "={{ $json.output }}"
},
{
"id": "set-sessionId-out",
"name": "sessionId",
"type": "string",
"value": "={{ $('Normalize Chat Input').item.json.sessionId }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "respond-0001",
"name": "Respond to Webhook 트리거",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
2048,
704
],
"parameters": {
"options": {}
},
"typeVersion": 1.3
},
{
"id": "note-0001",
"name": "노트s",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
520
],
"parameters": {
"width": 900,
"height": 420,
"content": "Appian Tasks Chat Agent\nThis template shows a local AI chat agent that lists and creates tasks via an Appian-compatible API. Configure Template Vars and attach your own credentials after import."
},
"typeVersion": 1
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "set-normalize-0001",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "set-output-0001",
"type": "main",
"index": 0
}
]
]
},
"set-output-0001": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Ollama Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"tool-list-tasks-0001": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"tool-create-task-0001": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"set-normalize-0001": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Postgres Chat Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"tool-list-types-0001": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "set-normalize-0001",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - AI 챗봇, 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
챗봇 웹훅
Gemini 채팅 인터페이스를 통합한 AI 기반 Gmail 및 캘린더 어시스턴트
Set
Webhook
Gmail Tool
+
Set
Webhook
Gmail Tool
19 노드Praneel S
기타
살롱 예약
AI 기반 살롱 예약 시스템으로, GPT, Google 캘린더 및 이메일 확인 기능을 통합합니다.
Set
Gmail
Switch
+
Set
Gmail
Switch
20 노드Aziz B
AI 챗봇
기억, Google 스위트, 다양한 AI 연구 이미징을 통합한 WhatsApp 어시스턴트
기억, Google 패키지 및 다양한 AI 연구 이미징을 포함한 WhatsApp 어시스턴트 구축
If
Set
Code
+
If
Set
Code
71 노드Iniyavan JC
AI 챗봇
내부 문서 채팅
Ollama, Supabase 벡터 데이터베이스, Google Drive를 사용하여 내부 문서와 대화합니다.
Set
Switch
Webhook
+
Set
Switch
Webhook
29 노드Lakindu Siriwardana
내부 위키
WHMCS를 사용한 도메인 사용 가능성 확인 - 템플릿
Google Gemini와 WHMCS를 사용한 도메인 사용 가능성 확인 챗봇
Webhook
Agent
Http Request Tool
+
Webhook
Agent
Http Request Tool
8 노드Muhammad Omer Fayyaz
AI 챗봇
채팅과 Webhook을 사용하여 자연어 AI 어시스턴트로 Asana 프로젝트 관리
채팅과 Webhook을 사용하여 자연어 AI 어시스턴트를 통해 Asana 프로젝트 관리
Set
Webhook
Asana Tool
+
Set
Webhook
Asana Tool
17 노드David Ashby
AI 챗봇