Question groups
A question group is a short set of multiple-choice questions that Chatlio asks a visitor in the chat widget, usually before the chat starts. Each answer decides what happens next, so you can qualify leads and send sales and support chats to the right team.
For example, a question group can ask “Is this a sales or support question?” when a visitor opens the widget, then start the chat in your #sales or #support channel depending on the answer.
Question groups are included on the Team, Business and Scale plans. See pricing.
What an answer can do
For each answer, you choose one action:
- Ask new question or Ask next question to keep qualifying the visitor.
- Chat in a channel, which starts the chat in the widget connected to that channel.
- Show offline form so the visitor leaves an email and a message instead of chatting.
- Custom Response to answer a common question right away with your own text.
How a question group reaches the visitor
- Automatically. Turn on Trigger Automatically and the question group starts when a visitor opens that widget.
- From Slack. During a chat, type
/chatlio question-group <shortcut>(or/chatlio qg <shortcut>)./chatlio question-groupslists them all. See Slack commands. - From Microsoft Teams. Reply in the visitor’s thread with
@Chatlio question-group <name>. See Teams commands. - From Discord. Type
/chatlio question-group <name>in the visitor’s thread. See Discord commands.
Create a question group
- Open the Chatlio dashboard.
- Select the widget you want to set up.
- Select the Question Groups tab.
- Click Create your first question group, or add another one if the widget already has some.
Setup
Each question group has these settings:
Definitions:
Label
This is an internal name for this question group, it will never be shown to visitors.
For example, you might call a group of questions “Lead qualifying”.
Shortcut
This alias allows you to quickly call up a question group to send to visitor from Chatlio command in Slack. (e.g. /chatlio question-group lq)
Trigger Automatically
Enable this option to trigger the question group automatically when the visitor first opens this Chatlio widget.
Prompt
Any message that you enter in this field will be shown to the visitor at the beginning of the question group. This field can also be left blank if you do not wish to have a message at the start of a group.
Here’s what it might look like to a visitor:
Custom Responses
Use custom messages as an action to a question, a great use for these is your commonly asked questions. For example:
Event
Need to know when a question group answer has been selected? The questionGroupAnswerSelected event is fired when a question group question is answered.
Example:
document.addEventListener("chatlio.questionGroupAnswerSelected", function(event){
console.log("[chatlio.questionGroupAnswerSelected] event: %o", event.data); // Do something interesting
});
Webhooks
Need to get your question group data into your existing systems? The chat transcript webhook includes all of the questions and options the visitor has selected.
"visitorQuestionsAndAnswers": [{
"questionGroupUID": "0mq1nwkid0",
"questionsAndAnswers": [{
"question": "q1",
"answer": "a1"
}]
}],
Sample scenario
Let’s say you’ve got two Chatlio widgets, one connected to your sales team in the #sales channel, and the other connected to your support team in the #support channel.
- You need sales and support chats routed to the correct channels, so you first need to ask visitors if it’s a sales or support request.
- Next, you want to ask people who select ‘Sales’ to answer one additional question “How large is your company?” but you only want to let them chat if they select the answer ‘10+’ otherwise, let them leave an offline message.
Final result in widget (for qualified sales lead):
If you have any questions or feedback, don’t hesitate to contact us below via our chat widget!