ConvertAPIを使用してPPTXをPDFに変換

初級

これはBuilding Blocks分野の自動化ワークフローで、5個のノードを含みます。主にHttpRequest, ManualTrigger, ReadWriteFileなどのノードを使用。 ConvertAPIを使用してPPTXをPDFに変換する

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "1dd912a1610cd0376bae7bb8f1b5838d2b601f42ac66a48e012166bb954fed5a",
    "templateId": "2305"
  },
  "nodes": [
    {
      "id": "853bd85f-66c8-4ed1-bd86-38f7bb24c02c",
      "name": "「Test workflow」をクリックした時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        380,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0c06c484-7f84-48a7-803c-1788c15582d5",
      "name": "結果ファイルをディスクに書き込む",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        980,
        240
      ],
      "parameters": {
        "options": {},
        "fileName": "document.pdf",
        "operation": "write",
        "dataPropertyName": "=data"
      },
      "typeVersion": 1
    },
    {
      "id": "3d75bdd7-5b69-421a-a0e4-a2f123feca08",
      "name": "付箋メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        100
      ],
      "parameters": {
        "width": 218,
        "height": 132,
        "content": "## Authentication\nConversion requests must be authenticated. Please create \n[ConvertAPI account to get authentication secret](https://www.convertapi.com/a/signin)"
      },
      "typeVersion": 1
    },
    {
      "id": "ab417c81-d9ca-4fd2-9f39-d741738f47ee",
      "name": "PPTXファイルをダウンロード",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        580,
        240
      ],
      "parameters": {
        "url": "https://cdn.convertapi.com/public/files/demo.pptx",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "8612be1b-9840-43aa-85c8-6ec1489a5e39",
      "name": "ファイルをPDFに変換",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        780,
        240
      ],
      "parameters": {
        "url": "https://v2.convertapi.com/convert/pptx/to/pdf",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "file",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "=data"
            }
          ]
        },
        "genericAuthType": "httpQueryAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/octet-stream"
            }
          ]
        }
      },
      "credentials": {
        "httpQueryAuth": {
          "id": "WdAklDMod8fBEMRk",
          "name": "Query Auth account"
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2
    }
  ],
  "pinData": {},
  "connections": {
    "ab417c81-d9ca-4fd2-9f39-d741738f47ee": {
      "main": [
        [
          {
            "node": "8612be1b-9840-43aa-85c8-6ec1489a5e39",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8612be1b-9840-43aa-85c8-6ec1489a5e39": {
      "main": [
        [
          {
            "node": "0c06c484-7f84-48a7-803c-1788c15582d5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "853bd85f-66c8-4ed1-bd86-38f7bb24c02c": {
      "main": [
        [
          {
            "node": "ab417c81-d9ca-4fd2-9f39-d741738f47ee",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

初級 - ビルディングブロック

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
初級
ノード数5
カテゴリー1
ノードタイプ4
難易度説明

n8n初心者向け、1-5ノードのシンプルなワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34