> For the complete documentation index, see [llms.txt](https://docs.compass.art/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.compass.art/automations/triggers/telegram.md).

# Telegram

The telegram Trigger lets you run Automations by sending a message to the [@compass\_nft\_alert\_bot](http://t.me/compass_nft_alert_bot) on the Telegram chat app.

### How to Use

**Step 1:**\
Send the `/start` command to `@compass_nft_alert_bot`.

**Step 2:**\
Input your Telegram ID in the designated field.

Once your chat ID is set up, sending any message to the Telegram bot will trigger the specified automation.

If you want to trigger the automation with a particular command, send a message to the bot starting with a `/`. This forward slash will parse out the message as a command. The command will then be passed on to the automation as `{{ automationInputs.command }}`.

To continue only if `{{ automationInputs.command }}` matches your preferred word, add the condition: `Only continue if {{ automationInputs.command }} equals [your desired word]`.

<figure><img src="/files/KbNjl0u8nVRjrNSResB5" alt="" width="375"><figcaption><p>This Automation uses the "/Domp it" telegram command</p></figcaption></figure>

### Use Cases

* Initiate a WETH/ETH Swap by starting/stopping bidding via a Telegram message.
* Transfer all your tokens to your Vault in case of an emergency.
* Cancel all your listings and offers on marketplaces urgently.
* Request Wallet/Collection/market reports on-demand via messages.
* Accept the top offers on your NFTs with a single Telegram message.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.compass.art/automations/triggers/telegram.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
