{
  "openruna_format": "flow-graph-v1",
  "title": "Turn YouTube Videos into Summaries, Transcripts, and Visual Insights",
  "slug": "turn-youtube-videos-into-summaries-transcripts-and-visual-insights",
  "source_filename": "2002_Manual_Code_Automation_Webhook.json",
  "nodes": [
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Set: Define Initial Variables",
      "name": "Set: Define Initial Variables",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Switch: What kind of question do we want to ask?",
      "name": "Switch: What kind of question do we want to ask?",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Set: Scene Prompt",
      "name": "Set: Scene Prompt",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set: Summarize Prompt",
      "name": "Set: Summarize Prompt",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set: Transcript Prompt",
      "name": "Set: Transcript Prompt",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set: Fallback",
      "name": "Set: Fallback",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set: Transcript with Timestamps Prompt",
      "name": "Set: Transcript with Timestamps Prompt",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set: Scene Clips",
      "name": "Set: Scene Clips",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set Fields: Define Outcome",
      "name": "Set Fields: Define Outcome",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "HTTP Request to Google",
      "name": "HTTP Request to Google",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Set: Merged Values",
      "name": "Set: Merged Values",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "If: Was an error detected?",
      "name": "If: Was an error detected?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Code: Merge data from prior nodes with HTTP Output",
      "name": "Code: Merge data from prior nodes with HTTP Output",
      "integration": "code",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Set: Fallback",
      "to": "Set: Merged Values"
    },
    {
      "from": "Set: Scene Clips",
      "to": "Set: Merged Values"
    },
    {
      "from": "Set: Scene Prompt",
      "to": "Set: Merged Values"
    },
    {
      "from": "Set: Merged Values",
      "to": "HTTP Request to Google"
    },
    {
      "from": "Set: Summarize Prompt",
      "to": "Set: Merged Values"
    },
    {
      "from": "HTTP Request to Google",
      "to": "Code: Merge data from prior nodes with HTTP Output"
    },
    {
      "from": "HTTP Request to Google",
      "to": "If: Was an error detected?"
    },
    {
      "from": "Set: Transcript Prompt",
      "to": "Set: Merged Values"
    },
    {
      "from": "Set: Define Initial Variables",
      "to": "Switch: What kind of question do we want to ask?"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Set: Define Initial Variables"
    },
    {
      "from": "Set: Transcript with Timestamps Prompt",
      "to": "Set: Merged Values"
    },
    {
      "from": "Switch: What kind of question do we want to ask?",
      "to": "Set: Transcript Prompt"
    },
    {
      "from": "Switch: What kind of question do we want to ask?",
      "to": "Set: Transcript with Timestamps Prompt"
    },
    {
      "from": "Switch: What kind of question do we want to ask?",
      "to": "Set: Summarize Prompt"
    },
    {
      "from": "Switch: What kind of question do we want to ask?",
      "to": "Set: Scene Prompt"
    },
    {
      "from": "Switch: What kind of question do we want to ask?",
      "to": "Set: Scene Clips"
    },
    {
      "from": "Switch: What kind of question do we want to ask?",
      "to": "Set: Fallback"
    },
    {
      "from": "Code: Merge data from prior nodes with HTTP Output",
      "to": "Set Fields: Define Outcome"
    }
  ]
}