{
  "openruna_format": "flow-graph-v1",
  "title": "YouTube Comment Sentiment Analyzer",
  "slug": "youtube-comment-sentiment-analyzer",
  "source_filename": "2016_Splitout_Noop_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Split Out",
      "name": "Split Out",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "No Operation, do nothing",
      "name": "No Operation, do nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get Video Urls from Google Sheet",
      "name": "Get Video Urls from Google Sheet",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "check next fetch time is available or not",
      "name": "check next fetch time is available or not",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "check next fetch time is before the current time",
      "name": "check next fetch time is before the current time",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Get Comments for video urls",
      "name": "Get Comments for video urls",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Analyze sentiment of every comment",
      "name": "Analyze sentiment of every comment",
      "integration": "@n8n/n8n-nodes-langchain.sentimentAnalysis",
      "kind": "action"
    },
    {
      "id": "Format fields as required to save in google sheet",
      "name": "Format fields as required to save in google sheet",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Insert and update comment in google sheet",
      "name": "Insert and update comment in google sheet",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Update last fetched time and next_fetch_time",
      "name": "Update last fetched time and next_fetch_time",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "No Operation, do nothing1",
      "name": "No Operation, do nothing1",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Check Success Response",
      "name": "Check Success Response",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Split Out",
      "to": "Analyze sentiment of every comment"
    },
    {
      "from": "Check Success Response",
      "to": "Split Out"
    },
    {
      "from": "Check Success Response",
      "to": "No Operation, do nothing1"
    },
    {
      "from": "Get Comments for video urls",
      "to": "Check Success Response"
    },
    {
      "from": "Get Video Urls from Google Sheet",
      "to": "check next fetch time is available or not"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Get Video Urls from Google Sheet"
    },
    {
      "from": "Analyze sentiment of every comment",
      "to": "Format fields as required to save in google sheet"
    },
    {
      "from": "Analyze sentiment of every comment",
      "to": "Format fields as required to save in google sheet"
    },
    {
      "from": "Analyze sentiment of every comment",
      "to": "Format fields as required to save in google sheet"
    },
    {
      "from": "Insert and update comment in google sheet",
      "to": "Update last fetched time and next_fetch_time"
    },
    {
      "from": "check next fetch time is available or not",
      "to": "Get Comments for video urls"
    },
    {
      "from": "check next fetch time is available or not",
      "to": "check next fetch time is before the current time"
    },
    {
      "from": "check next fetch time is before the current time",
      "to": "Get Comments for video urls"
    },
    {
      "from": "check next fetch time is before the current time",
      "to": "No Operation, do nothing"
    },
    {
      "from": "Format fields as required to save in google sheet",
      "to": "Insert and update comment in google sheet"
    }
  ]
}