자동 PDF 转 HTML 변환
중급
이것은Building Blocks분야의자동화 워크플로우로, 7개의 노드를 포함합니다.주로 If, Code, GoogleDrive, HttpRequest, GoogleDriveTrigger 등의 노드를 사용하며. PDF.co와 Google Drive를 사용하여 PDF를 HTML로 변환
사전 요구사항
- •Google Drive API 인증 정보
- •대상 API의 인증 정보가 필요할 수 있음
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "3McL3itHTso0Cy10",
"meta": {
"instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
"templateCredsSetupCompleted": true
},
"name": "Automated PDF to HTML Conversion",
"tags": [],
"nodes": [
{
"id": "43950636-79d1-43c3-b5a1-44ace016257d",
"name": "Google 드라이브 Trigger",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
0,
0
],
"parameters": {
"event": "fileCreated",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "url",
"value": ""
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "",
"name": ""
}
},
"typeVersion": 1
},
{
"id": "b5e1c616-a809-4e38-a1dd-0f91123bd846",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
220,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "4fd733d3-d393-4aea-bc25-c1e8bda32b54",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.mimeType }}",
"rightValue": "application/pdf"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "d13a2481-9c21-43f0-beb8-1881b6a6843b",
"name": "HTTP 요청",
"type": "n8n-nodes-base.httpRequest",
"position": [
480,
-20
],
"parameters": {
"url": "https://api.pdf.co/v1/pdf/convert/to/html",
"method": "POST",
"options": {
"redirect": {
"redirect": {}
}
},
"sendBody": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $json.webViewLink }}"
},
{
"name": "inline",
"value": "true"
},
{
"name": "async",
"value": false
},
{
"name": "unwrap"
},
{
"name": "pages",
"value": "0-"
},
{
"name": "rect"
},
{
"name": "async",
"value": "false"
},
{
"name": "name",
"value": "result.csv"
},
{
"name": "password"
},
{
"name": "lineGrouping"
},
{
"name": "profiles"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "zTHQFpHDdUNXJ49g",
"name": "Header Auth account 2"
}
},
"typeVersion": 4.2
},
{
"id": "66d49dae-d282-4854-8674-69784110ee0b",
"name": "Google 드라이브",
"type": "n8n-nodes-base.googleDrive",
"position": [
1080,
-20
],
"parameters": {
"name": "sample.html",
"driveId": {
"__rl": true,
"mode": "url",
"value": "",
"__regex": "https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "url",
"value": ""
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "",
"name": ""
}
},
"typeVersion": 3
},
{
"id": "461222d4-7a73-412f-aceb-81745f17f7ea",
"name": "Convert to Binary File",
"type": "n8n-nodes-base.code",
"position": [
780,
-20
],
"parameters": {
"jsCode": "// Convert the HTML string to a Buffer\nconst buffer = Buffer.from($json.body, 'utf-8');\n\n// Return the buffer as binary data\nreturn [\n {\n binary: {\n data: {\n data: buffer.toString('base64'), // Convert buffer to base64 string\n mimeType: 'text/html',\n fileName: 'sample.html'\n }\n }\n }\n];\n"
},
"typeVersion": 2
},
{
"id": "543dd2ff-011f-4f83-a5c7-ffb80fc3910d",
"name": "메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-120
],
"parameters": {
"width": 1340,
"height": 280,
"content": "## Automated PDF to HTML Conversion\n"
},
"typeVersion": 1
},
{
"id": "f0d02b89-71d2-4239-833d-9e5235024291",
"name": "메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
200
],
"parameters": {
"width": 1340,
"height": 180,
"content": "## Description: \nThis n8n workflow automates the process of converting a newly stored PDF file from Google Drive into an HTML file and saving it back to Google Drive. The workflow is triggered whenever a new PDF is uploaded to a specific folder, ensuring seamless conversion and storage without any manual intervention.\n\nThis workflow provides an efficient, automated solution for converting PDFs to HTML, eliminating the need for manual file handling and ensuring a smooth document transformation process. It is particularly useful for scenarios where PDFs need to be dynamically converted and stored in an organized manner for web usage, archiving, or further processing.\n\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "224c9b46-dc5e-44de-8ec4-956d48f4f4f1",
"connections": {
"b5e1c616-a809-4e38-a1dd-0f91123bd846": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "461222d4-7a73-412f-aceb-81745f17f7ea",
"type": "main",
"index": 0
}
]
]
},
"Google Drive Trigger": {
"main": [
[
{
"node": "b5e1c616-a809-4e38-a1dd-0f91123bd846",
"type": "main",
"index": 0
}
]
]
},
"461222d4-7a73-412f-aceb-81745f17f7ea": {
"main": [
[
{
"node": "Google Drive",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 빌딩 블록
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
[템플릿] AI 반려동물 가게 v8
🐶 AI 펫 샵 어시스턴트 - GPT-4o, Google 캘린더 및 WhatsApp/Instagram/Facebook 통합
If
N8n
Set
+
If
N8n
Set
244 노드Amanda Benks
영업
HTTP Last-Modified 확인을 사용하여 Google Sheets에서 채용 공고 만료 및 새로고침 알림 가져오기
Google Sheets, HTTP 확인 및 Gmail을 통한 채용 공고 만료 알림 자동화
If
Set
Code
+
If
Set
Code
19 노드WeblineIndia
인사
API, 이메일, Google Drive를 사용하여 주간 에너지 소비 보고서 생성
EnergiDataService, 이메일, Google Drive를 사용하여 주간 에너지 소비 보고서 생성
Code
Cron
Email Send
+
Code
Cron
Email Send
12 노드WeblineIndia
문서 추출
(Tung) OCR 송장 추출로 스프레드시트 사본
자동 인보이스 및 영수증 OCR to Google 시트 - Drive, Gmail 및 Telegram 트리거 지원
If
Set
Code
+
If
Set
Code
25 노드Daniel Ng
금융
Google Maps, GPT-4, WhatsApp을 사용한 비즈니스 파트너 확장 자동화
Google Maps, GPT-4, WhatsApp을 사용한 비즈니스 파트너 확장 자동화
If
Set
Code
+
If
Set
Code
64 노드Khairul Muhtadin
AI 챗봇
고객에게 인보이스 자동 발송
OCR.Space, GPT-4 및 Google Drive에서 Gmail로 인보이스 처리 자동화
If
Set
Code
+
If
Set
Code
29 노드Michael Taleb
AI 요약
워크플로우 정보
난이도
중급
노드 수7
카테고리1
노드 유형6
저자
WeblineIndia
@weblineindiaA Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유