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

# Snippets

> Short emails, Slack messages and captions appear in a box in the chat reply. Edit them, copy them, and send emails and Slack messages.

A snippet is a short piece of writing that appears in a box inside the AI's reply. Ask for one when you want something short to send or paste, such as an email, a Slack message or a caption.

Snippets are not articles or writings. They stay in the chat and don't appear in the [Library](https://docs.weelkit.com/library-and-knowledge/library.md). A snippet is never sent until you choose to send it.

## Ask for a snippet

Describe what you need in a chat, for example:

> Write a short email to [ops@example.com](mailto:ops@example.com) about the launch.

> Write a Slack message for the editorial channel about the new guide.

> Write a caption for the product photo.

The box names its kind: **Email**, **Slack message** or **Text**. Captions, posts and other short pieces are **Text**.

If you want a longer piece that you keep and edit, ask for an article or a writing instead. See [Articles and internal documents](https://docs.weelkit.com/articles/articles-and-documents.md).

## Edit a snippet

Click a field in the box and change it.

| Kind | Fields you can edit |
| - | - |
| **Email** | **To**, **Cc**, **Subject** and **Body** |
| **Slack message** | **Message**. The destination comes chosen if you named one. You can change it when you confirm the send. |
| **Text** | **Label** and **Text** |

* Your edit is saved when you click out of the field. The line at the bottom of the box shows **Saving…**, then **Saved**.
* If it shows **Not saved**, the reason is next to it. If the snippet changed after you opened it, reload the chat, then make your edit again.
* **Cc** and **Label** are optional. You can leave them empty.
* You can't edit a snippet while it is being sent.

## Copy

Choose **Copy** at the top of the box. The button shows **Copied** for a moment.

An email copies as its subject and body. The other kinds copy their text.

## Send an email or a Slack message

Emails and Slack messages also have a send button at the bottom of the box, next to **Copy**:

* **Send via Gmail** sends the email from your connected Gmail address.
* **Send to Slack** sends the message as you, from your connected Slack, to a channel you are in or to a person by direct message.

The button appears when you have connected Gmail or Slack and the snippet hasn't been sent. A **Text** snippet has no send button.

If Gmail or Slack isn't connected, the box shows **Connect Gmail** or **Connect Slack** instead, and says "Gmail isn't connected, so this stays here for you to copy." The link opens [Account settings → AI Preferences](https://docs.weelkit.com/settings/account.md#ai-preferences), where you connect it. See [Gmail](https://docs.weelkit.com/integrations/gmail.md) and [Slack](https://docs.weelkit.com/integrations/slack.md).

If your latest edit can't be saved, nothing is sent.

### Confirm the send

Choosing the send button asks you to confirm. The dialog is **Send this email?** or **Send this Slack message?**. It names the recipient, or the channel (#channel) or person (@person), and says nothing is sent until you confirm. For Slack, a searchable picker lets you change the destination.

* Choose **Send email** or **Send to Slack** to send.
* Choose **Cancel** to send nothing.

To skip this question for a week, select **Don't ask again** before you confirm. It covers any message sent with that Gmail or Slack account, not only this snippet. After a week, Weelkit asks again.

To end it sooner, open [Account settings → AI Preferences](https://docs.weelkit.com/settings/account.md#ai-preferences), find it under **Remembered approvals**, and choose **Revoke**.

### After you choose send

The line at the bottom right of the box tells you what happened:

| You see | What it means |
| - | - |
| **Not sent yet** | Nothing has been sent. |
| **Sending…** | Wait for the result. |
| **Still sending. We couldn't confirm the result yet.** | Choose **Check again**. |
| **Sent** with a time, such as **Sent 3:45 PM** | The message was sent. The send button is gone. |
| **Not sent —** and a reason | Nothing was sent. Read the reason. Choose **Send again** to try again, or copy the text and send it yourself. |
| **The send outcome is unknown — check Gmail or Slack before sending again.** | Look in your **Sent** folder in Gmail, or in the Slack channel, before you send it again, so it isn't sent twice. |
| **The connection dropped before we got an answer. Nothing is recorded as sent — you can send it again.** | Choose the send button to try again. |

If you change a snippet after it was sent, the box shows **Not sent yet** and the send button comes back. Sending then sends a new message. The one already sent is not changed.

## Snippets stay in the chat

A snippet belongs to the reply it appeared in. It doesn't go to the Library and doesn't open in the editor. To find it again, open the chat.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.