DATA CAPTURE

WHAT IS DATA CAPTURING BOT?
This feature is like a survey bot. The bot will have a set of questions that will be asked if the bot is given a specific keyword.
When the person answers, that answer will be collected and will be summarized at the end of the survey.

WHAT CHANGES STARTING FROM V3.1.0?
Capture can be use as a universal or custom per-device (default is universal).

Now Finish message and Stop message can be different on each subject
Please look at the “Subjects” picture below!

Universal means: the structure of capture will be the same for all users.
But, you do not need to enable user’s webhook.

Per-device is more custom style of capture, each device can edit webhook file to get custom capture experience.
Requires to enable user’s webhook

WHAT IS IT FOR?
Well, for anything related to data that you want to get from interactive conversation with the bot.
Below example will be demonstrating a bot that is taking a dentist appointment from a user.

1. Enter keyword to start dentist booking appointment
2. Enter greetings
3. Choose buttons type
4. Enter YES and trigger “capture>>start>>dentist”
5. Enter NO and trigger “capture>>stop”
That’s it! You are done!

CAPTURE TRIGGERS:
capture>>start>>{subject-name}
This will start a capture session with the subject-name

capture>>stop
This will stop/cancel the current capture

capture>>finish
This will stop/save the completed capture

CAPTURE MESSAGES:
This message will show on capture>>finish and capture>>stop
“finish”: “Thank you for making appointment with Bright Dentist Office!”,
“stop”: “We are sorry. If you want to start again type ‘capture>>start>>dentist'”

WHERE ALL THE QUESTIONS ARE FROM?

You can edit and add subjects. Example: add “survey” (don’t forget the “finish” at the end of the questions)
Now you can trigger the new capture using “capture>>start>>survey”
#Code for capture Survey
{
    "name": "",
    "phone": "",
    "rate 1-10 about our website design": "",
    "rate 1-10 about our customer service": "",
    "rate 1-10 about our food": "",
    "rate 1-10 about our delivery service": "",
    "describe your experience in words": "",
    "finish": "Thank you for your input. We valued your voice.",
    "stop": "We are sorry. If you want to start again type 'capture>>start>>survey'"
}
#Code for capture Dentist
{
    "full name": "",
    "phone": "",
    "branch location\nA.Los Angeles\nB.New York\nC.Texas": "",
    "appointment time\nA.10:00\nB.11:00\nC.13:00": "",
    "finish": "Thank you for making appointment with Bright Dentist Office!",
    "stop": "We are sorry. If you want to start again type 'capture>>start>>dentist'"
}
#Code for capture Autoshop
{
    "name": "",
    "phone": "",
    "car_make": "",
    "car_model": "",
    "finish": "We thank you for trusting us with your car!",
    "stop": "To restart please type 'capture>>start>>autoshop'"
}

WEBHOOK, CAPTURE, AUTOREPLY STOP WORKING
First thing to try will be to reset the webhook file.
Menu Devices->Actions->Webhook contents->Reset

Powered by BetterDocs