#n8n #telegram ## Summary: - When I configure Telegram Trigger, I got an error message: **Telegram Trigger: Bad Request: bad webhook: An HTTPS URL must be provided for webhook** - I search ChatGPT and got solved by this solution: - **Steps to Resolve:** 1. **Ensure HTTPS Accessibility:** - Verify that your **n8n** instance is accessible via an HTTPS URL. If you're running **n8n** locally or without HTTPS, Telegram's webhook setup will fail. 2. **Configure Environment Variables:** - Set the `WEBHOOK_URL` environment variable to your HTTPS URL. For example: ini CopyEdit `WEBHOOK_URL=https://your-domain.com/` - This informs **n8n** to generate webhook URLs using HTTPS. I added environment variable in Docker Desktop: WEBHOOK_URL https://n8n.cpolar.top After then to check the webhook URL in Telegram Trigger: ![Image](http://zipline.ishenwei.online/u/QexDmM.png)