{
  "openruna_format": "flow-graph-v1",
  "title": "0789_Telegram_Code_Create_Triggered",
  "slug": "0789-telegram-code-create-triggered",
  "source_filename": "0789_Telegram_Code_Create_Triggered.json",
  "nodes": [
    {
      "id": "Telegram Trigger",
      "name": "Telegram Trigger",
      "integration": "telegram",
      "kind": "trigger"
    },
    {
      "id": "Check State",
      "name": "Check State",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Clear State",
      "name": "Clear State",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "addGPS",
      "name": "addGPS",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Welcome Message",
      "name": "Welcome Message",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Command?",
      "name": "Command?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Store GPS Location",
      "name": "Store GPS Location",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "addGPS result",
      "name": "addGPS result",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "addShipmentNumber",
      "name": "addShipmentNumber",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Shipment Number",
      "name": "Shipment Number",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "addShipmentNumber result",
      "name": "addShipmentNumber result",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Store Shipment",
      "name": "Store Shipment",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Store GPS",
      "name": "Store GPS",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Load Workspace Data",
      "name": "Load Workspace Data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "waitingShipmentNumber",
      "name": "waitingShipmentNumber",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "waitingGPS",
      "name": "waitingGPS",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Instructions",
      "name": "Instructions",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "waitingPhoto",
      "name": "waitingPhoto",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Waiting Conditions",
      "name": "Waiting Conditions",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "addPhoto result",
      "name": "addPhoto result",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "sendPhoto",
      "name": "sendPhoto",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Upload Picture",
      "name": "Upload Picture",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Save Public Image Link",
      "name": "Save Public Image Link",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Confirmation Driver",
      "name": "Confirmation Driver",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Distribution Team Confirmation",
      "name": "Distribution Team Confirmation",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Extract FileName",
      "name": "Extract FileName",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Store fileName",
      "name": "Store fileName",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Get Picture",
      "name": "Get Picture",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Share Picture",
      "name": "Share Picture",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Initiate Workflow Data",
      "name": "Initiate Workflow Data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Switch Command",
      "name": "Switch Command",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Load Delivery Information",
      "name": "Load Delivery Information",
      "integration": "googleSheets",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Command?",
      "to": "Switch Command"
    },
    {
      "from": "Command?",
      "to": "Waiting Conditions"
    },
    {
      "from": "waitingGPS",
      "to": "addGPS"
    },
    {
      "from": "Check State",
      "to": "Shipment Number"
    },
    {
      "from": "Check State",
      "to": "Store GPS Location"
    },
    {
      "from": "Check State",
      "to": "Get Picture"
    },
    {
      "from": "Check State",
      "to": "Instructions"
    },
    {
      "from": "Get Picture",
      "to": "Upload Picture"
    },
    {
      "from": "Get Picture",
      "to": "Extract FileName"
    },
    {
      "from": "waitingPhoto",
      "to": "sendPhoto"
    },
    {
      "from": "Share Picture",
      "to": "Save Public Image Link"
    },
    {
      "from": "Switch Command",
      "to": "waitingShipmentNumber"
    },
    {
      "from": "Switch Command",
      "to": "waitingGPS"
    },
    {
      "from": "Switch Command",
      "to": "waitingPhoto"
    },
    {
      "from": "Switch Command",
      "to": "Load Workspace Data"
    },
    {
      "from": "Switch Command",
      "to": "Welcome Message"
    },
    {
      "from": "Upload Picture",
      "to": "Share Picture"
    },
    {
      "from": "Shipment Number",
      "to": "addShipmentNumber result"
    },
    {
      "from": "Shipment Number",
      "to": "Store Shipment"
    },
    {
      "from": "Extract FileName",
      "to": "Store fileName"
    },
    {
      "from": "Telegram Trigger",
      "to": "Command?"
    },
    {
      "from": "Store GPS Location",
      "to": "addGPS result"
    },
    {
      "from": "Store GPS Location",
      "to": "Store GPS"
    },
    {
      "from": "Waiting Conditions",
      "to": "Check State"
    },
    {
      "from": "Load Workspace Data",
      "to": "Load Delivery Information"
    },
    {
      "from": "Load Workspace Data",
      "to": "Confirmation Driver"
    },
    {
      "from": "Load Workspace Data",
      "to": "Distribution Team Confirmation"
    },
    {
      "from": "waitingShipmentNumber",
      "to": "addShipmentNumber"
    },
    {
      "from": "Save Public Image Link",
      "to": "addPhoto result"
    },
    {
      "from": "Distribution Team Confirmation",
      "to": "Clear State"
    }
  ]
}