Skip to main content

Zobot Object Reference Guide for SalesIQ Scripts

This object reference page aims to give an idea of the core objects found throughout the custom bot implementation. These objects serve as a guideline for input parameters and output response formats for the scripts used in the bots. The following are the actions that can be performed by the Zobot:

  • Handling visitor chats
  • Forwarding chats to humans
  • Blocking a visitor
  • Collecting inputs via Calendar
  • Multiple input collection for one response

Object  NameTypeDescription
visitorMapDetails of the website visitor
messageStringDetails of the message in the conversation (Attribute: text)
responsesMapDetails of the responses provided by the bot
operationString

Details of the operations happen during the chat conversation (Attribute: chat, message)

 

chat: This value is assigned when a new conversation is initiated. It is also used when the bot executes its first action in the message handler for that conversation.

 

message: This value is assigned during subsequent executions of the message handler within the same conversation. 

 

Essentially, "chat" indicates the start of a conversation or the bot's first interaction, while "message" refers to any follow-up actions within the same conversation.