# 4.2 自動化 - チャットボット「David」

STOREBERRYは、ビジネスにおいて「顧客へのリアルタイムでの返信」が極めて重要であることを理解しています。

そのため、小売に特化したチャットボット<mark style="color:purple;background-color:purple;">**「David」**</mark>をシステムに組み込むことで、大量の顧客からの繰り返しの質問に24時間体制で対応し、いつでも販売機会を捉えられるようにしました。

### (i) チャットボットを有効にする

1\) STOREBERRY管理画面の<mark style="color:purple;background-color:purple;">**「David - チャットボット」**</mark>に移動し、<mark style="color:purple;background-color:purple;">**「チャットボットを有効にする」**</mark>をクリックします。

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

2\) その後、指示に従ってFacebookアカウントにログインし、チャットボット機能を有効にしたいFacebookページを選択します。<mark style="color:purple;background-color:purple;">**「OK」**</mark>をクリックして設定を確定します。

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

3\)  STOREBERRY管理画面の<mark style="color:purple;background-color:purple;">**「David - チャットボット」**</mark>に戻り、<mark style="color:purple;background-color:purple;">**「チャットボットを有効にする」**</mark>ボタンをクリックします。ボタンが緑色に変わると、チャットボット機能が有効になります。

ここでは、様々な会話の種類に応じてキーワードと自動返信メッセージを設定できるので、チャットボット<mark style="color:purple;background-color:purple;">**「David」**</mark>が関連する質問に自動的に対応し、管理作業の負担を大幅に軽減します。

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

### **(ii) ェイスブックメッセンジャーキーワード自動返信設定**

1）STOREBERRY管理画面の<mark style="color:purple;background-color:purple;">**「David - チャットボット」**</mark>に移動し、左側のリスト上部にある<mark style="color:purple;background-color:purple;">**「+ チャットを追加」**</mark>をクリックします。

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

2）応答フローの質問ボックスに、応答をトリガーするキーワードを入力します。例えば、<mark style="color:purple;background-color:purple;">**「オファー」、「営業時間」、「店舗の住所」**</mark>などです。次に、返信ボックスに対応する自動返信メッセージを入力します。

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

3）「ボタン」をクリックしてボタン名を変更し、URLを追加して<mark style="color:purple;background-color:purple;">**「保存」**</mark>をクリックします。

正式に設定する前に、Facebook Messengerでテストすることをお勧めします。

**デフォルトの応答を編集するにはどうすればよいですか？**

1）STOREBERRY管理画面の<mark style="color:purple;background-color:purple;">**「David - チャットボット」**</mark>に移動し、ページの左側にあるリストから<mark style="color:purple;background-color:purple;">**「ようこそメッセージ」**</mark>や<mark style="color:purple;background-color:purple;">**「商品について」**</mark>など、編集したい会話のトピックを選択します。

2）キーワード入力ボックスで、あらかじめ設定されている応答フローのキーワード（例：「こんにちは」など）をいつでも変更できます。

変更を更新するには<mark style="color:purple;background-color:purple;">**「保存」**</mark>をクリックします。また、正式に設定する前に、Facebook Messengerでテストすることをお勧めします。

<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/ja/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.
