Telegram trigger stopped receiving updates- no executions despite active workflow

The problem: Despite this, sending a new message to the bot no longer triggers any execution. The Executions tab shows no new entries — the last successful execution is from over a day ago, before I started making changes. I’ve tried:
• Deactivating/reactivating the workflow multiple times, waiting between toggles
• Creating a brand new Telegram credential with the same bot token and swapping it into the Trigger node (connection test succeeds, but no new executions appear)
• Confirming the “Send a photo message” node has a fixed Chat ID pointing to the correct channel (not a dynamic chat ID)
Question: Is there a way to check the current webhook URL/status that Telegram has registered for this bot from within n8n, or does this require calling Telegram’s getWebhookInfo API directly? I suspect the webhook registration got “stuck” pointing to one of the now-deactivated workflows, and reactivating the correct workflow isn’t forcing Telegram to re-register the webhook. How can I force n8n to re-register the webhook cleanly?

Hi @Marcello1

Telegram allows only one active webhook URL per bot token. If you have multiple workflows using the same bot, or if a previous activation didn’t clean up correctly, Telegram might still be sending updates to an old or incorrect URL.

To see exactly what Telegram has registered, create a temporary workflow with an HTTP Request node and configure it as follows:

  • Method: GET
  • URL: https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getWebhookInfo
    • (Replace <YOUR_BOT_TOKEN> with your actual bot token, keeping the word bot before it.)
  • Authentication: None (the token is in the URL).

What to look for in the response:

  • url: This is the most important field. Check if this URL matches your current n8n production webhook URL. If it points to an old domain, a local IP, or a different n8n instance, you’ve found the problem.
  • has_custom_certificate: If you are using self-signed certificates, this might be relevant.
  • pending_update_count: If this number is high, it means Telegram is trying to send messages to a URL that isn’t responding (likely the old one).
  • last_error_message: This will tell you if Telegram is failing to reach your n8n instance (e.g., “Connection refused” or “SSL error”).

There is currently no built-in dashboard in n8n to view the status of the webhook registered on Telegram’s servers. To diagnose and fix this, you should follow these steps using n8n’s HTTP Request node.

If the URL is wrong or “stuck,” you can force a reset by following this sequence:

  1. Deactivate ALL workflows in n8n that use this specific Telegram bot token. This prevents them from fighting over the webhook registration.
  2. Clear the webhook on Telegram: Create another HTTP Request node to call the deleteWebhook method.
    • Method: POST
    • URL: https://api.telegram.org/bot<YOUR_BOT_TOKEN>/deleteWebhook
    • Run this once. This tells Telegram to stop sending webhooks entirely for this bot.
  3. Verify the reset: Run the getWebhookInfo request from Step 1 again. The url field should now be empty.
  4. Re-activate your target workflow: Go back to your desired workflow and toggle it to Active.
    • When you activate a Telegram Trigger, n8n automatically sends a setWebhook request to Telegram with its current production URL.

Does it help?

Hi @Marcello1 Welcome!

One thing to add in @kjooleng post before you run that sequence. Use deleteWebhook?drop_pending_updates=true rather than plain deleteWebhook. Telegram has been queuing every message sent to your bot since it broke, and if that backlog is still there when you re-register, it gets delivered all at once. With a day’s worth queued that’s a lot of executions firing at the same time, and your Send a photo node will happily post every one of them.

Also worth reading last_error_message from getWebhookInfo before you change anything. If it says something like connection refused, SSL error or wrong response, then the registration was never the problem, Telegram just can’t reach your instance. Deleting and re-registering won’t fix that and you’ll be back here tomorrow.

Which makes me ask, what were the changes you made just before it stopped? A domain change, a new proxy or a cert renewal would all produce exactly this, and the webhook would look correctly registered the whole time.

Hi @Marcello1
Hitting Execute step or Execute workflow on a Telegram Trigger while the workflow is published swaps Telegram’s registration over to the test URL, and the published URL stops receiving events until you publish again. That fits the timing, since it broke while you were editing. Unpublish the workflow, do your testing on the test URL, then publish, or keep a second bot token from BotFather purely for testing so the two never overwrite each other.
One thing on the diagnosis: run getWebhookInfo about 30 seconds after publishing rather than immediately. There are reports of the URL registering correctly and then clearing itself seconds later, which from the outside looks exactly like a registration that never took.