{
  "openruna_format": "flow-graph-v1",
  "title": "Smart Factory Use Case",
  "slug": "smart-factory-use-case",
  "source_filename": "0212_Noop_Cratedb_Automation_Triggered.json",
  "nodes": [
    {
      "id": "Values higher than 50°C",
      "name": "Values higher than 50°C",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Data from factory sensors",
      "name": "Data from factory sensors",
      "integration": "amqp",
      "kind": "trigger"
    },
    {
      "id": "Set sensor data",
      "name": "Set sensor data",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Ingest machine data",
      "name": "Ingest machine data",
      "integration": "crateDb",
      "kind": "action"
    },
    {
      "id": "Ingest incident data",
      "name": "Ingest incident data",
      "integration": "crateDb",
      "kind": "action"
    },
    {
      "id": "Set incident info",
      "name": "Set incident info",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Create an incident",
      "name": "Create an incident",
      "integration": "pagerDuty",
      "kind": "action"
    },
    {
      "id": "Data enrichment (°C to °F)",
      "name": "Data enrichment (°C to °F)",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Do  nothing",
      "name": "Do  nothing",
      "integration": "noOp",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Set sensor data",
      "to": "Ingest machine data"
    },
    {
      "from": "Set incident info",
      "to": "Ingest incident data"
    },
    {
      "from": "Create an incident",
      "to": "Set incident info"
    },
    {
      "from": "Values higher than 50°C",
      "to": "Create an incident"
    },
    {
      "from": "Values higher than 50°C",
      "to": "Do  nothing"
    },
    {
      "from": "Data from factory sensors",
      "to": "Data enrichment (°C to °F)"
    },
    {
      "from": "Data from factory sensors",
      "to": "Values higher than 50°C"
    },
    {
      "from": "Data enrichment (°C to °F)",
      "to": "Set sensor data"
    }
  ]
}