MailChimp自動化

上級

これはAI, Marketing分野の自動化ワークフローで、43個のノードを含みます。主にIf, Set, Code, Gmail, Mergeなどのノードを使用、AI技術を活用したスマート自動化を実現。 基于AIの餐厅通讯ジェネレーター,統合MailchimpとTelegram审批

前提条件
  • Googleアカウント + Gmail API認証情報
  • Telegram Bot Token
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
  • Anthropic API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "H9a2qfzSXSNRlDeI",
  "meta": {
    "instanceId": "c69b32bb34544699586a978198676429d54f399282874c803992bc6f63607070",
    "templateCredsSetupCompleted": true
  },
  "name": "MailChimp_Automation",
  "tags": [],
  "nodes": [
    {
      "id": "003fc957-1e8a-4369-9381-ae914331be4a",
      "name": "Restaurant Newsletter Expert",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        260,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "00fd66ec-3f0f-4f61-8263-ceecb90a2431",
      "name": "OpenAI チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        260,
        180
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "cf94538d-1a54-4378-8b5f-2edc5bc67dec",
      "name": "Newsletter Section Planner",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        600,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "93b8121b-cd8f-4f34-afff-a1e80ebcf178",
      "name": "Split Newsletter Sections",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        920,
        -20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "103c994b-d80a-4fbc-a934-3ad5bab3bad1",
      "name": "Restaurant Content Research Team",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1080,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "edf06eb5-feee-46fd-ac2f-e45afc1d29ca",
      "name": "マージ Research Content",
      "type": "n8n-nodes-base.merge",
      "position": [
        1600,
        140
      ],
      "parameters": {},
      "typeVersion": 3,
      "alwaysOutputData": true
    },
    {
      "id": "563b479f-1e3c-43d1-9cfd-6d04637ae6a1",
      "name": "集計 Newsletter Content",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1760,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d798ec57-8633-48a1-a931-466cd8460039",
      "name": "Final Newsletter Editor",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3500,
        200
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "775cf71f-e94d-429d-9089-3d057d7dbfe3",
      "name": "Enhanced Workflow Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -780,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bde3fb8d-9b63-4abf-a264-9a17939aa7d6",
      "name": "OpenAI チャットモデル1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3480,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0c83f4d2-58fa-452e-9b47-ecd706f342a6",
      "name": "Tavily1",
      "type": "@tavily/n8n-nodes-tavily.tavilyTool",
      "position": [
        380,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "87380743-0f25-4930-9582-907e2ad7a8a5",
      "name": "Tavily",
      "type": "@tavily/n8n-nodes-tavily.tavilyTool",
      "position": [
        680,
        340
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3153fc91-0c07-4d1f-b941-60eccc6719fc",
      "name": "コード",
      "type": "n8n-nodes-base.code",
      "position": [
        1420,
        -20
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4daded6e-0343-4f9e-a8bb-69fe98fcdfba",
      "name": "Send_Campaign",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5140,
        -60
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "62b243f9-482e-477a-92df-92fb29fc0a7d",
      "name": "Create_Campaign",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4760,
        -60
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "bff1e373-d41e-46b6-9bb6-5a17105d3597",
      "name": "設定 Intent",
      "type": "n8n-nodes-base.set",
      "position": [
        2340,
        60
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2e7b5279-0073-4cdb-beb2-ccb296385322",
      "name": "HITL",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2580,
        60
      ],
      "webhookId": "06135021-087d-4558-be06-94de90f2f053",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e01808a4-e3e7-4346-acf2-57e8d6524c26",
      "name": "Check Feedback",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        2840,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "527085f8-41f6-4f4b-8e27-2dd8ea9747cb",
      "name": "Correction エージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2840,
        320
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "978841c6-a948-4383-bf16-7dfe041cbf58",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5380,
        -60
      ],
      "webhookId": "14137681-b74c-43ec-8e08-eb2030b7663a",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6d7bd74f-03be-4422-80f6-abcf608f6028",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4460,
        -140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2b768b0a-ed7f-4d05-a4a4-281a2ab87623",
      "name": "Feedback AI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2560,
        320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "b52ab57d-4ae2-4b8b-8af1-6f8ae4a49e17",
      "name": "Determine Schedule Name",
      "type": "n8n-nodes-base.code",
      "position": [
        440,
        1200
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "79471c6e-384b-4f6d-9cc4-63c20e6851bf",
      "name": "Prompt for Topic on Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        680,
        1200
      ],
      "webhookId": "f269a0c8-7af0-4132-8608-026e51d6d3f9",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "971073dd-e54f-49ed-83fe-1c6be7b27620",
      "name": "Listen for Topic Reply",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -260,
        160
      ],
      "webhookId": "telegram-topic-reply-webhook",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1e94e6f5-add3-4f21-a3e9-cf75ad7c6bbb",
      "name": "Check if Message is a Reply",
      "type": "n8n-nodes-base.if",
      "position": [
        -100,
        160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "292f3279-328e-4596-9e64-47afb62cc81d",
      "name": "設定 Topic from Reply",
      "type": "n8n-nodes-base.set",
      "position": [
        100,
        180
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "67659bc8-87ef-4f9a-b453-85d32938a1f8",
      "name": "Part 1 Docs",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -780,
        1140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d5785f85-7e39-4fc5-aafc-d04897f748fc",
      "name": "Part 2 Docs",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7bd0e35e-8e48-4503-945b-830d51fa0b68",
      "name": "Monday 9am Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -240,
        1740
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "10328ee9-cc04-4e8b-b3b1-60c4db391f3b",
      "name": "Tuesday 4pm Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -220,
        1100
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c8b1f200-c253-49b3-be63-086103aa041d",
      "name": "Friday 2pm Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -240,
        1300
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "59a5c07a-bae0-497d-8c58-807ee8d877f5",
      "name": "Saturday 2pm Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -240,
        1500
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "5af3d0fe-82c0-46a0-8e8f-204b2d08fe97",
      "name": "Merge All スケジュールトリガーs1",
      "type": "n8n-nodes-base.merge",
      "position": [
        140,
        1200
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "c1898cfb-61c3-41b0-be1a-043e9f60075b",
      "name": "OpenAI チャットモデル2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        800,
        340
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "fa44029b-22ea-4e9f-afa4-d75bc8bd738e",
      "name": "First Newsletter Editor1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1980,
        60
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "563bd3aa-bf79-4509-8201-916cc87cd2a8",
      "name": "マージ",
      "type": "n8n-nodes-base.merge",
      "position": [
        3300,
        200
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "f78fcbb9-adc2-4132-a623-86617e1f9b59",
      "name": "Get_Subcribers",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        4560,
        -60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0839fa57-0b60-423c-bbe9-c6bb43ca5a22",
      "name": "設定_Campaign",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4940,
        -60
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ad882a07-eb15-4385-a2a1-fd90bf7ac23d",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "66b30303-2c66-4b8d-bc08-525dea49f44a",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        4120,
        60
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "dd97e8e1-065d-42aa-92df-425d06ec2068",
      "name": "Gmail1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3860,
        -20
      ],
      "webhookId": "01a28f81-7cc5-45d6-af1a-1e3f0d039485",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "2fb4a53f-1c2f-494d-9f38-3e459317662b",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1120,
        200
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "9be7VkNR7cCyEuth",
    "executionOrder": "v1"
  },
  "versionId": "2242e099-cc74-4851-b53e-66725e584ce8",
  "connections": {
    "66b30303-2c66-4b8d-bc08-525dea49f44a": {
      "main": [
        [
          {
            "node": "f78fcbb9-adc2-4132-a623-86617e1f9b59",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Merge Research Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2e7b5279-0073-4cdb-beb2-ccb296385322": {
      "main": [
        [
          {
            "node": "e01808a4-e3e7-4346-acf2-57e8d6524c26",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "d798ec57-8633-48a1-a931-466cd8460039",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dd97e8e1-065d-42aa-92df-425d06ec2068": {
      "main": [
        [
          {
            "node": "66b30303-2c66-4b8d-bc08-525dea49f44a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "87380743-0f25-4930-9582-907e2ad7a8a5": {
      "ai_tool": [
        [
          {
            "node": "103c994b-d80a-4fbc-a934-3ad5bab3bad1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "0c83f4d2-58fa-452e-9b47-ecd706f342a6": {
      "ai_tool": [
        [
          {
            "node": "003fc957-1e8a-4369-9381-ae914331be4a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "978841c6-a948-4383-bf16-7dfe041cbf58": {
      "main": [
        []
      ]
    },
    "Set Intent": {
      "main": [
        [
          {
            "node": "2e7b5279-0073-4cdb-beb2-ccb296385322",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "2b768b0a-ed7f-4d05-a4a4-281a2ab87623": {
      "ai_languageModel": [
        [
          {
            "node": "e01808a4-e3e7-4346-acf2-57e8d6524c26",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Correction Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set_Campaign": {
      "main": [
        [
          {
            "node": "4daded6e-0343-4f9e-a8bb-69fe98fcdfba",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4daded6e-0343-4f9e-a8bb-69fe98fcdfba": {
      "main": [
        [
          {
            "node": "978841c6-a948-4383-bf16-7dfe041cbf58",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e01808a4-e3e7-4346-acf2-57e8d6524c26": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Correction Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f78fcbb9-adc2-4132-a623-86617e1f9b59": {
      "main": [
        [
          {
            "node": "62b243f9-482e-477a-92df-92fb29fc0a7d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "62b243f9-482e-477a-92df-92fb29fc0a7d": {
      "main": [
        [
          {
            "node": "Set_Campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Correction Agent": {
      "main": [
        [
          {
            "node": "Set Intent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "003fc957-1e8a-4369-9381-ae914331be4a",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "d798ec57-8633-48a1-a931-466cd8460039",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "fa44029b-22ea-4e9f-afa4-d75bc8bd738e",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "c8b1f200-c253-49b3-be63-086103aa041d": {
      "main": [
        [
          {
            "node": "Merge All Schedule Triggers1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "7bd0e35e-8e48-4503-945b-830d51fa0b68": {
      "main": [
        [
          {
            "node": "Merge All Schedule Triggers1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Topic from Reply": {
      "main": [
        [
          {
            "node": "003fc957-1e8a-4369-9381-ae914331be4a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "10328ee9-cc04-4e8b-b3b1-60c4db391f3b": {
      "main": [
        [
          {
            "node": "Merge All Schedule Triggers1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "2fb4a53f-1c2f-494d-9f38-3e459317662b": {
      "ai_languageModel": [
        [
          {
            "node": "103c994b-d80a-4fbc-a934-3ad5bab3bad1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "59a5c07a-bae0-497d-8c58-807ee8d877f5": {
      "main": [
        [
          {
            "node": "Merge All Schedule Triggers1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "971073dd-e54f-49ed-83fe-1c6be7b27620": {
      "main": [
        [
          {
            "node": "1e94e6f5-add3-4f21-a3e9-cf75ad7c6bbb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Research Content": {
      "main": [
        [
          {
            "node": "Aggregate Newsletter Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b52ab57d-4ae2-4b8b-8af1-6f8ae4a49e17": {
      "main": [
        [
          {
            "node": "79471c6e-384b-4f6d-9cc4-63c20e6851bf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d798ec57-8633-48a1-a931-466cd8460039": {
      "main": [
        [
          {
            "node": "66b30303-2c66-4b8d-bc08-525dea49f44a",
            "type": "main",
            "index": 0
          },
          {
            "node": "dd97e8e1-065d-42aa-92df-425d06ec2068",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fa44029b-22ea-4e9f-afa4-d75bc8bd738e": {
      "main": [
        [
          {
            "node": "Set Intent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "93b8121b-cd8f-4f34-afff-a1e80ebcf178": {
      "main": [
        [
          {
            "node": "103c994b-d80a-4fbc-a934-3ad5bab3bad1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cf94538d-1a54-4378-8b5f-2edc5bc67dec": {
      "main": [
        [
          {
            "node": "93b8121b-cd8f-4f34-afff-a1e80ebcf178",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1e94e6f5-add3-4f21-a3e9-cf75ad7c6bbb": {
      "main": [
        [],
        [
          {
            "node": "Set Topic from Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Newsletter Content": {
      "main": [
        [
          {
            "node": "fa44029b-22ea-4e9f-afa4-d75bc8bd738e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Schedule Triggers1": {
      "main": [
        [
          {
            "node": "b52ab57d-4ae2-4b8b-8af1-6f8ae4a49e17",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "003fc957-1e8a-4369-9381-ae914331be4a": {
      "main": [
        [
          {
            "node": "cf94538d-1a54-4378-8b5f-2edc5bc67dec",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "103c994b-d80a-4fbc-a934-3ad5bab3bad1": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

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

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

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34