{
  "version": "3.5",
  "client": "693a3055-fc3e-40b8-ac60-2dbd8f827a11",
  "chatbotId": "basic-landing-chatbot-automotive",
  "launchNode": "welcome_msg",
  "nodes": {
    "welcome_msg": {
      "type": "message_button",
      "text": "Are you a {{Brand}} owner?",
      "options": [
        {
          "buttonText": "Yes",
          "action": "client_msg"
        },
        {
          "buttonText": "No",
          "action": "noClient_msg"
        }
      ]
    },
    "client_msg": {
      "type": "message_button",
      "text": "Do you want to connect with our customer service team, or are you interested in our new models?",
      "options": [
        {
          "buttonText": "Customer support",
          "action": "client_support_phone"
        },
        {
          "buttonText": "New models",
          "action": "noClient_msg"
        }
      ]
    },
    "noClient_msg": {
      "type": "message_simple",
      "text": "Connect with our showroom where an expert will show you our latest models",
      "action": "noClient_msg_2"
    },
    "noClient_msg_2": {
      "type": "message_simple",
      "text": "Or request a test drive of the model you like best",
      "action": "noClient_msg_3"
    },
    "noClient_msg_3": {
      "type": "message_button",
      "text": "What do you prefer?",
      "options": [
        {
          "buttonText": "Connect with showroom",
          "action": "noClient_session"
        },
        {
          "buttonText": "Request a test drive",
          "action": "noClient_testDrive_byPhone"
        }
      ]
    },
    "noClient_testDrive_byPhone": {
      "type": "message_simple",
      "text": "Call {{phoneNumber}} to book a test drive",
      "action": "noClient_testDrive_byWeb"
    },
    "noClient_testDrive_byWeb": {
      "type": "message_link",
      "text": "or follow the link below",
      "links": [
        {
          "linkText": "Test drive form",
          "linkUrl": "https://www.whisbi.com/"
        }
      ]
    },
    "noClient_session": {
      "type": "message_button",
      "text": "Do you want to talk via call or chat?",
      "options": [
        {
          "buttonText": "Call",
          "action": "noClient_callSession"
        },
        {
          "buttonText": "Chat",
          "displayLegal": true,
          "action": "start"
        }
      ]
    },
    "noClient_callSession": {
      "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",
        "displayLegal": true,
        "action": "start"
      },
      "alternateOptions": [
        {
          "buttonText": "Make a call",
          "displayLegal": true,
          "action": "noClient_inbound_msg"
        },
        {
          "buttonText": "Book a call",
          "displayLegal": true,
          "action": "noClient_agenda_msg"
        }
      ]
    },
    "noClient_agenda_msg": {
      "type": "message_session_data",
      "fields": [
        {
          "type": "input_phone",
          "mandatory": true
        },
        {
          "type": "input_datetime"
        }
      ],
      "submit": {
        "displayLegal": true,
        "buttonText": "Book an appointment",
        "action": "schedule"
      },
      "alternateOptions": [
        {
          "buttonText": "Receive a call",
          "action": "noClient_callSession"
        },
        {
          "buttonText": "Make a call",
          "displayLegal": true,
          "action": "noClient_inbound_msg"
        }
      ]
    },
    "noClient_inbound_msg": {
      "type": "message_inbound",
      "alternateOptions": [
        {
          "buttonText": "Receive a call",
          "action": "noClient_callSession"
        },
        {
          "buttonText": "Book a call",
          "action": "noClient_agenda_msg"
        }
      ]
    },
    "client_support_phone": {
      "type": "message_simple",
      "text": "To help you in the best way possible, call us on {{phoneNumber}}",
      "action": "client_support_web"
    },
    "client_support_web": {
      "type": "message_link",
      "text": "or go to our customer service page",
      "links": [
        {
          "linkText": "Customer serive page",
          "linkUrl": "https://www.whisbi.com/"
        }
      ]
    }
  }
}