{
  "name": "Automatic media download from WhatsApp Business messages with HTTP storage",
  "nodes": [
    {
      "id": "a24e0949-dcf6-48d4-8b9e-ce201e8b87d8",
      "name": "Sticky Note",
      "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."
      }
    },
    {
      "id": "f513cc8b-89d3-4481-b7fa-ac9d33ba8562",
      "name": "Sticky Note1",
      "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."
      }
    },
    {
      "id": "3bae6af6-8858-4da4-ab2c-846a2c3e0ffe",
      "name": "Sticky Note2",
      "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."
      }
    },
    {
      "id": "f694abd7-dacf-41a7-82aa-157bfcf54f83",
      "name": "Trigger WhatsApp Media",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -2280,
        -320
      ]
    },
    {
      "id": "33e74a92-4475-470d-8003-7631ea0b706f",
      "name": "Fetch Media Download URL",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        -1880,
        -320
      ]
    },
    {
      "id": "5e9b09e8-b9d2-4571-a897-d49d32a68c3c",
      "name": "Download Media File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1500,
        -320
      ]
    }
  ],
  "connections": {
    "Trigger WhatsApp Media": {
      "main": [
        [
          {
            "node": "Fetch Media Download URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Media Download URL": {
      "main": [
        [
          {
            "node": "Download Media File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}