AIマーケティングエージェント:Reddit + OpenRouter + Gmail によるリードジェネレーション

上級

これはSales, AI, Marketing分野の自動化ワークフローで、23個のノードを含みます。主にIf, Set, Code, Gmail, Mergeなどのノードを使用、AI技術を活用したスマート自動化を実現。 AIマーケティングエージェント:Reddit、OpenRouter、Gmailを活用したリードジェネレーション

前提条件
  • Googleアカウント + Gmail API認証情報
  • Google Sheets API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "5b9aff0ecdeb17791c04b93eac72e39e69151cfa63708980e5d936abe9308b8c",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "36cb5d98-8d20-426c-a965-bac91a63847e",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3200,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "59126319-3736-49f9-bb0e-8ec4ae083f89",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ee0879ad-783a-44ce-a78b-e9983eed0c55",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2300,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f5d37f76-4b82-4578-b272-17a5e33b99df",
      "name": "OpenRouter チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -3160,
        1060
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3ad7fb9f-0cc9-4bd0-a137-021a334196dc",
      "name": "HTTP リクエスト",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -3020,
        1060
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ab1a88b8-ce11-47f0-a457-2ac8d804c490",
      "name": "構造化出力パーサー",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -2860,
        1060
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0e7c8c05-e5e0-4cdd-b2fb-4dc35b790403",
      "name": "競合分析",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1600,
        960
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "76012b18-8116-4e00-92b6-172d2aa91246",
      "name": "キーワード分析",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -3100,
        840
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "6bf11038-0cd9-4531-a171-a02742e4c515",
      "name": "出力の分割",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -2720,
        840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "405f06b7-1362-4f4e-98de-0d62ef4835b7",
      "name": "投稿取得",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -2500,
        840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6f9a6c87-1510-4338-b417-cd89943e31d4",
      "name": "メールHTML生成",
      "type": "n8n-nodes-base.code",
      "position": [
        -360,
        840
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 2
    },
    {
      "id": "2b043745-d653-451d-8b44-a10643d782ba",
      "name": "データ追加",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -580,
        840
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 4.5
    },
    {
      "id": "ad4dd6ef-b49e-48ab-9c05-a78ed4f19d4f",
      "name": "OpenRouter",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -1640,
        1140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "06bb27c4-a0e1-43e5-9270-7d683e28023a",
      "name": "構造化出力パーサー2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1400,
        1140
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d2d9357d-d114-4fec-b313-9d078d227a28",
      "name": "重複削除",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        -2280,
        840
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "09fe6bbd-51d1-4620-baeb-c311ee40963e",
      "name": "フォーム",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -3520,
        840
      ],
      "webhookId": "52e97f2f-4224-440b-8339-a28b09f86efb",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b859872c-21db-4655-8423-2a202eb9a6bc",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3700,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e6d65d05-ac6e-4398-bf73-6389bc5ca680",
      "name": "保持フィールドを選択",
      "type": "n8n-nodes-base.set",
      "position": [
        -1800,
        820
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "01c6bb02-ab14-4be4-84bc-d45ce4e09986",
      "name": "条件で投稿をフィルター",
      "type": "n8n-nodes-base.if",
      "position": [
        -2040,
        840
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "4e7765c8-cda8-493b-bed8-d19c082a9711",
      "name": "出力をマージ",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1244,
        840
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "df696cb9-11b1-4489-812d-1590e5a640ed",
      "name": "AIエージェント出力のフィールド名を変更",
      "type": "n8n-nodes-base.set",
      "position": [
        -1024,
        840
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "45a0f8a8-8e0b-4290-8f59-cdb0748e2516",
      "name": "関連投稿をフィルター",
      "type": "n8n-nodes-base.if",
      "position": [
        -804,
        840
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b57880d4-f866-47a5-8140-1c95e1efa40c",
      "name": "メール送信",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -140,
        840
      ],
      "webhookId": "fe12268a-e890-4fb5-a398-6d943971e38b",
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 2.1
    }
  ],
  "pinData": {},
  "connections": {
    "09fe6bbd-51d1-4620-baeb-c311ee40963e": {
      "main": [
        [
          {
            "node": "76012b18-8116-4e00-92b6-172d2aa91246",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "405f06b7-1362-4f4e-98de-0d62ef4835b7": {
      "main": [
        [
          {
            "node": "d2d9357d-d114-4fec-b313-9d078d227a28",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6bf11038-0cd9-4531-a171-a02742e4c515": {
      "main": [
        [
          {
            "node": "405f06b7-1362-4f4e-98de-0d62ef4835b7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2b043745-d653-451d-8b44-a10643d782ba": {
      "main": [
        [
          {
            "node": "6f9a6c87-1510-4338-b417-cd89943e31d4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ad4dd6ef-b49e-48ab-9c05-a78ed4f19d4f": {
      "ai_languageModel": [
        [
          {
            "node": "0e7c8c05-e5e0-4cdd-b2fb-4dc35b790403",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "3ad7fb9f-0cc9-4bd0-a137-021a334196dc": {
      "ai_tool": [
        [
          {
            "node": "76012b18-8116-4e00-92b6-172d2aa91246",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "4e7765c8-cda8-493b-bed8-d19c082a9711": {
      "main": [
        [
          {
            "node": "df696cb9-11b1-4489-812d-1590e5a640ed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "76012b18-8116-4e00-92b6-172d2aa91246": {
      "main": [
        [
          {
            "node": "6bf11038-0cd9-4531-a171-a02742e4c515",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d2d9357d-d114-4fec-b313-9d078d227a28": {
      "main": [
        [
          {
            "node": "01c6bb02-ab14-4be4-84bc-d45ce4e09986",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0e7c8c05-e5e0-4cdd-b2fb-4dc35b790403": {
      "main": [
        [
          {
            "node": "4e7765c8-cda8-493b-bed8-d19c082a9711",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "6f9a6c87-1510-4338-b417-cd89943e31d4": {
      "main": [
        [
          {
            "node": "b57880d4-f866-47a5-8140-1c95e1efa40c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e6d65d05-ac6e-4398-bf73-6389bc5ca680": {
      "main": [
        [
          {
            "node": "0e7c8c05-e5e0-4cdd-b2fb-4dc35b790403",
            "type": "main",
            "index": 0
          },
          {
            "node": "4e7765c8-cda8-493b-bed8-d19c082a9711",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "45a0f8a8-8e0b-4290-8f59-cdb0748e2516": {
      "main": [
        [
          {
            "node": "2b043745-d653-451d-8b44-a10643d782ba",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f5d37f76-4b82-4578-b272-17a5e33b99df": {
      "ai_languageModel": [
        [
          {
            "node": "76012b18-8116-4e00-92b6-172d2aa91246",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "01c6bb02-ab14-4be4-84bc-d45ce4e09986": {
      "main": [
        [
          {
            "node": "e6d65d05-ac6e-4398-bf73-6389bc5ca680",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ab1a88b8-ce11-47f0-a457-2ac8d804c490": {
      "ai_outputParser": [
        [
          {
            "node": "76012b18-8116-4e00-92b6-172d2aa91246",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "06bb27c4-a0e1-43e5-9270-7d683e28023a": {
      "ai_outputParser": [
        [
          {
            "node": "0e7c8c05-e5e0-4cdd-b2fb-4dc35b790403",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "df696cb9-11b1-4489-812d-1590e5a640ed": {
      "main": [
        [
          {
            "node": "45a0f8a8-8e0b-4290-8f59-cdb0748e2516",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - 営業, 人工知能, マーケティング

有料ですか?

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

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

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34