{
  "name": "Start a transcript and inspect its job",
  "nodes": [
    {
      "parameters": {},
      "id": "manual",
      "name": "Run workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [0, 0]
    },
    {
      "parameters": { "resource": "transcript", "operation": "get", "url": "jNQXAC9IVRw", "options": { "mode": "generate", "text": true, "wait": false } },
      "id": "capslane",
      "name": "Start transcription",
      "type": "n8n-nodes-capslane.capslane",
      "typeVersion": 2,
      "position": [260, 0]
    },
    {
      "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict", "version": 2 }, "conditions": [{ "id": "has-job", "leftValue": "={{ $json.jobId }}", "rightValue": "", "operator": { "type": "string", "operation": "exists", "singleValue": true } }], "combinator": "and" }, "options": {} },
      "id": "has-job",
      "name": "Has transcript job",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [520, 0]
    },
    {
      "parameters": { "resource": "transcript", "operation": "getJob", "jobId": "={{ $json.jobId }}" },
      "id": "job-status",
      "name": "Get transcript job",
      "type": "n8n-nodes-capslane.capslane",
      "typeVersion": 2,
      "position": [780, -80]
    }
  ],
  "connections": {
    "Run workflow": { "main": [[{ "node": "Start transcription", "type": "main", "index": 0 }]] },
    "Start transcription": { "main": [[{ "node": "Has transcript job", "type": "main", "index": 0 }]] },
    "Has transcript job": { "main": [[{ "node": "Get transcript job", "type": "main", "index": 0 }], []] }
  },
  "active": false,
  "settings": {}
}
