Configure Telegram Bot Webhooks with Form Automation
Go to WorkflowDescription
🤖 Telegram Bot Webhook Configuration Tool
This workflow creates a simple web form that helps you configure Telegram bot webhooks quickly. Instead of manually constructing the Telegram API URL, this tool does it for you automatically.
How It Works
The workflow consists of three main steps:
Form Input: A web form collects your bot token and webhook URL
URL Construction: Automatically builds the correct Telegram API URL
Redirect: Takes you directly to the Telegram API to complete the configuration
What You Need
Bot Token**: Get this from @BotFather on Telegram (format: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz)
Webhook URL**: Your n8n webhook endpoint (must be HTTPS)
Setup Instructions
Import this workflow into your n8n instance
Activate the workflow
Access the generated form URL
Fill in your bot details and submit
Form Fields
| Field | Description | Example |
|-------|-------------|---------|
| Bot API Token | Token from BotFather | 123456789:ABCdefGHIjklMNOpqrsTUVwxyz |
| Webhook URL | Your n8n webhook endpoint | https://your-instance.app.n8n.cloud/webhook/telegram |
What Happens
You enter your bot token and webhook URL in the form
The workflow constructs this URL: https://api.telegram.org/bot{TOKEN}/setWebhook?url={WEBHOOK_URL}
You're redirected to that URL where Telegram configures your webhook
Telegram shows you a success or error message
Benefits
No Manual URL Building**: Eliminates copy-paste errors
Quick Setup**: Configure webhooks in seconds
Privacy Focused**: No data is stored anywhere
Team Friendly**: Share the form URL with team members
Common Webhook URLs
n8n Cloud: https://your-instance.app.n8n.cloud/webhook/telegram-bot
Self-hosted: https://your-domain.com/webhook/telegram-bot
Requirements
n8n with form trigger support
Valid Telegram bot token
Publicly accessible webhook URL (HTTPS required)
Troubleshooting
Invalid Token Error: Make sure you copied the complete token from BotFather
Webhook Error: Ensure your URL is publicly accessible and uses HTTPS
SSL Error: Verify your webhook URL has a valid SSL certificate
This tool simply automates the manual process of visiting the Telegram API URL to configure your bot's webhook. Perfect for developers who frequently set up or change Telegram bot configurations.