{
  "name": "YouTube Live Stream & Replay Chat Extractor to n8n only",
  "nodes": [
    {
      "id": "253c019a-823d-4876-acf9-962f812cae4b",
      "name": "Run by hand",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "d5904dfa-c68b-4e04-a25c-3af93347ca3b",
      "name": "Every day",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        200
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 8
            }
          ]
        }
      },
      "notes": "Activate the workflow to run on this schedule."
    },
    {
      "id": "77bddec6-7ae4-49e9-a7d2-295c516c7b9b",
      "name": "Run Apify Actor",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        100
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/actors/dataspryva~youtube-live-stream-and-replay-chat-extractor/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"videoRefs\": [\n    \"https://www.youtube.com/watch?v=FQbNtLOVlwU\"\n  ],\n  \"mode\": \"auto\",\n  \"channelDiscoveryMode\": \"current_live\",\n  \"maxVideosPerChannel\": 1,\n  \"lookbackDays\": 30,\n  \"includeUpcomingLives\": false,\n  \"maxMessagesPerVideo\": 3,\n  \"maxTotalItems\": 3,\n  \"maxTimePerVideoSecs\": 120,\n  \"includeNormalMessages\": true,\n  \"includeSuperChats\": true,\n  \"includeMembershipEvents\": true,\n  \"includeGiftEvents\": true,\n  \"includeSystemEvents\": true,\n  \"includePlaceholders\": false,\n  \"includeSummary\": false,\n  \"startOffsetSecs\": 0,\n  \"endOffsetSecs\": 0,\n  \"liveCollectSecs\": 10,\n  \"pollIntervalMs\": 2000,\n  \"language\": \"en\",\n  \"regionCode\": \"US\",\n  \"includeMetadata\": true\n}",
        "options": {
          "timeout": 310000
        }
      },
      "notes": "Actor: dataspryva/youtube-live-stream-and-replay-chat-extractor. Select a Header Auth credential: name Authorization, value Bearer + your Apify token. Edit the JSON body to change the input.",
      "notesInFlow": false
    },
    {
      "id": "9dd8ead2-1396-4830-ac2d-6e113e55e6e7",
      "name": "Setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -370
      ],
      "parameters": {
        "content": "## YouTube Live Stream & Replay Chat Extractor\n\nSource: [dataspryva/youtube-live-stream-and-replay-chat-extractor](https://apify.com/dataspryva/youtube-live-stream-and-replay-chat-extractor) on Apify.\n\n1. In **Run Apify Actor**, create a Header Auth credential: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN` with your token.\n2. Click **Execute workflow**. Each record arrives as one n8n item.\n3. Edit the JSON body of **Run Apify Actor** to change the input.\n\nGenerated by recipeforagents.com. Validated, not executed: runs are billed to your Apify account.",
        "height": 340,
        "width": 460,
        "color": 6
      }
    }
  ],
  "connections": {
    "Run by hand": {
      "main": [
        [
          {
            "node": "Run Apify Actor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every day": {
      "main": [
        [
          {
            "node": "Run Apify Actor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
