> For the complete documentation index, see [llms.txt](https://docs.datacake.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datacake.de/portal/rule-engine/legacy-rule-engine/sending-notifications-via-telegram.md).

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