# Smart Replies

Smart replies are prepared answers that Wrangle can use to automatically respond to common requests.&#x20;

Toggle on "Enable Smart Replies" and click "Add Reply" to create your first smart reply.

<figure><img src="https://3500333410-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8Mly5TzbK30rAk6_PN%2Fuploads%2F0oTief27Z0Mxq97mI2Vh%2Fsm_setup.png?alt=media&#x26;token=c8268037-2a8e-43e6-a58a-a48432cbb42c" alt=""><figcaption><p>Enable smart replies and add your first reply.</p></figcaption></figure>

You can add multiple keywords or phrases separated by a line break, as well as a reply that will be sent every time one of those phrases is used in your inbox channel.

<figure><img src="https://3500333410-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8Mly5TzbK30rAk6_PN%2Fuploads%2F1Iy2HuB85yYivDUzG0Qm%2FScreenshot%202024-06-10%20at%202.05.03%20PM.png?alt=media&#x26;token=cb39d15a-ee8b-4246-acc4-de29f33d9820" alt="" width="419"><figcaption><p>Define your keywords and reply.</p></figcaption></figure>

#### Smart replies and ticket creation method

In the Automations section of your inbox settings there are three options for ticket creation. Here's how smart replies work with each option:

1. **Turn new channel messages into tickets automatically** - Wrangle will attempt to answer all incoming messages in the channel with a smart reply. If no match is found, Wrangle will automatically create a ticket.
2. **Create tickets manually** - If you use our [message shortcut](https://docs.wrangle.io/creating-tickets#creating-a-ticket-from-a-message-shortcut) or [emoji reaction](https://docs.wrangle.io/creating-tickets#creating-a-ticket-via-emoji-reaction) on a message, Wrangle will attempt to answer with a Smart reply. If no match is found, Wrangle will create a ticket.
3. **Bypass ticket creation using Smart Replies** - Wrangle will attempt to answer all incoming messages in the channel with a smart reply. If no match is found, Wrangle will *not* create a ticket.

### Smart replies in Slack

Whenever a smart reply is triggered for a message containing one of your keywords or phrases, Wrangle will send your prewritten reply, as well as a link to start a ticket if help is still needed.

<figure><img src="https://3500333410-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8Mly5TzbK30rAk6_PN%2Fuploads%2Fs5ow4t0veBJYuOkYE7rV%2FScreenshot%202024-06-10%20at%202.21.33%20PM.png?alt=media&#x26;token=71098a10-97de-472c-a5d4-af909b54314f" alt=""><figcaption><p>A smart reply in Slack.</p></figcaption></figure>

{% hint style="info" %}
If you also have [AI ticket deflection](https://docs.wrangle.io/tickets/ai-powered-ticketing/ai-ticket-deflection) enabled, Wrangle will first look for your smart reply keywords. If none are found, *then* it will look for an answer in your help documents and attempt to formulate an AI response.
{% endhint %}


---

# 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://docs.wrangle.io/tickets/ai-powered-ticketing/smart-replies.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.
