Slackメッセージからメディアファイルをダウンロード

初級

これはBuilding Blocks, AI分野の自動化ワークフローで、4個のノードを含みます。主にHttpRequest, SlackTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 Slackメッセージからメディアファイルをダウンロードする

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • Slack Bot Token または Webhook URL
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "4e229722e6c43a4914d2d66178b48335adf795d73afbee5b0ea0c52938ef4d8e",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "0a986ad8-37ca-4869-9071-2236cefddd49",
      "name": "トリガー Slack ファイルメッセージ",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        -2460,
        -200
      ],
      "webhookId": "88033a8d-c5a4-4226-a742-909e005bb5b3",
      "parameters": {
        "options": {},
        "trigger": [
          "message"
        ],
        "watchWorkspace": true
      },
      "credentials": {
        "slackApi": {
          "id": "5PavU8rt9kHN9pW4",
          "name": "n8n user"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "bb609575-b106-4786-8fe6-85f9eaed45c0",
      "name": "Slack からのメディアダウンロード",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2100,
        -200
      ],
      "parameters": {
        "url": "={{ $('Trigger Slack File Message').item.json.files[0].url_private_download }}",
        "options": {
          "response": {
            "response": {}
          }
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "TTp4u7ld1rzfYb3s",
          "name": "Slack n8n"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "5248c9ad-adbb-419d-a193-cf97efc14541",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2560,
        -260
      ],
      "parameters": {
        "width": 320,
        "height": 220,
        "content": "This node listens for new messages in Slack that include file attachments."
      },
      "typeVersion": 1
    },
    {
      "id": "b363e861-cf22-4be9-a534-414d98190da0",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2180,
        -260
      ],
      "parameters": {
        "width": 320,
        "height": 220,
        "content": "This node downloads the file from the Slack message using the private download URL. "
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "0a986ad8-37ca-4869-9071-2236cefddd49": {
      "main": [
        [
          {
            "node": "bb609575-b106-4786-8fe6-85f9eaed45c0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

初級 - ビルディングブロック, 人工知能

有料ですか?

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

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

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

作成者
Usman Liaqat

Usman Liaqat

@usmanliaqat

Full Stack Website Developer & Automation Expert

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34