> 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). Agents can also search and read this documentation through its [MCP server](https://docs.datacake.de/~gitbook/mcp).

# Sending notifications via Telegram

This guide shows you how to send notifications triggered by rules to a Telegram user using the pushmore.io service

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](https://2221155863-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNA8_b8wmabHgJ0QXoJ%2F-MdR96zJZ1Lrmdxky3jS%2F-MdRAEyHpw61TTiO5m0c%2Fimage.png?alt=media\&token=862c6fa4-7344-4fcf-beaf-f7690cde96e2)

## 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](https://2221155863-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNA8_b8wmabHgJ0QXoJ%2F-MdR96zJZ1Lrmdxky3jS%2F-MdRCC93b0kWbXZbv0Ek%2FUntitled.png?alt=media\&token=b22da8b3-7a92-4f8c-99f2-80a7e982be39)

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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.datacake.de/portal/rule-engine/legacy-rule-engine/sending-notifications-via-telegram.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
