{
  "name": "Create Telegram podcast digests from Apple Podcasts with BrowserAct and Gemini",
  "nodes": [
    {
      "id": "463fae5f-aba1-4acf-90a2-895976bc44a8",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1296,
        528
      ]
    },
    {
      "id": "a00daa5d-259c-4416-b864-257e44ef5573",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1440,
        528
      ]
    },
    {
      "id": "8a2fbb6e-d808-484d-8830-fbdd9fe633ba",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2064,
        320
      ]
    },
    {
      "id": "30c1481e-453a-4ba1-94b8-3e227ae87ff9",
      "name": "Schedule Daily",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        656,
        320
      ]
    },
    {
      "id": "e404aef6-0642-425e-88ec-0b96f14d8cb5",
      "name": "Run Top Chart Podcast workflow",
      "type": "n8n-nodes-browseract.browserAct",
      "position": [
        864,
        320
      ]
    },
    {
      "id": "ccaabf97-84a1-4fef-9ebb-5767ec7ee0a4",
      "name": "Split Generated Items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1856,
        320
      ]
    },
    {
      "id": "5f451ebc-a5db-4e2c-b398-4e00b3338ebf",
      "name": "Avoid Rate Limits",
      "type": "n8n-nodes-base.wait",
      "position": [
        2304,
        336
      ]
    },
    {
      "id": "0771a2c0-c6fa-425c-b896-0d516ea9b01b",
      "name": "Send Podcast List to User",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2512,
        336
      ]
    },
    {
      "id": "791c1603-2c0a-49e9-a910-f63f66e77d56",
      "name": "Analyze Podcast & Generate Post",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1296,
        320
      ]
    },
    {
      "id": "d3a46e30-88fa-43f5-aadc-b910df0f9bcd",
      "name": "Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -176
      ],
      "parameters": {
        "width": 380,
        "height": 456,
        "content": "## ⚡ Workflow Overview & Setup\n\n**Summary:** This automation daily scrapes top podcast charts from Apple Podcasts using BrowserAct and utilizes AI to generate beautifully formatted, multi-part digests"
      }
    },
    {
      "id": "06b18e9f-fa22-4afa-9bc5-9f9faae75914",
      "name": "Step 1 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        160
      ],
      "parameters": {
        "width": 508,
        "height": 124,
        "content": "### 📻 Step 1: Chart Extraction\n\nThe workflow triggers daily to execute a BrowserAct automation that scrapes the latest trending episodes and shows from the Apple Podcasts top charts."
      }
    },
    {
      "id": "18d5d326-ed5c-469a-8b15-8bd1e8aeb31b",
      "name": "Step 2 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        128
      ],
      "parameters": {
        "width": 588,
        "height": 140,
        "content": "### 🧠 Step 2: AI Curation & Formatting\n\nAn AI agent analyzes the scraped podcast data to create engaging HTML-formatted summaries. It automatically calculates character counts to ensure each message s"
      }
    },
    {
      "id": "f395e4d4-c5fd-4d1d-83db-3df41ebebec1",
      "name": "Step 3 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1856,
        176
      ],
      "parameters": {
        "width": 796,
        "height": 108,
        "content": "### 🚀 Step 3: Sequential Delivery\n\nThe generated digest parts are split into individual messages and sent to Telegram. A short wait period is implemented between messages to avoid rate limits and main"
      }
    },
    {
      "id": "b2207d56-60c6-42be-91e1-51e5c5a9bcc4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -176
      ],
      "parameters": {
        "width": 512,
        "height": 304,
        "content": "@[youtube](jR_EjiLTIgg)"
      }
    }
  ],
  "connections": {
    "Schedule Daily": {
      "main": [
        [
          {
            "node": "Run Top Chart Podcast workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Avoid Rate Limits",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Avoid Rate Limits": {
      "main": [
        [
          {
            "node": "Send Podcast List to User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Generated Items": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Analyze Podcast & Generate Post",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Analyze Podcast & Generate Post",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Send Podcast List to User": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run Top Chart Podcast workflow": {
      "main": [
        [
          {
            "node": "Analyze Podcast & Generate Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Podcast & Generate Post": {
      "main": [
        [
          {
            "node": "Split Generated Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}