> For the complete documentation index, see [llms.txt](https://humley.gitbook.io/humley-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://humley.gitbook.io/humley-studio/upload-and-approve-your-q-and-as/q-and-a-add-ons.md).

# Q\&A Add-Ons

Extra features can be added to an Q\&A e.g. time/date context, video responses, metadata etc. by enabling Add-On sections.

In the following step-by-step example, we will :-

* **Enable a Context Add-On**
* **Enable a Prompt Add-On**
* **Save the Intent**

To add extra details to an intent, open the Q\&A and click **Enable Add-On**

<figure><img src="https://3188851580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3elAnByAW96PMS7Npi2k%2Fuploads%2F65jwiE9bBOuAImBRVGYy%2FEnable%20Add%20On.png?alt=media&amp;token=2dfca977-5686-4bee-bee1-fbc6ec9c2f1c" alt=""><figcaption></figcaption></figure>

### Enable a Context Add-On

Enable or disable an Q\&A at certain times, days of the week, or dates. For instance, you may want to provide the end-user different responses in order to give them different contact instructions at the weekend or over a holiday period.

<figure><img src="https://3188851580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3elAnByAW96PMS7Npi2k%2Fuploads%2FwHt2jqFXzklGuu6ssIZm%2FContext.png?alt=media&amp;token=03c9ad89-1bb2-409c-a3ac-2639b63a14a3" alt=""><figcaption></figcaption></figure>

1. In the sidebar, click on the **Context** Add-On card.\
   The **Context** section will be appended to the bottom of the page.
2. Enter in the **Context** section -

* **Start Time & End Time** The times that, between which, the intent is to be active Fields left blank indicate that Q\&A is to be active around the clock
* **Start/End Date** The dates that, between which, the Q\&A is to be active Fields left blank indicate that Q\&A is to be active for all dates
* **Days of the Week** The days of the week that the Q\&A is to be active Choose one or more days, or *All* for every day of the week

### Enabling Prompts&#x20;

Prompts are a simplified version of a flow, where you want to provide the user with a couple of options to direct them to more personalised responses within a Q\&A rather than flow.&#x20;

1. In the sidebar, click on the **Prompt** Add-On card. *The Prompt section will be appended at the bottom of the page.*

<figure><img src="https://3188851580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3elAnByAW96PMS7Npi2k%2Fuploads%2F4taDpK2xWULtsa24dSwA%2Fprompt%20image.png?alt=media&amp;token=867866af-cf6c-414a-9c4d-c0ca4b8ef682" alt=""><figcaption></figcaption></figure>

2. In the **Prompt Text** box, enter in the question or query you would like to ask the user. For example "What colour hat would you like?'.
3. Click on the **Advanced Options** button and then **Add Metadata**. Name and Value fields will appear.&#x20;
4. In the **Name** text field type 'quick\_reply' and in the Value text field enter the name of the options you would like to display. These will be shown as buttons to users.

<figure><img src="https://3188851580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3elAnByAW96PMS7Npi2k%2Fuploads%2FDgZIEiBsPuS2nWaVDojz%2Fprompt%20-%20text.png?alt=media&amp;token=12cdfede-9fa7-461e-ae97-d7e6aeb14356" alt=""><figcaption></figcaption></figure>

5. Next you need to link the metadata to Q\&As in order to return the correct response. Click on **Create Decision**.
6. In the Select Decision modal, click on **Jump**.
7. In the Create **Jump Decision** modal, enter or select the name of your entity.
   1. If you are creating a new entity you will need to navigate to the entity page and locate the value you have created and add in your button option. Each value in a prompt requires an induvial entity.
8. In the **Search Intents** drop down select the Q\&A you would like to return to the user if that option is selected. If you have not created a Q\&A yet, you will need to do so by returning to the knowledge base page.&#x20;

<figure><img src="https://3188851580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3elAnByAW96PMS7Npi2k%2Fuploads%2FUorbojT1gi6sjv4ae0JM%2Fjump.png?alt=media&amp;token=b85af59d-48b7-4483-8c0e-f471c8f525cd" alt=""><figcaption></figcaption></figure>

5. Repeat steps 5 - 8 for each button option.&#x20;
6. Select '**Create Decision'**.

<figure><img src="https://3188851580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3elAnByAW96PMS7Npi2k%2Fuploads%2F1G91EC0efHAcxf0oJbtV%2Fconfirm%20decision.png?alt=media&amp;token=299ff987-0c80-4d4c-addf-ad979e026a7d" alt=""><figcaption></figcaption></figure>

### Save the Q\&A

Save your edited Q\&A by clicking the **Save Q\&A** button.&#x20;
