{
  "openruna_format": "flow-graph-v1",
  "title": "address validation",
  "slug": "address-validation",
  "source_filename": "1727_Wait_Splitout_Create_Webhook.json",
  "nodes": [
    {
      "id": "get order data",
      "name": "get order data",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Split Out Order Data",
      "name": "Split Out Order Data",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Set Address Fields",
      "name": "Set Address Fields",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Check Address endereco api",
      "name": "Check Address endereco api",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Split Out Corrected Address",
      "name": "Split Out Corrected Address",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "set new delivery address to billbee",
      "name": "set new delivery address to billbee",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Wait",
      "name": "Wait",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Wait1",
      "name": "Wait1",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "check if new address is not empty",
      "name": "check if new address is not empty",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "set billbee tag",
      "name": "set billbee tag",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "check if housenumer is not empty",
      "name": "check if housenumer is not empty",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "check if addressline 2 contains number",
      "name": "check if addressline 2 contains number",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Filter",
      "name": "Filter",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "set value of addressline2 as housenumber",
      "name": "set value of addressline2 as housenumber",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Filter Out PickUpShops",
      "name": "Filter Out PickUpShops",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "check if addressline 2 contains number and letter",
      "name": "check if addressline 2 contains number and letter",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "set billbee tag manual check",
      "name": "set billbee tag manual check",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "set value of addressline2 as housenumber number+letter",
      "name": "set value of addressline2 as housenumber number+letter",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "set billbee success",
      "name": "set billbee success",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "ConfigNode",
      "name": "ConfigNode",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Wait",
      "to": "get order data"
    },
    {
      "from": "Wait1",
      "to": "set new delivery address to billbee"
    },
    {
      "from": "Webhook",
      "to": "ConfigNode"
    },
    {
      "from": "ConfigNode",
      "to": "Wait"
    },
    {
      "from": "get order data",
      "to": "Split Out Order Data"
    },
    {
      "from": "Set Address Fields",
      "to": "Filter Out PickUpShops"
    },
    {
      "from": "Split Out Order Data",
      "to": "Set Address Fields"
    },
    {
      "from": "Filter Out PickUpShops",
      "to": "check if housenumer is not empty"
    },
    {
      "from": "Check Address endereco api",
      "to": "check if new address is not empty"
    },
    {
      "from": "Split Out Corrected Address",
      "to": "Wait1"
    },
    {
      "from": "check if housenumer is not empty",
      "to": "Check Address endereco api"
    },
    {
      "from": "check if housenumer is not empty",
      "to": "check if addressline 2 contains number"
    },
    {
      "from": "check if new address is not empty",
      "to": "Split Out Corrected Address"
    },
    {
      "from": "check if new address is not empty",
      "to": "set billbee tag"
    },
    {
      "from": "set new delivery address to billbee",
      "to": "set billbee success"
    },
    {
      "from": "check if addressline 2 contains number",
      "to": "set value of addressline2 as housenumber"
    },
    {
      "from": "check if addressline 2 contains number",
      "to": "check if addressline 2 contains number and letter"
    },
    {
      "from": "set value of addressline2 as housenumber",
      "to": "Check Address endereco api"
    },
    {
      "from": "check if addressline 2 contains number and letter",
      "to": "set value of addressline2 as housenumber number+letter"
    },
    {
      "from": "check if addressline 2 contains number and letter",
      "to": "set billbee tag manual check"
    },
    {
      "from": "set value of addressline2 as housenumber number+letter",
      "to": "Check Address endereco api"
    }
  ]
}