Telegram Callback Trigger not working, but Telegram Message Trigger works

I just started self hosting N8N a few days ago. I’m using Docker with Coolify for it.

I found a related post but his issue was all telegram node triggers/webhook is not working… as for me, only Message trigger works… https://community.n8n.io/t/telegram-triggers-dont-work/50872/17

Describe the problem/error/question:
I am using telegram node as a trigger. Message trigger works, but Callback trigger is not working.

What is the error message (if any)?
No error message, callback trigger just keeps listening…
Again, message trigger works… this is what i dont understand.

To Reproduce

  1. Adding Telegram Trigger module
  2. Copy webhook (Production URL)
  3. Test the n8n telegram trigger url webhook in postman:
https://api.telegram.org/bot<mytoken>/setWebhook?url=https://automate.<mydomain>.com/webhook/00ce1702-91ce-4563-b3c7-de206543900a/webhook
  1. This is what I get in response:
{
    "ok": true,
    "result": true,
    "description": "Webhook was set"
}

  1. Result of getWebhookInfo:
https://api.telegram.org/bot<mytoken>/getWebhookInfo
{
    "ok": true,
    "result": {
        "url": "https://automate.<mydomain>.com/webhook/00ce1702-91ce-4563-b3c7-de206543900a/webhook",
        "has_custom_certificate": false,
        "pending_update_count": 0,
        "max_connections": 40,
        "ip_address": "<myserverip>"
    }
}

Information on your n8n setup

  • n8n version: 1.78.0
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS: main
  • Running n8n via Docker- Coolify
  • Operating system: Ubuntu 24.04.1 LTS

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@Jon i hope you can help me same as you checked with the previous telegram issue from https://community.n8n.io/t/telegram-triggers-dont-work/50872/15

thanks!

after a few digging… i finally got it to work. sooo, it is not a straight forward trigger… makes sense since it awaits user’s action in telegram. please close this thread. thank you.

1 Like

how did you fix it because my call back and await is not working.

i am just using the callback resource which i did not know how to use when i posted this question. now i know how it works. your are using the message resource for the node. i think you just need to make sure your ai node is sending the message to the telegram user, and it should work from there once that user replies

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.