İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Uyarılar ve Bildirimler

Uyarılar ve Bildirimler

Jitterflow ile Google Sheets'ten hız sınırlı Telegram toplu mesajları gönder

Google Sheets'te Telegram /start ve /stop aboneliklerini yönetir, ardından kuyruktaki yayınları Telegram limitlerinin altında bir hızla 15 dakikada bir gönderir ve engelleyen kullanıcıları kaldırır.

Ne yapar

## Broadcast Telegram messages to Google Sheets subscribers with rate limiting and blocked-user cleanup ### Who's it for Creators, shops and communities that send updates through a Telegram bot. Telegram limits bots to about 30 messages a second, so looping over 2,000 subscribers in n8n hits 429 errors and some people never get the message. ### How it works 1. People send /start or /stop to your bot. The top lane saves them in the Subscribers tab and replies. 2. To broadcast, add a row to the Broadcasts tab and set its Status to Ready. Every 15 minutes the middle lane picks it up, checks its length and marks it Sending. 3. Queue message for subscriber hands one message per subscriber to Jitterflow, which delivers them at a steady pace, with retries. The key tg- - means nobody gets a broadcast twice, even when a run repeats. 4. The row is marked Sent with the subscriber count. 5. Each morning, the bottom lane reads Jitterflow's dead-letter queue (DLQ), marks people who blocked the bot so they're skipped next time, and clears those entries. ### Requirements - A Telegram bot token from @BotFather. Keep it private: anyone with it controls the bot. If it leaks, send /revoke to @BotFather, then paste the new token into the Jitterflow endpoint and the Telegram credential. - A Jitterflow account and API key. The free Developer plan works. - The n8n-nodes-jitterflow community node. It is verified by n8n, so it's available on n8n Cloud; on self-hosted n8n, install it from Settings → Community Nodes. ### How to set up 1. In Jitterflow, add an endpoint with the destination URL https://api.telegram.org/bot /sendMessage, a pace of 5 a second or slower, and 2 retries. 2. Select a Telegram credential with the same token on the trigger and the three reply nodes. 3. Select a Jitterflow API credential on the three Jitterflow nodes and paste the endpoint key into Endpoint Key. 4. Make a sheet with a Subscribers tab (Chat ID, Name, Username, Status, Subscribed at, Note) and a Broadcasts tab (Message, Status, Broadcast ID, Sent at, Note). Select it on all eight Google Sheets nodes, then activate. ### How to customize - Edit the bot's replies in Bot replies. - Add parse_mode: 'HTML' to the payload to format messages.

Adımlar

  1. When someone messages the bot
  2. Bot replies
  3. Which command?
  4. Save subscriber
  5. Reply: subscribed
  6. Mark unsubscribed
  7. Reply: unsubscribed
  8. Reply: how to subscribe
  9. Every 15 minutes
  10. Read broadcasts
  11. Ready to send
  12. One broadcast per run
  13. Prepare broadcast
  14. Message fits Telegram?

Toplam 27 adım.

Benzer otomasyonlar