# Sending notifications via Telegram

While the Datacake Rules Engine does not have a dedicated Telegram action yet, it is still possible to send notifications thanks the the [Push More](https://pushmore.io/) service from [Marc Köhlbrugge](https://twitter.com/marckohlbrugge).

{% embed url="<https://youtu.be/jiETC-u7OMg>" %}

## Create Rule

First, create your Rule like you normally would (either via the device's Rules tab or the Workspace Rules section), for example like this:

![Rule with a condition](/files/-MdRAEyHpw61TTiO5m0c)

## Create Telegram Action

Go to <https://pushmore.io/> and click the "Add to Telegram" button. This will send a `/start` message to their bot, which will respond with a unique URL (something in the format of <https://pushmore.io/webhook/uniqueID>).

Copy this URL and on the Datacake Rule, click the "Add Action" button. Choose the "Call a webhook" option and paste your URL into the URL field. You can remove the "Content-Type" header using the (x) button on the right.

The "Payload" is the message that will be sent, so you can clear it, type your own message and optionally insert placeholders, for example like this:

![Webhook Action](/files/-MdRCC93b0kWbXZbv0Ek)

You can then click the "Try Webhook" button, which should send a message to your Telegram account.

Finally, save the rule, and you're all set 🚀


---

# 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.datacake.de/portal/rule-engine/legacy-rule-engine/sending-notifications-via-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.
