Hi.
I faced a problem that couldn’t solve so far using google
To describe the problem I’ll use the following workflow https://n8n.io/workflows/27
I’ve created a bot, added to a group, saved credentials in n8n, setup everything in the workflow(chose credentials, set chat id, etc), saved workflow, executed, activated.
I write message to the bot in Telegram and nothing happens but if I sent a post request to the test/production webhook URLs everything works fine and receive a message “Workflow got started.”. Then I receive a message from the bot " Hi !Your message did not contain any sticker.". So I assume that everything works fine.
Can’t figure out why my messages to the bot do not trigger workflow.
I don’t use n8n tunnel. n8n is behind nginx. Webhooks in general work good.
Sorry to hear that you have problems. Let’s see if we can figure that out.
I am a little bit confused about this part: ... saved workflow, executed, activated.
When you execute that workflow (if you press “Execute Workflow”) it should actually keep on waiting till it receives a message from Telegram. Does it not do that for you?
Thanks. I saw this article
It never resolves the Trigger node.
Could you please give me some hints how telegram trigger works. Should I see some incoming requests in nginx access log file? Now I see there only webhooks that I trigger manually or n8n rest calls when I edit, create, execute workflows.
Thanks. It was not enough info how to debug such a case. You were right - SSL certificate/nginx settings issue.
It was a problem with my certificate and nginx settings. Chrome showed that everything is ok with the certificate but then I checked here SSL Server Test (Powered by Qualys SSL Labs)
In general everything was ok but “This server’s certificate chain is incomplete”
Also I found that we can get some info about a bot webhook from Telegram API.
Open in browser https://api.telegram.org/bot<=BotApiToken=>/getWebhookInfo
In my case there was the following info