PDFをマージ1
中級
これはIT Ops分野の自動化ワークフローで、7個のノードを含みます。主にMerge, HttpRequest, ManualTrigger, ReadWriteFile, MergePdfsなどのノードを使用。 CustomJS APIを使用して複数のPDFファイルを結合
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "MVPlLz3CiQok6rXy",
"meta": {
"instanceId": "7599ed929ea25767a019b87ecbc83b90e16a268cb51892887b450656ac4518a2",
"templateCredsSetupCompleted": true
},
"name": "Merge PDFs",
"tags": [],
"nodes": [
{
"id": "282b146b-ee58-4089-9ee6-94b153024bfa",
"name": "「Test workflow」クリック時",
"type": "n8n-nodes-base.manualTrigger",
"position": [
740,
-40
],
"parameters": {},
"typeVersion": 1
},
{
"id": "39a37abd-924f-474c-8dde-7536170797f2",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
-140
],
"parameters": {
"url": "=https://www.intewa.com/fileadmin/documents/pdf-file.pdf",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "b2359766-896f-4966-873e-b2dc0ee4f684",
"name": "HTTP Request2",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
60
],
"parameters": {
"url": "=https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "7f70b25c-a171-4a7c-8067-141ce3275226",
"name": "マージ",
"type": "n8n-nodes-base.merge",
"position": [
1180,
-40
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "183b90b4-5f22-4ff8-b47f-96b7c4d522d7",
"name": "PDFマージ1",
"type": "@custom-js/n8n-nodes-pdf-toolkit.mergePdfs",
"position": [
1400,
-40
],
"parameters": {},
"credentials": {
"customJsApi": {
"id": "h29wo2anYKdANAzm",
"name": "CustomJS account"
}
},
"typeVersion": 1
},
{
"id": "131474f2-c6ca-4d1f-ba49-1f2f6d91394a",
"name": "ディスクからのファイル読み書き",
"type": "n8n-nodes-base.readWriteFile",
"position": [
1620,
-40
],
"parameters": {
"options": {},
"fileName": "test.pdf",
"operation": "write"
},
"typeVersion": 1
},
{
"id": "a86ddc41-60aa-482c-90f2-8eacc6bb0a9b",
"name": "ディスクからのファイル読み書き4",
"type": "n8n-nodes-base.readWriteFile",
"position": [
1840,
-40
],
"parameters": {
"options": {},
"fileSelector": "test.pdf"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "02f73022-a678-4660-ab1d-3531e4848cba",
"connections": {
"7f70b25c-a171-4a7c-8067-141ce3275226": {
"main": [
[
{
"node": "183b90b4-5f22-4ff8-b47f-96b7c4d522d7",
"type": "main",
"index": 0
}
]
]
},
"183b90b4-5f22-4ff8-b47f-96b7c4d522d7": {
"main": [
[
{
"node": "131474f2-c6ca-4d1f-ba49-1f2f6d91394a",
"type": "main",
"index": 0
}
]
]
},
"39a37abd-924f-474c-8dde-7536170797f2": {
"main": [
[
{
"node": "7f70b25c-a171-4a7c-8067-141ce3275226",
"type": "main",
"index": 0
}
]
]
},
"b2359766-896f-4966-873e-b2dc0ee4f684": {
"main": [
[
{
"node": "7f70b25c-a171-4a7c-8067-141ce3275226",
"type": "main",
"index": 1
}
]
]
},
"131474f2-c6ca-4d1f-ba49-1f2f6d91394a": {
"main": [
[
{
"node": "a86ddc41-60aa-482c-90f2-8eacc6bb0a9b",
"type": "main",
"index": 0
}
]
]
},
"282b146b-ee58-4089-9ee6-94b153024bfa": {
"main": [
[
{
"node": "39a37abd-924f-474c-8dde-7536170797f2",
"type": "main",
"index": 0
},
{
"node": "b2359766-896f-4966-873e-b2dc0ee4f684",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - IT運用
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
CustomJS APIを使用して複数のPDFファイルをダウンロード・結合
URL から複数の PDF ファイルをダウンロードして結合する CustomJS API
Code
Split Out
Http Request
+
Code
Split Out
Http Request
7 ノードCustomJS
その他
ワークフロー6
PDFから特定のページをCustomJS APIで抽出
Http Request
Manual Trigger
Extract Pages
Http Request
Manual Trigger
Extract Pages
3 ノードCustomJS
デザイン
Bright Data MCPサーバーとGoogle Geminiを使ったLinkedInウェブスクレイピング
Bright Data MCPサーバーとGoogle Geminiを使用したLinkedInデータの抽出・変換
Set
Code
Merge
+
Set
Code
Merge
20 ノードRanjan Dailata
人工知能
PDF からテキストに変換
CustomJS API を使って HTML を PDF に変換し、PDF からテキストを抽出
Code
Manual Trigger
Html2 Pdf
+
Code
Manual Trigger
Html2 Pdf
5 ノードCustomJS
デザイン
HTML を PDF に変換し、ファイルを圧縮する(CustomJS API を使用)
CustomJS API を使って HTML を PDF に変換し、ファイルを圧縮
Code
Manual Trigger
Html2 Pdf
+
Code
Manual Trigger
Html2 Pdf
9 ノードCustomJS
デザイン
AI スマートアシスタント: Supabase ストレージと Google Drive ファイルとの対話
AIワンチャットボット:SupabaseストレージとGoogle Driveのファイルと対話
If
Set
Wait
+
If
Set
Wait
62 ノードMark Shcherbakov
エンジニアリング