Herramienta de configuración de Webhook para bot de Telegram
Este es unBuilding Blocksflujo de automatización del dominio deautomatización que contiene 7 nodos.Utiliza principalmente nodos como Set, Form, FormTrigger. a través de表单automatización配置TelegrambotWebhook
- •No hay requisitos previos especiales, puede importar y usarlo directamente
Nodos utilizados (7)
Categoría
{
"id": "BpTvf5dZvJNwRVzq",
"meta": {
"instanceId": "a98b2884375a41e5c54ee9fdf1ece06db7f5771d5abd20450875f3922d7c41f8"
},
"name": "🤖 Telegram Bot Webhook Configuration Tool",
"tags": [],
"nodes": [
{
"id": "069cd3df-bc76-494f-ae26-997c6f20e405",
"name": "Webhook Formulario de Configuración",
"type": "n8n-nodes-base.formTrigger",
"position": [
-460,
160
],
"webhookId": "9488bcec-68a2-4d19-a81d-b0c13e2bdedc",
"parameters": {
"options": {},
"formTitle": "Telegram Bot Webhook Configuration",
"formFields": {
"values": [
{
"fieldLabel": "Bot API Token",
"requiredField": true
},
{
"fieldType": "url",
"fieldLabel": "Webhook URL",
"requiredField": true
}
]
},
"formDescription": "Quickly configure your Telegram bot webhook with this free tool. No data is stored - your information is processed in real-time for immediate webhook setup."
},
"typeVersion": 2.2
},
{
"id": "695cf6d2-c03f-4aa9-88d7-c1d8ce0295f9",
"name": "Construir URL Telegram API",
"type": "n8n-nodes-base.set",
"position": [
0,
160
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "a938e7ac-efa9-4124-976a-60a8bb85f624",
"name": "telegram_api_url",
"type": "string",
"value": "=https://api.telegram.org/bot{{ $json['Bot API Token'] }}/setWebhook?url={{ $json['Webhook URL'] }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "0ebd493a-8e29-4463-bc86-f631102557d7",
"name": "Redirigir a Telegram API",
"type": "n8n-nodes-base.form",
"position": [
440,
160
],
"webhookId": "605eff30-86b5-4638-885b-5e84e7fec134",
"parameters": {
"operation": "completion",
"redirectUrl": "={{ $json.telegram_api_url }}",
"respondWith": "redirect"
},
"typeVersion": 1
},
{
"id": "03c8261a-4b83-4e3f-bd1a-ff7361271987",
"name": "Nota de Recolección de Formulario",
"type": "n8n-nodes-base.stickyNote",
"position": [
-660,
-220
],
"parameters": {
"width": 500,
"height": 540,
"content": "## Form Input Collection\n\nThis node creates a user-friendly web form to collect webhook configuration data:\n\n**Input Fields:**\n- Bot API Token (from @BotFather)\n- Webhook URL (your n8n endpoint)\n\n**Features:**\n- Input validation\n- Placeholder examples\n- Privacy notice\n- Mobile-responsive design\n\n**Security:** No data is stored - all processing happens in real-time."
},
"typeVersion": 1
},
{
"id": "d5680d48-d3c4-4495-a973-2286a0865619",
"name": "Nota de Procesamiento de URL",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
-220
],
"parameters": {
"width": 380,
"height": 540,
"content": "## URL Construction Logic\n\nThis node builds the proper Telegram API URL for webhook configuration:\n\n**Process:**\n- Constructs Telegram setWebhook API URL\n- URL-encodes the webhook parameter\n- Creates masked token for logging\n- Validates URL format\n\n**API Endpoint:**\n`https://api.telegram.org/bot{TOKEN}/setWebhook?url={WEBHOOK_URL}`\n\n**Error Prevention:** Automatic URL encoding prevents common configuration issues."
},
"typeVersion": 1
},
{
"id": "243ecd80-ffec-465b-bf84-c46e0a30fadc",
"name": "Nota de Redirección API",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
-220
],
"parameters": {
"width": 440,
"height": 540,
"content": "## Telegram API Redirect\n\nThis node completes the webhook configuration by redirecting to Telegram:\n\n**Final Step:**\n- Redirects user to generated API URL\n- Telegram processes webhook configuration\n- Returns success/error response\n- User sees confirmation in browser\n\n**Result:** Webhook is immediately active and ready to receive updates from Telegram.\n\n**Note:** User must be logged into their Telegram account for authorization."
},
"typeVersion": 1
},
{
"id": "2e782593-940a-40ad-b7a4-74c69834a28b",
"name": "Resumen del Flujo de Trabajo",
"type": "n8n-nodes-base.stickyNote",
"position": [
-660,
360
],
"parameters": {
"width": 1360,
"height": 300,
"content": "## 🤖 Telegram Bot Webhook Configuration Tool\n\n**Purpose:** Streamline Telegram bot webhook setup for n8n automation workflows\n\n**Benefits:**\n✅ Eliminates manual URL construction\n✅ Prevents configuration errors \n✅ Saves time for developers\n✅ Privacy-focused (no data storage)\n✅ Works with any Telegram bot\n\n**Perfect for:** Developers, automation teams, and anyone frequently configuring Telegram bot webhooks"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "ca3fa150-2a99-416d-a47f-0923c3054bb4",
"connections": {
"695cf6d2-c03f-4aa9-88d7-c1d8ce0295f9": {
"main": [
[
{
"node": "0ebd493a-8e29-4463-bc86-f631102557d7",
"type": "main",
"index": 0
}
]
]
},
"069cd3df-bc76-494f-ae26-997c6f20e405": {
"main": [
[
{
"node": "695cf6d2-c03f-4aa9-88d7-c1d8ce0295f9",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Bloques de construcción
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Un tal Camilo Medina
@untalcamilomedinaCompartir este flujo de trabajo