GX Technology : Chatbot - APIs - Types - Client Modules - ZendeskChatModule

ZendeskChatModule

The ZendeskChatModule type is used to configure the integration of Zendesk Chat into the client.

FieldTypeRequired?SinceDescription
enabledBooleanyes2.0True if this module is enabled, false otherwise.
departmentsMap<String, Department>yes2.0

Chat department configurations indexed by locale.
The special index default is required as it provides the fallback chat department (which is generally US English).

Example
{
	"enabled": true,
	"departments: {
		"default": {
			"enabled": true,
			"allowUploads": true,
			"usesOfflineForm": true,
			"brand": "bernard",
			"department": "Bernard_Dept",
			"key": "abcdefghijklmnopqrstuvwxyz",
			"fileExtensions": [".gif", ".pdf", ".txt", ".jpg", ".png"]
		},
		"fr-CA": {
			"enabled": true,
			"allowUploads": false,
			"usesOfflineForm": true,
			"brand": "bernard",
			"department": "Bernard_Dept_FR-CA",
			"key": "123456789012345678901234567890",
			"tags": [ "en francais" ]
		}
	}
}


Department

The Department type is used to configure Zendesk chat departments in the chat client.

FieldTypeRequired?SinceDescription
enabledBooleanyes2.0True if the department is enabled, false otherwise.
allowUploadsBooleanyes2.0True if file uploads are allowed, false otherwise.
usesOfflineFormBooleanyes2.0True if the offline form is presented to the user when Live Chat is offline, false otherwise.
brandStringyes2.0The Zendesk brand (eg: for Zendesk multi-brand help sites).
departmentStringyes2.0The Zendesk department identifier.
keyStringyes2.0The Zendesk account key. Note - this is not considered a secret as it is required to connect to live chat.
fileExtensionsString[]no2.0Permitted file extensions, with leading dots, permitted for upload (only if allowUploads is set to true).
tagsString[]no2.0Tags that are applied to live chat.
Example
{
	"enabled": true,
	"allowUploads": true,
	"usesOfflineForm": true,
	"brand": "bernard",
	"department": "Bernard_Dept",
	"key": "abcdefghijklmnopqrstuvwxyz",
	"fileExtensions": [".gif", ".pdf", ".txt", ".jpg", ".png"]
}