태풍_제출
중급
이것은AI, IT Ops분야의자동화 워크플로우로, 8개의 노드를 포함합니다.주로 Code, GoogleSheets, ManualTrigger, ReadWriteFile, ExecuteCommand 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. Typhoon OCR과 Llama 3.1을 사용하여 태국어 문서 추출 및 구조화하고 Google Sheets에 저장
사전 요구사항
- •Google Sheets API 인증 정보
사용된 노드 (8)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "iPCOP0dstJZlKFQS",
"meta": {
"instanceId": "e2034325698638870d6b764285427bad9d79bf1e08a458be597c06e61ad7e545",
"templateCredsSetupCompleted": true
},
"name": "Typhoon_Submit",
"tags": [],
"nodes": [
{
"id": "7d7df2fd-bc12-4850-aa9a-3e318bfed747",
"name": "'워크플로 테스트' 클릭 시",
"type": "n8n-nodes-base.manualTrigger",
"position": [
40,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "58290920-9b18-47dd-82b9-62c340b7ed53",
"name": "OpenRouter 채팅 모델",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
600,
120
],
"parameters": {
"model": "scb10x/llama3.1-typhoon2-70b-instruct",
"options": {}
},
"credentials": {
"openRouterApi": {
"id": "dyclDhheSN7TDEE9",
"name": "OpenRouter account"
}
},
"typeVersion": 1
},
{
"id": "d42f2a8d-7bd5-462d-932c-34ee5de16592",
"name": "Typhoon OCR로 텍스트 추출",
"type": "n8n-nodes-base.executeCommand",
"position": [
420,
0
],
"parameters": {
"command": "=python -c \"import sys, os; os.environ['TYPHOON_OCR_API_KEY'] = '<YourTyphoonKey>'; from typhoon_ocr import ocr_document; sys.stdout.reconfigure(encoding='utf-8'); input_path = sys.argv[1]; text = ocr_document(input_path); print(text)\" \"doc/{{$json[\"fileName\"]}}\"",
"executeOnce": false
},
"typeVersion": 1
},
{
"id": "d6d13619-f704-45d0-85fc-3e5b9dc4bd7a",
"name": "LLM으로 텍스트를 JSON 형식으로 구조화",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
600,
0
],
"parameters": {
"text": "=ข้อความด้านล่างนี้เป็นเนื้อหา OCR จากหนังสือราชการ กรุณาแยกหัวข้อสำคัญออกมาในรูปแบบ JSON:\n\n1. book_id: เลขที่หนังสือ\n2. date: วันที่ในเอกสาร\n3. subject: หัวเรื่อง\n4. to: เรียน\n5. attach: สิ่งที่ส่งมาด้วย\n6. detail: เนื้อความในหนังสือ\n7. signed_by: ผู้ลงนาม\n8. signed_by2: ตำแหน่งผู้ลงนาม\n9. contact: ช่องทางติดต่อ (เช่น เบอร์โทร อีเมล)\n10. download_url: ลิงก์สำหรับดาวน์โหลด (ถ้ามี)\n\nOCR_TEXT:\n\"\"\"\n{{ $json[\"stdout\"] }}\n\"\"\"",
"promptType": "define"
},
"typeVersion": 1.6
},
{
"id": "eaa9580c-9b98-42dc-a164-38430df41459",
"name": "JSON을 시트 형식으로 파싱",
"type": "n8n-nodes-base.code",
"position": [
940,
0
],
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "const raw = $json[\"text\"];\n\n// 1. ลบ ```json และ ``` ที่ LLM อาจใส่มา\nconst cleaned = raw.replace(/```json\\n?|```/g, \"\").trim();\n\nlet parsed;\ntry {\n // 2. แปลงเป็น object\n parsed = JSON.parse(cleaned);\n} catch (err) {\n throw new Error(\"JSON parsing failed: \" + err.message + \"\\n\\nRaw text:\\n\" + cleaned);\n}\n\n// 3. หาก contact เป็น object แยก field ออกมา\nconst contact = parsed.contact || {};\n\nreturn {\n book_id: parsed.book_id || \"\",\n date: parsed.date || \"\",\n subject: parsed.subject || \"\",\n to: parsed.to || \"\",\n attach: parsed.attach || \"\",\n detail: parsed.detail || \"\",\n signed_by: parsed.signed_by || \"\",\n signed_by2: parsed.signed_by2 || \"\",\n contact_phone: contact.phone || \"\",\n contact_email: contact.email || \"\",\n contact_fax: contact.fax || \"\",\n download_url: parsed.download_url || \"\"\n};\n"
},
"typeVersion": 2
},
{
"id": "8e3e5e7e-d329-459e-bd85-31fc2f76144b",
"name": "Google 시트에 저장",
"type": "n8n-nodes-base.googleSheets",
"position": [
1120,
0
],
"parameters": {
"columns": {
"value": {
"to": "={{ $json.to }}",
"date": "={{ $json.date }}",
"attach": "={{ $json.attach }}",
"detail": "={{ $json.detail }}",
"book_id": "={{ $json.book_id }}",
"subject": "={{ $json.subject }}",
"signed_by": "={{ $json.signed_by }}",
"signed_by2": "={{ $json.signed_by2 }}",
"contact_fax": "={{ $json.contact_fax }}",
"download_url": "={{ $json.download_url }}",
"contact_email": "={{ $json.contact_email }}",
"contact_phone": "={{ $json.contact_phone }}"
},
"schema": [
{
"id": "book_id",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "book_id",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "date",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "date",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "subject",
"type": "string",
"display": true,
"required": false,
"displayName": "subject",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "to",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "to",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "attach",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "attach",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "detail",
"type": "string",
"display": true,
"required": false,
"displayName": "detail",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "signed_by",
"type": "string",
"display": true,
"required": false,
"displayName": "signed_by",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "signed_by2",
"type": "string",
"display": true,
"required": false,
"displayName": "signed_by2",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "contact_phone",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "contact_phone",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "contact_email",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "contact_email",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "contact_fax",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "contact_fax",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "download_url",
"type": "string",
"display": true,
"required": false,
"displayName": "download_url",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"book_id"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1h70cJyLj5i2j0Ag5kqp93ccZjjhJnqpLmz-ee5r4brU/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1h70cJyLj5i2j0Ag5kqp93ccZjjhJnqpLmz-ee5r4brU",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1h70cJyLj5i2j0Ag5kqp93ccZjjhJnqpLmz-ee5r4brU/edit?usp=drivesdk",
"cachedResultName": "TyphoonOCR_Extracted_Data"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "Ra2f1dlqOJ13jTtb",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "7b20ef0a-5d1f-4efe-bac3-53ace280cac2",
"name": "doc 폴더에서 PDF 로드",
"type": "n8n-nodes-base.readWriteFile",
"position": [
220,
0
],
"parameters": {
"options": {},
"fileSelector": "doc/*"
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "944977eb-2db6-430f-957e-345541ba8d39",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
-100
],
"parameters": {
"width": 1320,
"height": 360,
"content": "## Thai OCR to Sheet\nThis workflow extracts Thai PDF text using typhoon-ocr, converts it to structured JSON using LLM, and saves the output to Google Sheets. Works with self-hosted n8n only."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "dc1bd760-0abe-4125-b2f6-2eeb4d9b02eb",
"connections": {
"58290920-9b18-47dd-82b9-62c340b7ed53": {
"ai_languageModel": [
[
{
"node": "d6d13619-f704-45d0-85fc-3e5b9dc4bd7a",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"7b20ef0a-5d1f-4efe-bac3-53ace280cac2": {
"main": [
[
{
"node": "d42f2a8d-7bd5-462d-932c-34ee5de16592",
"type": "main",
"index": 0
}
]
]
},
"eaa9580c-9b98-42dc-a164-38430df41459": {
"main": [
[
{
"node": "8e3e5e7e-d329-459e-bd85-31fc2f76144b",
"type": "main",
"index": 0
}
]
]
},
"d42f2a8d-7bd5-462d-932c-34ee5de16592": {
"main": [
[
{
"node": "d6d13619-f704-45d0-85fc-3e5b9dc4bd7a",
"type": "main",
"index": 0
}
]
]
},
"d6d13619-f704-45d0-85fc-3e5b9dc4bd7a": {
"main": [
[
{
"node": "eaa9580c-9b98-42dc-a164-38430df41459",
"type": "main",
"index": 0
}
]
]
},
"7d7df2fd-bc12-4850-aa9a-3e318bfed747": {
"main": [
[
{
"node": "7b20ef0a-5d1f-4efe-bac3-53ace280cac2",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 인공지능, IT 운영
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
자동 견적 비디오 V2_템플릿
AI를 활용한 영화식 견적 비디오 자동 생성 및 YouTube 업로드
Code
Wait
Google Drive
+
Code
Wait
Google Drive
28 노드Jaruphat J.
인공지능
자동 클리핑 – 자동으로 비디오 클립 생성 및 YouTube에 업로드
FFmpeg를 사용하여 태국어 인용문이 포함된 YouTube 동영상 자동 생성 및 업로드
Set
Code
Merge
+
Set
Code
Merge
23 노드Jaruphat J.
제품
법적 사례 연구 추출기, Bright Data MCP와 Google Gemini 데이터 탐색기 사용
법적 사례 연구 추출기, Bright Data MCP와 Google Gemini 데이터 탐색기 사용
Set
Code
Wait
+
Set
Code
Wait
22 노드Ranjan Dailata
인공지능
AI 기반 WooCommerce 제품 가져오기 및 SEO
Google Sheets 기반 AI 기반 WooCommerce 제품 가져오기 도구, Yoast SEO 메타데이터 포함
Code
Telegram
Woo Commerce
+
Code
Telegram
Woo Commerce
16 노드Davide
영업
아마존 제품 검색 크롤러 (BrightData, GPT-4 및 Google Sheets)
BrightData, GPT-4, Google Sheets를 사용한 Amazon 제품 검색 크롤러
Code
Split Out
Http Request
+
Code
Split Out
Http Request
11 노드phil
인공지능
LeadAIgen 베이직
Hunter.io와 Perplexity AI를 사용한 자동 잠재 고객 생성 및 연락처 풍부화
If
Code
Merge
+
If
Code
Merge
64 노드Velebit from Innovatio
영업
워크플로우 정보
난이도
중급
노드 수8
카테고리2
노드 유형8
저자
Jaruphat J.
@jaruphatjProject Manager who passionate about Automation & AI and continuously explore innovative ways to improve business processes through intelligent workflow automation. Let’s connect and automate the future!
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유