{
  "name": "TranscriptFetch: transcribe every new upload",
  "nodes": [
    {
      "parameters": {
        "channel": "@n8n-io",
        "interval": 1440,
        "includeTranscript": true,
        "tab": "videos"
      },
      "id": "9bb9a35e-d29e-41f5-829e-f67aec868075",
      "name": "New video on the channel",
      "type": "n8n-nodes-transcriptfetch.transcriptFetchTrigger",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "webhookId": "e679786b-2267-4858-a18c-1dbd823c5e5b"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "ddc48ea4-7f5b-4de4-b135-96e20e2cf010",
              "leftValue": "={{ $json.transcriptStatus }}",
              "rightValue": "ok",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "761f51b0-1103-4e83-8785-bb84dc98aad5",
      "name": "Transcript ready",
      "type": "n8n-nodes-base.filter",
      "typeVersion": 2.2,
      "position": [
        220,
        0
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "c5c2415e-0de3-4187-921f-426bf4b07f77",
              "name": "title",
              "value": "={{ $json.title }}",
              "type": "string"
            },
            {
              "id": "bcb5cb66-7a1d-4385-8074-8508a7f76196",
              "name": "url",
              "value": "={{ $json.url }}",
              "type": "string"
            },
            {
              "id": "0d8c44dd-e455-444b-afae-44d855433bb2",
              "name": "channel",
              "value": "={{ $json.channel }}",
              "type": "string"
            },
            {
              "id": "121a8ade-a9ca-4567-873c-6a25f2c14540",
              "name": "publishedAt",
              "value": "={{ $json.publishedAt }}",
              "type": "string"
            },
            {
              "id": "5cfe6ac1-c748-4542-ab98-e88165a5c8df",
              "name": "text",
              "value": "={{ $json.text }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "50816c0b-7813-4df1-8e77-6637837b18ad",
      "name": "Send it anywhere",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        440,
        0
      ]
    }
  ],
  "connections": {
    "New video on the channel": {
      "main": [
        [
          {
            "node": "Transcript ready",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcript ready": {
      "main": [
        [
          {
            "node": "Send it anywhere",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  }
}
