{
  "name": "\u554f\u3044\u5408\u308f\u305b\u30e1\u30fc\u30eb\u81ea\u52d5\u632f\u308a\u5206\u3051\uff06\u8fd4\u4fe1\u30c9\u30e9\u30d5\u30c8\u751f\u6210",
  "nodes": [
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyX",
              "value": 15
            }
          ]
        },
        "filters": {
          "q": "is:unread to:info@yourdomain.com"
        },
        "options": {}
      },
      "id": "gmail-trigger",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "typeVersion": 1.1,
      "position": [
        160,
        240
      ],
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "models/gemini-2.5-flash",
          "mode": "list",
          "cachedResultName": "models/gemini-2.5-flash"
        },
        "messages": {
          "values": [
            {
              "content": "=\u3042\u306a\u305f\u306f\u4f01\u696d\u306e\u512a\u79c0\u306a\u30ab\u30b9\u30bf\u30de\u30fc\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u8005\u3067\u3059\u3002\n\u4ee5\u4e0b\u306e\u300c\u304a\u5ba2\u69d8\u304b\u3089\u306e\u554f\u3044\u5408\u308f\u305b\u30e1\u30fc\u30eb\u300d\u3092\u8aad\u307f\u3001\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n\u3010\u4ef6\u540d\u3011\n{{ $json.snippet }}\n\n\u3010\u672c\u6587\u3011\n{{ $json.textPlain }}\n\n\u3010\u51fa\u529b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3011\uff08\u203b\u524d\u7f6e\u304d\u3084\u6328\u62f6\u306f\u4e0d\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u9805\u76ee\u306e\u307f\u3092\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff09\n\n1. \ud83d\udcca \u5206\u985e\uff1a[\u55b6\u696d\u6848\u4ef6 / \u8cea\u554f\u30fb\u30b5\u30dd\u30fc\u30c8 / \u30af\u30ec\u30fc\u30e0 / \u55b6\u696d\u30e1\u30fc\u30eb(\u30b9\u30d1\u30e0) / \u305d\u306e\u4ed6] \u306e\u4e2d\u304b\u3089\u6700\u3082\u9069\u5207\u306a\u3082\u306e\u30921\u3064\u9078\u629e\u3002\n2. \ud83c\udfe2 \u9001\u4fe1\u8005\uff1a[\u4f1a\u793e\u540d\u3068\u6c0f\u540d\u3092\u62bd\u51fa\u3002\u4e0d\u660e\u306a\u5834\u5408\u306f\u300c\u4e0d\u660e\u300d]\n3. \ud83d\udcdd \u8981\u7d04\uff1a[\u30e1\u30fc\u30eb\u306e\u8981\u4ef6\u30923\u884c\u4ee5\u5185\u306e\u7b87\u6761\u66f8\u304d\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u8981\u7d04]\n4. \u2709\ufe0f \u8fd4\u4fe1\u30c9\u30e9\u30d5\u30c8\uff1a\n[\u3053\u306e\u30e1\u30fc\u30eb\u306b\u5bfe\u3059\u308b\u4e01\u5be7\u306a\u8fd4\u4fe1\u6587\u306e\u30c9\u30e9\u30d5\u30c8\uff08\u4e0b\u66f8\u304d\uff09\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4ef6\u540d\u3084\u6328\u62f6\u3082\u542b\u3081\u3001\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3057\u3066\u4f7f\u3048\u308b\u30ec\u30d9\u30eb\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b9\u30d1\u30e0\u3084\u660e\u3089\u304b\u306a\u55b6\u696d\u30e1\u30fc\u30eb\u306e\u5834\u5408\u306f\u300c\u8fd4\u4fe1\u4e0d\u8981\u300d\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002]"
            }
          ]
        },
        "options": {}
      },
      "id": "gemini-analysis",
      "name": "Gemini: Analyze & Draft",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "typeVersion": 1,
      "position": [
        400,
        240
      ],
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "channel": "YOUR_CHANNEL_ID",
        "text": "=\ud83d\udea8 *\u65b0\u3057\u3044\u554f\u3044\u5408\u308f\u305b\u3092\u53d7\u4fe1\u3057\u307e\u3057\u305f\uff01*\n\n{{ $json.content.parts[0].text }}",
        "otherOptions": {}
      },
      "id": "slack-notification",
      "name": "Slack Notification",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.2,
      "position": [
        640,
        240
      ],
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Gemini: Analyze & Draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini: Analyze & Draft": {
      "main": [
        [
          {
            "node": "Slack Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}