{
  "name": "Twitch Live Stream, Channel & VOD Metadata Extractor to n8n only",
  "nodes": [
    {
      "id": "4ea9a36e-45d0-45d1-ae51-9ea021f885fb",
      "name": "Run by hand",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "baf6c49e-53fe-44bb-aff3-300e7a517beb",
      "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": "4060c26a-9cf4-4c2c-a44e-53194fb5d993",
      "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/vexaloom-labs~twitch-live-stream-channel-and-vod-metadata/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"mode\": \"topStreams\",\n  \"searchQuery\": \"lirik\",\n  \"searchType\": \"all\",\n  \"language\": \"EN\",\n  \"streamSort\": \"VIEWER_COUNT\",\n  \"videoSort\": \"TIME\",\n  \"clipPeriod\": \"LAST_WEEK\",\n  \"clipSort\": \"VIEWS_DESC\",\n  \"includeChannelClips\": true,\n  \"includeChannelVideos\": true,\n  \"onlyLive\": false,\n  \"maxItems\": 3\n}",
        "options": {
          "timeout": 310000
        }
      },
      "notes": "Actor: vexaloom-labs/twitch-live-stream-channel-and-vod-metadata. Select a Header Auth credential: name Authorization, value Bearer + your Apify token. Edit the JSON body to change the input.",
      "notesInFlow": false
    },
    {
      "id": "5cc9f69e-0fdf-4b4f-a66a-8a36a2014e33",
      "name": "Setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -370
      ],
      "parameters": {
        "content": "## Twitch Live Stream, Channel & VOD Metadata Extractor\n\nSource: [vexaloom-labs/twitch-live-stream-channel-and-vod-metadata](https://apify.com/vexaloom-labs/twitch-live-stream-channel-and-vod-metadata) 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": []
}
