{
  "openruna_format": "flow-graph-v1",
  "title": "0717_HTTP_Schedule_Create_Scheduled",
  "slug": "0717-http-schedule-create-scheduled",
  "source_filename": "0717_HTTP_Schedule_Create_Scheduled.json",
  "nodes": [
    {
      "id": "API to Check existing merge request",
      "name": "API to Check existing merge request",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Is Exists",
      "name": "Is Exists",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Create New Merge Request",
      "name": "Create New Merge Request",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Loop Over Items",
      "name": "Loop Over Items",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "API to CLOSE existing Merge Request",
      "name": "API to CLOSE existing Merge Request",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Add Custom Notes To Merge Request",
      "name": "Add Custom Notes To Merge Request",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "30 secs wait to approve merge request and pipeline to finish1",
      "name": "30 secs wait to approve merge request and pipeline to finish1",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Merge When Pipeline Succeeds",
      "name": "Merge When Pipeline Succeeds",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "setValueForMerge",
      "name": "setValueForMerge",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Is Exists",
      "to": "Create New Merge Request"
    },
    {
      "from": "Is Exists",
      "to": "Loop Over Items"
    },
    {
      "from": "Loop Over Items",
      "to": "API to Check existing merge request"
    },
    {
      "from": "Loop Over Items",
      "to": "API to CLOSE existing Merge Request"
    },
    {
      "from": "Schedule Trigger",
      "to": "API to Check existing merge request"
    },
    {
      "from": "setValueForMerge",
      "to": "Merge When Pipeline Succeeds"
    },
    {
      "from": "Create New Merge Request",
      "to": "Add Custom Notes To Merge Request"
    },
    {
      "from": "Add Custom Notes To Merge Request",
      "to": "30 secs wait to approve merge request and pipeline to finish1"
    },
    {
      "from": "API to CLOSE existing Merge Request",
      "to": "Loop Over Items"
    },
    {
      "from": "API to Check existing merge request",
      "to": "Is Exists"
    },
    {
      "from": "30 secs wait to approve merge request and pipeline to finish1",
      "to": "setValueForMerge"
    }
  ]
}