WhatsApp Business メッセージ自動メディアダウンロード(HTTP ストレージ)
中級
これはBuilding Blocks, Marketing分野の自動化ワークフローで、6個のノードを含みます。主にWhatsApp, HttpRequest, WhatsAppTriggerなどのノードを使用。 WhatsApp Business メッセージから自動のにメディアファイルを HTTP ストレージへダウンロード
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "4e229722e6c43a4914d2d66178b48335adf795d73afbee5b0ea0c52938ef4d8e",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "a24e0949-dcf6-48d4-8b9e-ce201e8b87d8",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2380,
-400
],
"parameters": {
"width": 320,
"height": 240,
"content": "This note indicates that the workflow triggers when a new WhatsApp message with media is received."
},
"typeVersion": 1
},
{
"id": "f513cc8b-89d3-4481-b7fa-ac9d33ba8562",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1980,
-400
],
"parameters": {
"width": 320,
"height": 240,
"content": "This note explains that the media ID is used to retrieve a private URL for downloading the media."
},
"typeVersion": 1
},
{
"id": "3bae6af6-8858-4da4-ab2c-846a2c3e0ffe",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1600,
-400
],
"parameters": {
"width": 320,
"height": 240,
"content": "This note highlights that the media file is downloaded using the retrieved private URL."
},
"typeVersion": 1
},
{
"id": "f694abd7-dacf-41a7-82aa-157bfcf54f83",
"name": "WhatsApp メディアトリガー",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
-2280,
-320
],
"webhookId": "864469fd-2008-445c-83fe-852dac2b236a",
"parameters": {
"options": {},
"updates": [
"messages"
]
},
"credentials": {
"whatsAppTriggerApi": {
"id": "a41n62XWot5Pm1XE",
"name": "WhatsApp OAuth account"
}
},
"typeVersion": 1
},
{
"id": "33e74a92-4475-470d-8003-7631ea0b706f",
"name": "メディアダウンロードURL取得",
"type": "n8n-nodes-base.whatsApp",
"position": [
-1880,
-320
],
"webhookId": "b052dd6a-55b8-4195-a64e-c0088b7419cc",
"parameters": {
"resource": "media",
"operation": "mediaUrlGet",
"mediaGetId": "={{ $json.messages[0].image.id }}"
},
"credentials": {
"whatsAppApi": {
"id": "yVJyvYLlRszyE5sV",
"name": "WhatsApp account"
}
},
"typeVersion": 1
},
{
"id": "5e9b09e8-b9d2-4571-a897-d49d32a68c3c",
"name": "メディアファイルダウンロード",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1500,
-320
],
"parameters": {
"url": "={{ $json.url }}",
"options": {
"response": {
"response": {}
}
},
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpBearerAuth": {
"id": "Ihwbk0P1mYkOZZlr",
"name": "Whatsapp APi Token"
},
"httpHeaderAuth": {
"id": "Rymur2oAzX9lewU9",
"name": "Whatsapp API Token"
}
},
"typeVersion": 4.2
}
],
"pinData": {},
"connections": {
"f694abd7-dacf-41a7-82aa-157bfcf54f83": {
"main": [
[
{
"node": "33e74a92-4475-470d-8003-7631ea0b706f",
"type": "main",
"index": 0
}
]
]
},
"33e74a92-4475-470d-8003-7631ea0b706f": {
"main": [
[
{
"node": "5e9b09e8-b9d2-4571-a897-d49d32a68c3c",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - ビルディングブロック, マーケティング
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
SlackでWhatsAppチャットを集中管理する
SlackでWhatsAppチャットを集中管理
Slack
Filter
Switch
+
Slack
Filter
Switch
20 ノードUsman Liaqat
サポート
Claude AI、DALL-E 画像、Google Sheets で LinkedIn 投稿を自動化して承認
Claude AI、DALL-E 画像、Google Sheets で LinkedIn 投稿を自動承認
Set
Code
Wait
+
Set
Code
Wait
28 ノードUsman Liaqat
人工知能
WA-ロボットモジュール-問卷-v1-データベース-販売-完全版
Postgres において WhatsApp アンケート回答を収集する(「Anketa」モジュール)
If
Set
Switch
+
If
Set
Switch
32 ノードAndrew
営業
Slackメッセージからメディアファイルをダウンロード
Slackメッセージからメディアファイルをダウンロードする
Http Request
Slack Trigger
Http Request
Slack Trigger
4 ノードUsman Liaqat
ビルディングブロック
テキスト、音声、画像、PDF をサポートする RAG を備えた AI 駆動型 WhatsApp チャットボット
テキスト、音声、画像、PDF をサポートする AI 搭載の WhatsApp チャットボット (RAG)
Set
Code
Switch
+
Set
Code
Switch
35 ノードNovaNode
エンジニアリング
最初のWhatsAppチャットボットを構築
最初のWhatsAppチャットボットを構築する
Switch
Whats App
Http Request
+
Switch
Whats App
Http Request
28 ノードJimleuk
営業