I have seen various people on YT connect Telegram to n8n. Figured I would do this myself and ran into a circular problem that I could not solve. Here was the issue:
- Platform, first of all, was Ubuntu running Docker
- N8N was deployed to docker (all local)
- As Telegram expects a back HTTPS connect I deployed NGROK (free version).
Then the problem starts:
- Start NGROK and it shows a connected status, and the URL to use.
- That URL needs to be copied into N8N docker file as it contains the webhook code
- To use that webhook you need to restart N8N.
- As soon as you do that (on my system at least) it restarts "something" in Docker that affects NGROK and that looses connection.
- Restart NGROK and it starts working again, but now the URL has changed.
The only solution I found was to deploy NGROK outside the container system (ie onto my Ubuntu server) and let N8N do its thing in the container. There must be a way of dockerising both and having them work! Perhaps buying the paid for version of NGROK would be the answer, but thought to ask the community first for ideas.