{
  "version": 1,
  "name": "אוטומציה-וואטסאפ",
  "exportedAt": "2026-08-03T15:32:52.561Z",
  "nodes": [
    {
      "id": "asnrl9yefwm1z94y3i5nepm5",
      "type": "WHATSAPP_MESSAGE",
      "position": {
        "x": 1970,
        "y": 370
      },
      "data": {
        "to": "{{whatsappTrigger.fromPhone}}",
        "message": "אתם כרגע נמצאים בחבילת גולד ללא הגבלה",
        "variableName": "חבילה1",
        "variableDisplayName": "חבילה"
      }
    },
    {
      "id": "n65uip9fe34c401k5v4reb93",
      "type": "WHATSAPP_MESSAGE",
      "position": {
        "x": 1970,
        "y": 480
      },
      "data": {
        "to": "{{whatsappTrigger.fromPhone}}",
        "message": "החוב שלכם כרגע 500 שקל",
        "variableName": "חובות",
        "variableDisplayName": "חובות"
      }
    },
    {
      "id": "njg0cnefx7piiirftqfjvyw8",
      "type": "WHATSAPP_MESSAGE",
      "position": {
        "x": 1970,
        "y": 580
      },
      "data": {
        "to": "{{whatsappTrigger.fromPhone}}",
        "message": "הפנייה העוברה ומייד יחזור אליכם נציג",
        "variableName": "חזרה_של_נציג1",
        "variableDisplayName": "חזרה של נציג"
      }
    },
    {
      "id": "l2z3y422rad9ivr2tdzi0jtf",
      "type": "DELAY_NODE",
      "position": {
        "x": 1810,
        "y": 370
      },
      "data": {
        "delay": "2000",
        "variableName": "delayNode4",
        "variableDisplayName": "delayNode4"
      }
    },
    {
      "id": "xhttzwdg7b0kj7inhl8gsu0n",
      "type": "DELAY_NODE",
      "position": {
        "x": 1810,
        "y": 480
      },
      "data": {
        "delay": "2000",
        "variableName": "delayNode2",
        "variableDisplayName": "delayNode2"
      }
    },
    {
      "id": "e6u6q57h9v5keyx6efaw42dp",
      "type": "DELAY_NODE",
      "position": {
        "x": 1810,
        "y": 580
      },
      "data": {
        "delay": "2000",
        "variableName": "delayNode3",
        "variableDisplayName": "delayNode3"
      }
    },
    {
      "id": "node_aeziilnh",
      "type": "WAIT_FOR_RESPONSE_NODE",
      "position": {
        "x": 800,
        "y": 480
      },
      "data": {
        "timeout": "20",
        "sessionKey": "{{whatsappTrigger.chatId}}",
        "timeoutUnit": "seconds",
        "variableName": "waitReply",
        "variableDisplayName": "waitReply"
      }
    },
    {
      "id": "node_2ui4z2le",
      "type": "WAIT_FOR_RESPONSE_NODE",
      "position": {
        "x": 1470,
        "y": 470
      },
      "data": {
        "timeout": "20",
        "sessionKey": "{{whatsappTrigger.chatId}}",
        "timeoutUnit": "seconds",
        "variableName": "בחירת_שירות_לקוחות",
        "variableDisplayName": "בחירת שירות לקוחות"
      }
    },
    {
      "id": "node_as6gdljd",
      "type": "SWITCH_NODE_ROUTE",
      "position": {
        "x": 1640,
        "y": 460
      },
      "data": {
        "cases": [
          {
            "id": "bsm8fzpn1ch5iqgzo3r67cjy",
            "left": "{{בחירת_שירות_לקוחות.text}}",
            "right": "\"1\"",
            "operator": "eq",
            "expression": "{{eq בחירת_שירות_לקוחות.text \"1\"}}"
          },
          {
            "id": "w7clqqobk0jv5lwsquipre0a",
            "left": "{{בחירת_שירות_לקוחות.text}}",
            "right": "\"2\"",
            "operator": "eq",
            "expression": "{{eq בחירת_שירות_לקוחות.text \"2\"}}"
          },
          {
            "id": "ksbmqwjhhn7pz6hko679n639",
            "left": "{{בחירת_שירות_לקוחות.text}}",
            "right": "\"3\"",
            "operator": "eq",
            "expression": "{{eq בחירת_שירות_לקוחות.text \"3\"}}"
          }
        ],
        "variableName": "switch1",
        "variableDisplayName": "switch1"
      }
    },
    {
      "id": "zj58nnvliyu4uwkc0cave66l",
      "type": "WHATSAPP_TRIGGER",
      "position": {
        "x": 380,
        "y": 480
      },
      "data": {
        "variableName": "whatsappTrigger",
        "variableDisplayName": "whatsappTrigger"
      }
    },
    {
      "id": "hoki37sv41qvbx7xhj28un4s",
      "type": "WHATSAPP_MESSAGE",
      "position": {
        "x": 670,
        "y": 480
      },
      "data": {
        "to": "{{whatsappTrigger.fromPhone}}",
        "message": "1.שירות לקוחות\n2.תמיכה טכנית\n3.כספים",
        "variableName": "whatsappMessage",
        "variableDisplayName": "whatsappMessage"
      }
    },
    {
      "id": "nc4bws5bnq0u5vwxqx7qry7z",
      "type": "DELAY_NODE",
      "position": {
        "x": 530,
        "y": 480
      },
      "data": {
        "delay": "2000",
        "variableName": "delayNode",
        "variableDisplayName": "delayNode"
      }
    },
    {
      "id": "nnnbfgbrbkkaxia1lanm4vug",
      "type": "WHATSAPP_MESSAGE",
      "position": {
        "x": 1330,
        "y": 470
      },
      "data": {
        "to": "{{whatsappTrigger.fromPhone}}",
        "message": "1.חבילה\n2.חובות\n3.נציג אנושי",
        "variableName": "whatsappMessage1",
        "variableDisplayName": "whatsappMessage1"
      }
    },
    {
      "id": "cdwla8gebc3jfmbd25kwvi36",
      "type": "DELAY_NODE",
      "position": {
        "x": 1180,
        "y": 470
      },
      "data": {
        "delay": "2000",
        "variableName": "delayNode1",
        "variableDisplayName": "delayNode1"
      }
    },
    {
      "id": "node_7q353xdd",
      "type": "SWITCH_NODE_ROUTE",
      "position": {
        "x": 970,
        "y": 480
      },
      "data": {
        "cases": [
          {
            "id": "mlwk2b8j858kfcco5bauaenb",
            "left": "{{waitReply.text}}",
            "right": "\"1\"",
            "operator": "eq",
            "expression": "{{eq waitReply.text \"1\"}}"
          },
          {
            "id": "t7ab7v5fu35cozcgqqiyckeq",
            "left": "{{waitReply.text}}",
            "right": "\"2\"",
            "operator": "eq",
            "expression": "{{eq waitReply.text \"2\"}}"
          }
        ],
        "variableName": "switch",
        "variableDisplayName": "switch"
      }
    }
  ],
  "edges": [
    {
      "id": "cmsd8aq140000jr04ak8col7b",
      "source": "nc4bws5bnq0u5vwxqx7qry7z",
      "target": "hoki37sv41qvbx7xhj28un4s",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140001jr04vx16ikyw",
      "source": "hoki37sv41qvbx7xhj28un4s",
      "target": "node_aeziilnh",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140002jr04j72yo4np",
      "source": "node_aeziilnh",
      "target": "node_7q353xdd",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140003jr04e65ox7yx",
      "source": "cdwla8gebc3jfmbd25kwvi36",
      "target": "nnnbfgbrbkkaxia1lanm4vug",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140004jr04h2ycffcb",
      "source": "node_7q353xdd",
      "target": "cdwla8gebc3jfmbd25kwvi36",
      "sourceHandle": "source-mlwk2b8j858kfcco5bauaenb",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140005jr04xfh33xqp",
      "source": "nnnbfgbrbkkaxia1lanm4vug",
      "target": "node_2ui4z2le",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140006jr04virsrseu",
      "source": "node_2ui4z2le",
      "target": "node_as6gdljd",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140007jr042mkpjlyc",
      "source": "node_as6gdljd",
      "target": "l2z3y422rad9ivr2tdzi0jtf",
      "sourceHandle": "source-bsm8fzpn1ch5iqgzo3r67cjy",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140008jr04xjzermw2",
      "source": "l2z3y422rad9ivr2tdzi0jtf",
      "target": "asnrl9yefwm1z94y3i5nepm5",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq140009jr048kci5dwd",
      "source": "node_as6gdljd",
      "target": "xhttzwdg7b0kj7inhl8gsu0n",
      "sourceHandle": "source-w7clqqobk0jv5lwsquipre0a",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq14000ajr041yq2xqgv",
      "source": "xhttzwdg7b0kj7inhl8gsu0n",
      "target": "n65uip9fe34c401k5v4reb93",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq14000bjr04zsztz0ed",
      "source": "node_as6gdljd",
      "target": "e6u6q57h9v5keyx6efaw42dp",
      "sourceHandle": "source-ksbmqwjhhn7pz6hko679n639",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq14000cjr04tcwv4h1h",
      "source": "e6u6q57h9v5keyx6efaw42dp",
      "target": "njg0cnefx7piiirftqfjvyw8",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    },
    {
      "id": "cmsd8aq14000djr04lo02nob8",
      "source": "zj58nnvliyu4uwkc0cave66l",
      "target": "nc4bws5bnq0u5vwxqx7qry7z",
      "sourceHandle": "source-1",
      "targetHandle": "target-1"
    }
  ]
}