{
  "version": "3.5",
  "client": "693a3055-fc3e-40b8-ac60-2dbd8f827a11",
  "chatbotId": "basic-landing-chatbot-telco",
  "launchNode": "startMessage",
  "nodes": {
    "startMessage": {
      "type": "message_button",
      "text": "Are you and existing customer?",
      "options": [
        {
          "buttonText": "Yes",
          "action": "existing"
        },
        {
          "buttonText": "No",
          "action": "productInfo"
        }
      ]
    },
    "existing": {
      "type": "message_button",
      "text": "Do you need customer support or help with booking your next holiday?",
      "options": [
        {
          "buttonText": "Customer support",
          "action": "customerSupport"
        },
        {
          "buttonText": "Product Information",
          "action": "productInfo"
        }
      ]
    },
    "productInfo": {
      "type": "message_simple",
      "text": "An expert can show you products live!",
      "action": "call"
    },
    "call": {
      "type": "message_session_data",
      "text": "Please enter your phone number to be instantly called back for free",
      "fields": [
        {
          "type": "input_phone",
          "mandatory": true
        }
      ],
      "submit": {
        "buttonText": "Connect now",
        "action": "start"
      },
      "alternateOptions": [
        {
          "buttonText": "Make a call",
          "action": "inboundNode"
        }
      ]
    },
    "inboundNode": {
      "type": "message_inbound",
      "alternateOptions": [
        {
          "buttonText": "Receive a call",
          "action": "call"
        }
      ]
    },
    "customerSupport": {
      "type": "message_simple",
      "text": "To help you in the best way possible, call us on {{phoneNumber}}",
      "action": "supportPageLink"
    },
    "supportPageLink": {
      "type": "message_link",
      "text": "or go to our Support page",
      "links": [
        {
          "linkText": "Support Page",
          "linkUrl": "https://www.whisbi.com/"
        }
      ]
    }
  }
}