# Adding custom text to pings

### 🧩 Adding Custom Text to Pings

#### `$monitor attachkw`

Attach custom text to specific product URLs by keyword (usually SKU).

**📌 Usage**

```
$monitor attachkw
$monitor attachkw {kw} {text}
```

***

#### 📝 Description

Moonitor supports attaching custom text to specific products. This is useful for:

* Highlighting important info
* Tagging deals
* Categorizing alerts

You can use **any part of the product URL** as the keyword, but we **recommend using the SKU** for consistency.

***

#### ✅ Example

If the product URL is:

```
https://www.walmart.com/ip/moonitor/21849182
```

You can attach text to it by using the SKU (`21849182`) like so:

```
$monitor attachkw 21849182 text example
```

Now, whenever a product with `21849182` in the URL is pinged, it will include:

```
text example
```

![](/files/oO4Icn1xDtycDom0My0Y)<br>

***

### ❌ Removing a Keyword

#### `$monitor removekw {kw}`

To remove a keyword and stop attaching custom text:

```
$monitor removekw 21849182
```

This will remove the custom text associated with that keyword.

***

### 📋 Viewing All Attached Keywords

#### `$monitor showkw`

Shows all currently attached keywords and their associated custom text.

**📌 Usage**

```
$monitor showkw
```

This will return a list like:

```
• `21849182` → text example  
• `nike123` → back in stock alert  
• `clearance` → 🔥 Clearance item!
```

If there are too many to fit in one message, they will be split into multiple messages automatically.


---

# 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.moonitor.tools/monitoring-commands/adding-custom-text-to-pings.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.
