Hi there,<p>Recently I created a very simple telegram bot to get notification about my embed-blog.com activity. Activities like who signed up to the trial period and who is currently paying and who is created something, etc...<p>These are important metrics I've to know immediatly and Google analytics is not the place to learn it.<p>Setting up this is very easy and it's a two step process.<p>1. Create a telegram group and add [@Lognowbot](https://t.me/Lognowbot) into it.
2. You receive a chat_id from [@Lognowbot](https://t.me/Lognowbot)
3. Send a post message to https://lognowbot-production.up.railway.app/forward with chat_id and text you wanted to send.
4. Receive notification<p>i.e) code<p>def notify_telegram(text):
payload = {
"chat_id": settings.TELEGRAM_CHAT_ID,
"text": text,
}
endpoint = "https://lognowbot-production.up.railway.app/forward"
requests.post(endpoint, json=payload)
return True