# 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: 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.compass.art/automations/triggers/telegram.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.
