search
    • Docs
    • API
    • Community
    • Go To App →

    Part 4: Use Checkpoint to capture user responses and enquiries

    Estimated reading time: 7 minutes

    If you have a business such as a hotel, restaurant or fashion shop,...and you need to save an order, a booking or any inquiries from customers to keep track and manage easily, Checkpoint feature will be useful for you.

    Activity: Today, we will teach you how to use Checkpoint to capture user's responses and manage food ordering for "My Happiness Restaurant".

    Use Checkpoint to manage user's responses

    The idea is to create many blocks to collect user information and user's inquiries, then enable "Capture User Response" and use a Checkpoint to manage all of user's responses easily. To set up Checkpoint for ordering food, follow these steps:

    1. Create some blocks to collect user information about their food order, email address, phone, delivery date... If you keep track of our course from Part 1 to Part 3, you have already designed a flow to request user's information.


    2. Enable "Capture User Response" to capture user's responses.

    3. Drag and drop Checkpoint action into the Flow Editor and customize Checkpoint as "Saving customer information"

    4. Test on Preview

    5. Manage user's response in Checkpoints

    Go to Automation > Checkpoints, you can see all of checkpoints in Checkpoint management page, click on a specific Checkpoint to view its detail information. You can choose "Test" or "Live" environment.

    • Test: will show all Checkpoints from your trials in Preview mode

    • Live: will show all Checkpoints that you receive from real users who interact with your chatbot via Messenger or Website
      Here you can click on a Checkpoint named "Saving customer information" and check customer's phone, email address, delivery date...

    Note: If user's response is a file, Checkpoint will display as a URL. For more information, please see Checkpoint

    Use user's responses as Variables

    User's responses can be used as variables to inject into other block contents. You can insert variables into a "Confirmation Block" to confirm user information. Please follow these instructions below:

    1. Drag and drop Update Variables action into Flow Editor

    2. Go to Data tab (next to Library tab), create Flow Variables

      Fill in Name, Description, Data Type (Text, Number, Date), Store Values As A List, Initial Value (The result this variable will yield in case its value is empty)

    3. Customize action Update Variables, choose a variable and set up the value for this variable

    4. Insert the variable into a Text Block, for example, you can create a Text Block to confirm customer information or an order

    5. Test on Preview, you can see the result as shown below

    Combine user's responses into a list

    If your customers want to order more than one dish, you can combine all of their choices into a food list. In this case, you can combine user's responses into a list. Please take a look at the picture below:
    In case you want to clear context after a Checkpoint block, please enable "Clear context after this block". Keep in mind that variables in the same scope (module) and on the same level with this Action block is considered as context variables to this block. When data is rolled into a Checkpoint, the whole context data will be appended into the same Checkpoint record. It is therefore recommended to clear the context variables if your action is expected to be hit multiples times within the same session.
    Then you can test on Preview
    Finally, you will check the food order in Checkpoints by going to Automation > Checkpoints


    Ta-da! Done! We've finished part 4 of Mini Course. In the next lesson, you will learn how to use tags and user attributes to categorize customers. It will be useful for you to send broadcasts for marketing campaign in the future. Don't miss the next lesson!

    • Use Checkpoint to manage user's responses
    • Use user's responses as Variables
    • Combine user's responses into a list
    • English
    • Vietnamese