{
  "openruna_format": "flow-graph-v1",
  "title": "0182_Code_GitHub_Create_Scheduled",
  "slug": "0182-code-github-create-scheduled",
  "source_filename": "0182_Code_GitHub_Create_Scheduled.json",
  "nodes": [
    {
      "id": "On clicking 'execute'",
      "name": "On clicking 'execute'",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Execute Workflow Trigger",
      "name": "Execute Workflow Trigger",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "n8n",
      "name": "n8n",
      "integration": "n8n",
      "kind": "action"
    },
    {
      "id": "Return",
      "name": "Return",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get File",
      "name": "Get File",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "If file too large",
      "name": "If file too large",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Merge Items",
      "name": "Merge Items",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "isDiffOrNew",
      "name": "isDiffOrNew",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Check Status",
      "name": "Check Status",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Same file - Do nothing",
      "name": "Same file - Do nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "File is different",
      "name": "File is different",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "File is new",
      "name": "File is new",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Create new file",
      "name": "Create new file",
      "integration": "github",
      "kind": "action"
    },
    {
      "id": "Edit existing file",
      "name": "Edit existing file",
      "integration": "github",
      "kind": "action"
    },
    {
      "id": "Loop Over Items",
      "name": "Loop Over Items",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Create sub path",
      "name": "Create sub path",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Starting Message",
      "name": "Starting Message",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Execute Workflow",
      "name": "Execute Workflow",
      "integration": "executeWorkflow",
      "kind": "action"
    },
    {
      "id": "Completed Notification",
      "name": "Completed Notification",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Failed Flows",
      "name": "Failed Flows",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Get file data",
      "name": "Get file data",
      "integration": "github",
      "kind": "action"
    },
    {
      "id": "Config",
      "name": "Config",
      "integration": "set",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "n8n",
      "to": "Loop Over Items"
    },
    {
      "from": "Config",
      "to": "Get file data"
    },
    {
      "from": "Config",
      "to": "Merge Items"
    },
    {
      "from": "Get File",
      "to": "Merge Items"
    },
    {
      "from": "File is new",
      "to": "Create new file"
    },
    {
      "from": "Merge Items",
      "to": "isDiffOrNew"
    },
    {
      "from": "isDiffOrNew",
      "to": "Create sub path"
    },
    {
      "from": "Check Status",
      "to": "Same file - Do nothing",
      "label": "same"
    },
    {
      "from": "Check Status",
      "to": "File is different",
      "label": "different"
    },
    {
      "from": "Check Status",
      "to": "File is new",
      "label": "new"
    },
    {
      "from": "Failed Flows",
      "to": "Loop Over Items"
    },
    {
      "from": "Get file data",
      "to": "If file too large"
    },
    {
      "from": "Create new file",
      "to": "Return"
    },
    {
      "from": "Create sub path",
      "to": "Check Status"
    },
    {
      "from": "Loop Over Items",
      "to": "Completed Notification"
    },
    {
      "from": "Loop Over Items",
      "to": "Execute Workflow"
    },
    {
      "from": "Execute Workflow",
      "to": "Loop Over Items"
    },
    {
      "from": "Execute Workflow",
      "to": "Failed Flows"
    },
    {
      "from": "Schedule Trigger",
      "to": "Starting Message"
    },
    {
      "from": "Starting Message",
      "to": "n8n"
    },
    {
      "from": "File is different",
      "to": "Edit existing file"
    },
    {
      "from": "If file too large",
      "to": "Get File"
    },
    {
      "from": "If file too large",
      "to": "Merge Items"
    },
    {
      "from": "Edit existing file",
      "to": "Return"
    },
    {
      "from": "On clicking 'execute'",
      "to": "Starting Message"
    },
    {
      "from": "Same file - Do nothing",
      "to": "Return"
    },
    {
      "from": "Execute Workflow Trigger",
      "to": "Config"
    }
  ]
}