addedInput schema / properties / settings / properties / presentation
Added value: +{
+ "additionalProperties": false,
+ "description": "Company chat colors, welcome and chat copy, home/chat links and contact form labels. Plain text only; links use HTTPS. Scoped to this installation.",
+ "properties": {
+ "actions": {
+ "default": [
+ {
+ "label": "Request follow-up",
+ "show_in_chat": true,
+ "show_on_home": false,
+ "type": "lead_capture"
+ }
+ ],
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "show_in_chat": {
+ "type": "boolean"
+ },
+ "show_on_home": {
+ "type": "boolean"
+ },
+ "type": {
+ "const": "link",
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 1024,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "url",
+ "show_on_home",
+ "show_in_chat"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "show_in_chat": {
+ "type": "boolean"
+ },
+ "show_on_home": {
+ "type": "boolean"
+ },
+ "type": {
+ "const": "lead_capture",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "show_on_home",
+ "show_in_chat"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 6,
+ "type": "array"
+ },
+ "chat_label": {
+ "default": "Message support",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "colors": {
+ "additionalProperties": false,
+ "default": {},
+ "properties": {
+ "accent": {
+ "default": "#a95424",
+ "maxLength": 7,
+ "minLength": 7,
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "customer_bubble": {
+ "default": "#eef1e7",
+ "maxLength": 7,
+ "minLength": 7,
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "header_description": {
+ "default": "Support team",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "lead_capture": {
+ "additionalProperties": false,
+ "default": {},
+ "properties": {
+ "company_label": {
+ "default": "Company",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "company_required": {
+ "default": false,
+ "type": "boolean"
+ },
+ "consent_text": {
+ "default": "I agree that this team may contact me using these details.",
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "description": {
+ "default": "Leave your details so our team can contact you.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "email_label": {
+ "default": "Email",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "follow_up_label": {
+ "default": "Book a call",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "follow_up_url": {
+ "anyOf": [
+ {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ {
+ "const": "",
+ "type": "string"
+ }
+ ],
+ "default": ""
+ },
+ "message_label": {
+ "default": "Message",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name_label": {
+ "default": "Name",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "phone_label": {
+ "default": "Phone number",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "phone_required": {
+ "default": false,
+ "type": "boolean"
+ },
+ "show_company": {
+ "default": true,
+ "type": "boolean"
+ },
+ "show_message": {
+ "default": true,
+ "type": "boolean"
+ },
+ "show_phone": {
+ "default": false,
+ "type": "boolean"
+ },
+ "submit_label": {
+ "default": "Send my details",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "success_message": {
+ "default": "Your details are saved for our team.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "default": "Request follow-up",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "thread_description": {
+ "default": "Ask a question here. We can help you find the next step.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "thread_title": {
+ "default": "What's on your mind?",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "welcome_description": {
+ "default": "",
+ "maxLength": 300,
+ "type": "string"
+ },
+ "welcome_title": {
+ "default": "How can we help?",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+}