> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatling.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Canned Responses

> Save replies you send often and insert them into the composer with a click or a shortcode.

Canned responses are saved reply templates you can drop into the live chat composer to avoid retyping the same message every time, such as greetings, account-info requests, troubleshooting steps, closing remarks, etc.

Each response has a **title**, a **message** (rich text), and an optional **shortcode** for keyboard insertion.

<img src="https://chatling-assets.b-cdn.net/canned-response-manager.jpg" width="600" alt="Manage canned responses" />

## Managing canned responses

1. To manage canned responses, go to **Settings > Canned Responses**.

2. Click the `+` button next to the search bar to add a new canned response.

<img src="https://chatling-assets.b-cdn.net/add-new-canned-response.jpg" width="600" alt="Add new canned response button" />

3. Provide a title, a message, and (optionally) a shortcode.

<img src="https://chatling-assets.b-cdn.net/canned-response-editor.jpg" width="500" alt="New canned response form" />

### Shortcodes

A shortcode is a short keyword (e.g. `greet`, `refund-policy`, `out-of-office`) you assign to a canned response so you can insert it quickly.

**To use:** in the composer, type a backtick followed by the shortcode e.g. `` `greet ``. A floating menu shows matching responses as you type. Press <kbd>Enter</kbd> to insert the highlighted one, or click it. <kbd>Esc</kbd> dismisses the menu.

### Variables (AI Agent only)

In the message editor, type `{{` to insert a variable. Variables resolve at insert-time against the current conversation - `{{contact_fname}}`, `{{contact_email}}`, etc. — and fall back to an empty string if the value is unknown.

Variables are **not** available on standard chatbots; the editor shows them as plain text on those.

## Inserting a canned response

Three ways from the composer:

1. **Picker**: click the bookmark icon in the reply composer. You can search for a canned response by title or shortcode, and select it to insert it into the composer.
2. **Shortcode**: type a backtick followed by your shortcode (e.g. `` `greet ``). A floating menu shows matches; press <kbd>Enter</kbd> or <kbd>Tab</kbd> to insert the highlighted one.
3. **Slash command**: type `/`, choose **Canned response** to open the canned response picker.
