# 4.2 Automation - Chatbot David

STOREBERRY knows that "responding to customers in real time" is extremely important to your business. Therefore, the system combines the retail chatbot “David” to help you to work overtime 24 hours a day to deal with repeated questions from a large number of customers and catch sales opportunities at any time.

### (i) Enable Chatbot

1\) You can go to the <mark style="color:purple;background-color:purple;">**STOREBERRY Admin Panel →「David - Chatbot」**</mark> and click <mark style="color:purple;background-color:purple;">**「Enable chatbot」**</mark>

<figure><img src="/files/OHUPtGHQKTldGsgkIXkx" alt=""><figcaption></figcaption></figure>

2\) Then follow the instruction to log in to your Facebook account, and choose the Facebook page that you want to enable the chatbot function for. Click <mark style="color:purple;background-color:purple;">**「OK」**</mark> to confirm the setup.

<figure><img src="/files/hAj79TNhk1iQhafc2iMU" alt=""><figcaption></figcaption></figure>

3\)  Go back to the <mark style="color:purple;background-color:purple;">**STOREBERRY Admin Panel →「David - Chatbot」**</mark> and click the button to <mark style="color:purple;background-color:purple;">**「turn on chatbot」**</mark> . The chatbot function is enabled once the button turns to green colour. You can set the keywords and auto-reply messages here based on different kinds of conversation so that our Chatbot David can automatically handle the related questions and greatly reduce your administrative workload.

<figure><img src="/files/W1oLkDUaIc2PA7WGRf5O" alt=""><figcaption></figcaption></figure>

### **(ii) Facebook Messenger Keyword Automatic Reply Settings**

1）Go to the <mark style="color:purple;background-color:purple;">**STOREBERRY Admin Panel →「David - Chatbot」**</mark> and click “+ Add chat” at the top of the list on the left hand side.

<figure><img src="/files/a80htdD0vcEM4RHxlHSc" alt=""><figcaption></figcaption></figure>

2）Enter the keyword that triggers the response in the question box in the response flow, such as “offer”, “opening time”, “store address”, etc., and then enter the automated reply message corresponding to the keyword in the reply box.

<figure><img src="/files/VE97DnYzdKaFfie00qHz" alt=""><figcaption></figcaption></figure>

3）Click <mark style="color:purple;background-color:purple;">**「Button」**</mark> to change the button name, then add the URL and click <mark style="color:purple;background-color:purple;">**「Save」**</mark> . It is also recommended that you can test it through Facebook Messenger before it is officially set.

**How do I Edit the Default Response?**

1）Go to the <mark style="color:purple;background-color:purple;">**STOREBERRY Admin Panel →「David - Chatbot」**</mark> and select the conversation topic to be edited from the list on the left side of the page, such as “Welcome Message” and “About Product”.

2）You can modify the keywords that trigger the response in the preset response flow at any time in the keyword input box, such as “Hello”, etc., and click <mark style="color:purple;background-color:purple;">**「Save」**</mark> to update the changes. It is also recommended that you can test it through Facebook Messenger before it is officially set.

<figure><img src="/files/p81ligFkvB52CeqlkAd2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://storeberry-docs.gitbook.io/user-guide/en/social-media-management/4.2-automation-chatbot-david.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
