8
n8n 한국어amn8n.com

批量 PDF를 Markdown으로 변환 (Google Drive와 LLM 분석)

중급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 8개의 노드를 포함합니다.주로 If, Set, Code, Slack, GoogleDrive 등의 노드를 사용하며. Google Drive와 LLM 기반의 파싱을 사용하여 대량 PDF를 Markdown로 변환

사전 요구사항
  • Slack Bot Token 또는 Webhook URL
  • Google Drive API 인증 정보
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "placeholder"
  },
  "nodes": [
    {
      "id": "info-note",
      "name": "워크플로우 정보",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        250,
        150
      ],
      "parameters": {
        "content": "## Batch PDF Converter\n\nThis workflow converts PDFs to Markdown in bulk.\n\nSupported sources:\n- Direct URLs\n- Google Drive\n- Dropbox\n- Local files"
      },
      "typeVersion": 1
    },
    {
      "id": "google-drive",
      "name": "Google Drive - PDF 목록 조회",
      "type": "n8n-nodes-base.googleDrive",
      "notes": "List all PDFs from specified folder",
      "position": [
        450,
        300
      ],
      "parameters": {
        "fileId": "={{ $json.folderId }}",
        "operation": "list"
      },
      "typeVersion": 1
    },
    {
      "id": "filter-pdfs",
      "name": "PDF 파일만 필터링",
      "type": "n8n-nodes-base.if",
      "position": [
        650,
        300
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.mimeType }}",
              "value2": "application/pdf"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "pdfvector-convert",
      "name": "PDF Vector - Markdown으로 변환",
      "type": "n8n-nodes-pdfvector.pdfVector",
      "notes": "Convert each PDF to Markdown",
      "position": [
        850,
        300
      ],
      "parameters": {
        "useLlm": "auto",
        "resource": "document",
        "operation": "parse",
        "documentUrl": "={{ $json.webViewLink }}"
      },
      "typeVersion": 1
    },
    {
      "id": "prepare-output",
      "name": "출력 준비",
      "type": "n8n-nodes-base.code",
      "position": [
        1050,
        300
      ],
      "parameters": {
        "functionCode": "const fileName = $json.name.replace('.pdf', '.md');\nconst content = $json.content;\nconst metadata = {\n  originalFile: $json.name,\n  convertedAt: new Date().toISOString(),\n  pageCount: $json.pageCount || 'unknown',\n  credits: $json.creditsUsed || 0\n};\n\nreturn {\n  fileName,\n  content,\n  metadata\n};"
      },
      "typeVersion": 1
    },
    {
      "id": "save-markdown",
      "name": "Markdown 파일 저장",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1250,
        300
      ],
      "parameters": {
        "name": "={{ $json.fileName }}",
        "content": "={{ $json.content }}",
        "parents": [
          "{{ $json.outputFolderId }}"
        ],
        "operation": "upload"
      },
      "typeVersion": 1
    },
    {
      "id": "summary-stats",
      "name": "변환 요약",
      "type": "n8n-nodes-base.set",
      "position": [
        1450,
        300
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "summary",
              "value": "=Converted {{ $items().length }} PDFs to Markdown\nTotal credits used: {{ $items().reduce((sum, item) => sum + (item.json.metadata.credits || 0), 0) }}"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "notify-complete",
      "name": "알림 전송",
      "type": "n8n-nodes-base.slack",
      "position": [
        1650,
        300
      ],
      "parameters": {
        "message": "=Batch Conversion Complete!\n\n{{ $json.summary }}\n\nFiles saved to Google Drive.",
        "additionalFields": {}
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "prepare-output": {
      "main": [
        [
          {
            "node": "save-markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "filter-pdfs": {
      "main": [
        [
          {
            "node": "pdfvector-convert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "summary-stats": {
      "main": [
        [
          {
            "node": "notify-complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "save-markdown": {
      "main": [
        [
          {
            "node": "summary-stats",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "google-drive": {
      "main": [
        [
          {
            "node": "filter-pdfs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "pdfvector-convert": {
      "main": [
        [
          {
            "node": "prepare-output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 콘텐츠 제작, 멀티모달 AI

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수8
카테고리2
노드 유형7
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
PDF Vector

PDF Vector

@pdfvector

A fully featured PDF APIs for developers - Parse any PDF or Word document, extract structured data, and access millions of academic papers - all through simple APIs.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34