> For the complete documentation index, see [llms.txt](https://mind-expression-docs.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mind-expression-docs.gitbook.io/home/how-to-guides/build-q-and-a-subjects/case-1.-online-payment.md).

# Case 1. Online Payment

### Add a Subject

1. Click **Add Subject** on the Scope details page.
2. Stay in the `Q&A` tab.
3. Enter a Subject name.
4. Enter Query Statement which is the expected customer query as "Can I pay online?"
5. Click **Recognize Statement** to get the Recognition Result.

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2F9X9E02w3QgpJ73JH90ci%2Fimage.png?alt=media&amp;token=79788c67-0d92-440e-b629-ae1a8af3166c" alt=""><figcaption></figcaption></figure>

&#x20;  6\.  The **Recommended Statement** is the statement which is semantically related to more ontologies and can generally capture more statement structures with the same intent. To use the recommended statement, just tick the checkbox saying **Use Recommended Statement**.&#x20;

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2FZ4xuZ99PrvzugzgkEFls%2Fimage.png?alt=media&amp;token=32235b0e-b7fc-430d-8695-f43056a0d324" alt=""><figcaption></figcaption></figure>

7\. **Additional Query Statement to Recognize** may also be added but not required. This is used in case of multiple intents being expected to trigger this subject.&#x20;

8\. Click **Add**.

### Build the Subject

1. Click + **Add Action** in the Conversation panel.
2. Under AI Response, Click **Show response**.
3. Stay in the `Local` tab.

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2Fa61WvFWHxeE4iWXVSPTs%2Fimage.png?alt=media&amp;token=95684e9f-0d28-414a-8c2a-f07ad9726c1d" alt=""><figcaption></figcaption></figure>

4\. Enter response as "Yes, we support online payment. To pay the bill, please visit <https://www.mindtelecom.com> and go to My Page > Make Payment."

5\. Click **Save**.

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2FQvn79Cvo8zX6iDt6nqDi%2Fimage.png?alt=media&amp;token=56978fcd-351e-4568-bebd-1ed500d4f76f" alt=""><figcaption></figcaption></figure>

6\. Click **Publish** to publish the Subject.

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2F0MOMhTUifcHfqUZzELWT%2Fimage.png?alt=media&amp;token=397b4ad8-863b-438e-839b-70ba4cc2991d" alt=""><figcaption></figcaption></figure>

7\. To test the subject, click on the sandbox button on the right side of the screen and enter the query statement configured, in this case, `Can I pay online?`.

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2FnIL1nNrpYM7A2R31H6Rn%2Fimage.png?alt=media&amp;token=232ed63e-c6c7-423c-a25c-23624fd847d7" alt=""><figcaption></figcaption></figure>
