Bibliothek / Warnungen & Benachrichtigungen
Warnungen & Benachrichtigungen
Gedrosselte Telegram-Nachrichten aus Google Sheets über Jitterflow versenden
Verarbeitet Telegram-Abos über /start und /stop in Google Sheets, sendet wartende Broadcasts alle 15 Minuten in einer Rate unter den Telegram-Limits und entfernt blockierte Nutzer.
Was sie bewirkt
## 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.
Die Schritte
- When someone messages the bot
- Bot replies
- Which command?
- Save subscriber
- Reply: subscribed
- Mark unsubscribed
- Reply: unsubscribed
- Reply: how to subscribe
- Every 15 minutes
- Read broadcasts
- Ready to send
- One broadcast per run
- Prepare broadcast
- Message fits Telegram?
Insgesamt 27 Schritte.
Ähnliche Automatisierungen
Datensynchronisierung & ETLShopify-Bestellungen mit Signaturprüfung und Slack-Benachrichtigungen an Jitterflow ERP synchronisieren12 SchritteCRM & VertriebspipelineGoogle-Sheets-Leads mit einem ratenbegrenzten CRM über Jitterflow synchronisieren12 SchritteWeb Scraping & RechercheUber-Eats-Pizzaangebote mit Bright Data finden4 SchritteWarnungen & BenachrichtigungenTelegram-Massennachrichten aus Google Sheets senden5 Schritte