{
  "name": "LINE Webhook Dispatcher",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "line-webhook",
        "responseMode": "onReceived",
        "options": {}
      },
      "id": "webhook-node",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1.1,
      "position": [
        250,
        300
      ],
      "notes": "LINE Messaging API\u304b\u3089\u306eWebhook\u53d7\u4fe1\uff08\u5168\u30a4\u30d9\u30f3\u30c8\uff09"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "condition-follow",
              "leftValue": "={{ $json.body.events[0].type }}",
              "rightValue": "follow",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "if-follow-event",
      "name": "IF Follow Event",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        450,
        200
      ],
      "notes": "Follow Event\uff08\u53cb\u3060\u3061\u8ffd\u52a0\uff09\u306e\u5224\u5b9a"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "condition-message-type",
              "leftValue": "={{ $json.body.events[0].type }}",
              "rightValue": "message",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            },
            {
              "id": "condition-image-type",
              "leftValue": "={{ $json.body.events[0].message.type }}",
              "rightValue": "image",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "if-image-event",
      "name": "IF Image Event",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        450,
        400
      ],
      "notes": "Image Event\uff08\u753b\u50cf\u30e1\u30c3\u30bb\u30fc\u30b8\uff09\u306e\u5224\u5b9a"
    },
    {
      "parameters": {
        "workflowId": "={{ 'LINE Follow Handler' }}",
        "options": {}
      },
      "id": "execute-follow-handler",
      "name": "Follow Handler\u547c\u3073\u51fa\u3057",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.1,
      "position": [
        650,
        200
      ],
      "notes": "Follow Event\u51e6\u7406\u3092\u5b50\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u59d4\u8b72"
    },
    {
      "parameters": {
        "workflowId": "={{ 'LINE Image Handler' }}",
        "options": {}
      },
      "id": "execute-image-handler",
      "name": "Image Handler\u547c\u3073\u51fa\u3057",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.1,
      "position": [
        650,
        400
      ],
      "notes": "Image Event\u51e6\u7406\u3092\u5b50\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u59d4\u8b72"
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "IF Follow Event",
            "type": "main",
            "index": 0
          },
          {
            "node": "IF Image Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Follow Event": {
      "main": [
        [
          {
            "node": "Follow Handler\u547c\u3073\u51fa\u3057",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Image Event": {
      "main": [
        [
          {
            "node": "Image Handler\u547c\u3073\u51fa\u3057",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [
    {
      "name": "LINE Bot",
      "id": "line-bot"
    }
  ],
  "triggerCount": 0,
  "updatedAt": "2026-01-19T13:45:00.000Z",
  "versionId": "2"
}