Claude、GPT-4o、OpenAI TTSを使用してニュース記事を音声ニュースリ持续上涨

上級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、18個のノードを含みます。主にGmail, SplitOut, Aggregate, HttpRequest, Agentなどのノードを使用。 ニュース記事を音声ニュースレターや音声要約に変換するためにClaude、GPT-4o、およびOpenAI TTSを使用

前提条件
  • Googleアカウント + Gmail API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "cbbe3d07d282d90d2165a7ab7800571be416166e6eb660e7a28cfe9b84473f49",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "39081db1-dab2-4453-beac-af3217697b44",
      "name": "最新ニュース取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        128,
        -144
      ],
      "parameters": {
        "url": "https://newsapi.org/v2/top-headlines?country=us&apiKey=YOUR_NEWSAPI_KEY",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "8c1ccc13-3ec3-486d-b087-77cb36d74ec9",
      "name": "分割処理",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        352,
        -144
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "articles"
      },
      "typeVersion": 1
    },
    {
      "id": "3ec09b1c-bbc6-4508-b96d-7c90f8275e92",
      "name": "モデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        176,
        192
      ],
      "parameters": {
        "model": "anthropic/claude-3.7-sonnet",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "id": "PnhGPHp7RqMOPhZN",
          "name": "OpenRouter account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e2058424-6d9c-49e4-be50-5d59ec6d1a78",
      "name": "集約",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        416,
        112
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "renameField": true,
              "outputFieldName": "news",
              "fieldToAggregate": "output"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a71b5a13-55d3-4b8e-9cee-98366151c66c",
      "name": "日次ニュース抽出",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -112,
        112
      ],
      "parameters": {
        "text": "=News Details:\nAuthor -  {{ $json.author }}\ntitle - {{ $json.title }}\ndescription - {{ $json.description }}\ncontent - {{ $json.content }}\npublish date - {{ $json.publishedAt }}\n\n",
        "options": {
          "systemMessage": "take the details and rewrite a newsletter post\n\ninclude the date, and author too, let it blend in\n"
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "aaf4f384-e63e-4eb3-a1a9-a55e0ad90c99",
      "name": "ニュースレターエージェント",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -144,
        448
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "={{ $json.news.toJsonString() }}"
            },
            {
              "role": "assistant",
              "content": "=Rewrite all this newsletter into a 2-minute script that will be transcribe into audio \n\ndont put spcial characters, because a audio will transcribe the text to audio\n\nyou can start with Max here bring you the top new around the world"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "BmIUKpYmW7YRSbaU",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "414c2613-c7f7-4548-a756-767729a17b23",
      "name": "ニュースレター文字起こし",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        176,
        448
      ],
      "parameters": {
        "input": "={{ $json.message.content }}",
        "options": {},
        "resource": "audio"
      },
      "credentials": {
        "openAiApi": {
          "id": "BmIUKpYmW7YRSbaU",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "9dcb3abc-bfad-434f-b951-7326ad78c03c",
      "name": "購読者通知",
      "type": "n8n-nodes-base.gmail",
      "position": [
        432,
        448
      ],
      "webhookId": "5ce3da89-caad-4f21-a6bf-3acf3b80b4f0",
      "parameters": {
        "sendTo": "YOUR_EMAIL@example.com",
        "message": "=Dear Sir,\n\n\nKindly Find the Latest News for {{ $now.format('yyyy-MM-dd') }}\n\n\nRegards,\nMax,\nYour business name",
        "options": {
          "attachmentsUi": {
            "attachmentsBinary": [
              {}
            ]
          },
          "appendAttribution": false
        },
        "subject": "=Top News Headline for {{ $now.format('yyyy-MM-dd') }}",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "VI8hpbWunRMMvR6a",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "958391a6-215a-4c51-9209-82a3d465bbbd",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        -256
      ],
      "parameters": {
        "width": 800,
        "height": 848,
        "content": "\n# 📰 Automated Daily News to Audio Newsletter.\n\n### 🎯 What This Does\nTransforms daily news headlines into personalized audio newsletters automatically:\n• **Fetches latest news** from NewsAPI on schedule\n• **AI content creation** rewrites articles into newsletter format using Claude\n• **Script generation** creates 2-minute audio-ready scripts with GPT-4\n• **Text-to-speech** converts scripts to high-quality audio using OpenAI\n• **Email delivery** sends audio newsletters as attachments\n\n### ⚡ How It Works\n1. Scheduled trigger runs daily (customizable timing)\n2. Fetches top US headlines from NewsAPI\n3. Claude AI rewrites each article for newsletter format\n4. GPT-4 creates cohesive 2-minute audio script\n5. OpenAI converts text to natural-sounding speech\n6. Audio newsletter emailed to subscribers automatically\n\n### 🛠️ Setup Required\n**Before using this workflow:**\n1. Get NewsAPI key and replace `YOUR_NEWSAPI_KEY`\n2. Configure OpenRouter credentials for Claude access  \n3. Add OpenAI API key for text-to-speech\n4. Update recipient email address\n5. Customize news sources and AI prompts\n6. Test audio quality and email delivery\n\n### 💡 Perfect For\n• Content creators building audio-first content\n• Busy professionals wanting daily news briefings\n• Podcasters creating automated content segments  \n• Teams needing internal news updates\n• Anyone interested in AI-powered media automation"
      },
      "typeVersion": 1
    },
    {
      "id": "def6a9ac-6cfd-48d0-958d-5c98084daf4c",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -96,
        -144
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "5f453ec6-55dc-4b2b-b0b1-2a31c36fa41d",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        -272
      ],
      "parameters": {
        "color": 6,
        "width": 256,
        "height": 272,
        "content": "### Step 1: Daily News Schedule\n\nAutomatically triggers news collection at your chosen time.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "8137fa81-242a-4ccf-91bc-9b24b11b5cb7",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -272
      ],
      "parameters": {
        "color": 3,
        "height": 272,
        "content": "### Step 2: Fetch News Headlines\n\nRetrieves latest news from NewsAPI."
      },
      "typeVersion": 1
    },
    {
      "id": "4c9d24e5-ce3d-41e2-b90a-990abb66a9e0",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        -272
      ],
      "parameters": {
        "color": 4,
        "height": 272,
        "content": "### Step 3: Data Extraction\n\nExtract Th important details from the API"
      },
      "typeVersion": 1
    },
    {
      "id": "4f750a45-2f6f-4d25-a050-6c3920413dd4",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        16
      ],
      "parameters": {
        "color": 5,
        "width": 512,
        "height": 272,
        "content": "### Step 4: AI Content Processing\n\nClaude AI rewrites news articles into newsletter format.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "d33eb059-8c5c-4ac9-9796-25198bd8e56c",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        16
      ],
      "parameters": {
        "color": 2,
        "height": 272,
        "content": "### Step 5: Data Transformation\nMerge all the News into a single list\n"
      },
      "typeVersion": 1
    },
    {
      "id": "77a05457-303d-425a-a7d7-2ec9d07b437b",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        304
      ],
      "parameters": {
        "color": 4,
        "width": 304,
        "height": 320,
        "content": "### Step 6:  Script Generation\n\nGPT-4 creates 2-minute audio-ready script.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "a27adfed-7bd7-4321-b955-fcfedede7718",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        304
      ],
      "parameters": {
        "color": 5,
        "width": 192,
        "height": 320,
        "content": "### Step 7: Text-to-Speech Conversion.\n\nOpenAI converts script to natural-sounding audio."
      },
      "typeVersion": 1
    },
    {
      "id": "809ec6c2-b8d6-42ac-ad1c-ecb34ee06fe7",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        304
      ],
      "parameters": {
        "color": 6,
        "height": 320,
        "content": "### Step 8: Email Delivery\n\nSends audio newsletter to subscribers."
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "3ec09b1c-bbc6-4508-b96d-7c90f8275e92": {
      "ai_languageModel": [
        [
          {
            "node": "a71b5a13-55d3-4b8e-9cee-98366151c66c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "e2058424-6d9c-49e4-be50-5d59ec6d1a78": {
      "main": [
        [
          {
            "node": "aaf4f384-e63e-4eb3-a1a9-a55e0ad90c99",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8c1ccc13-3ec3-486d-b087-77cb36d74ec9": {
      "main": [
        [
          {
            "node": "a71b5a13-55d3-4b8e-9cee-98366151c66c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39081db1-dab2-4453-beac-af3217697b44": {
      "main": [
        [
          {
            "node": "8c1ccc13-3ec3-486d-b087-77cb36d74ec9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aaf4f384-e63e-4eb3-a1a9-a55e0ad90c99": {
      "main": [
        [
          {
            "node": "414c2613-c7f7-4548-a756-767729a17b23",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "def6a9ac-6cfd-48d0-958d-5c98084daf4c": {
      "main": [
        [
          {
            "node": "39081db1-dab2-4453-beac-af3217697b44",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a71b5a13-55d3-4b8e-9cee-98366151c66c": {
      "main": [
        [
          {
            "node": "e2058424-6d9c-49e4-be50-5d59ec6d1a78",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "414c2613-c7f7-4548-a756-767729a17b23": {
      "main": [
        [
          {
            "node": "9dcb3abc-bfad-434f-b951-7326ad78c03c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - コンテンツ作成, マルチモーダルAI

有料ですか?

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

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

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

作成者
Abideen Bello

Abideen Bello

@bideen

Data/Automation consultant with experience helping Sales & Marketing teams to streamline their processes. Use my link to book an initial consultation for custom n8n work.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34