🤖 Outil de configuration de Webhook pour le robot Telegram
Intermédiaire
Ceci est unBuilding Blocksworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme Set, Form, FormTrigger. Configurer le webhook d'un bot Telegram via l'automatisation de formulaires
Prérequis
- •Aucun prérequis spécial, prêt à l'emploi après importation
Nœuds utilisés (7)
Catégorie
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
"id": "BpTvf5dZvJNwRVzq",
"meta": {
"instanceId": "a98b2884375a41e5c54ee9fdf1ece06db7f5771d5abd20450875f3922d7c41f8"
},
"name": "🤖 Telegram Bot Webhook Configuration Tool",
"tags": [],
"nodes": [
{
"id": "069cd3df-bc76-494f-ae26-997c6f20e405",
"name": "Déclencheur Webhook Configuration Form",
"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": "Build Telegram API URL",
"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": "Redirect to 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": "Form Collection Note",
"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": "URL Processing Note",
"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": "API Redirect Note",
"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": "Workflow Overview",
"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
}
]
]
},
"Webhook Configuration Form": {
"main": [
[
{
"node": "695cf6d2-c03f-4aa9-88d7-c1d8ce0295f9",
"type": "main",
"index": 0
}
]
]
}
}
}Foire aux questions
Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Blocs de construction
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Convertir les étiquettes n8n en dossiers et déplacer les workflows
Convertir les étiquettes n8n en dossiers et déplacer les workflows
If
N8n
Set
+
If
N8n
Set
40 NœudsImperol
Blocs de construction
🔐 Système de validation par double confirmation pour l'envoi de courriels (utilise Google Sheets)
🔐 Système de double validation par e-mail pour Google Sheets
If
Code
Form
+
If
Code
Form
24 NœudsUn tal Camilo Medina
Marketing
Formulaire avec champs de liste déroulante dynamiques
Formulaire avec champs de liste déroulante dynamique
N8n
Set
Code
+
N8n
Set
Code
16 NœudsObsidi8n
Blocs de construction
Agent de recherche de blog
Générer des rapports de recherche approfondie au format Markdown avec GPT, Tavily Search et Google Sheets
Set
Code
Merge
+
Set
Code
Merge
36 NœudsArchit Jain
Blocs de construction
AI DJ:基于LinkupetGPT4de文本转Spotify歌单générateur
AI DJ:基于LinkupetGPT4de文本转Spotify歌单générateur
Set
Form
Spotify
+
Set
Form
Spotify
17 NœudsGuillaume Duvernay
Création de contenu
AIcontenu创作与WordPressautomatiquepublication - Pexels API图像flux de travail
基于Pexels API图像deAIcontenu创作与WordPressautomatiquepublicationflux de travail
If
Set
Form
+
If
Set
Form
30 NœudsMateusz Kosiorek
Intelligence Artificielle
Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds7
Catégorie1
Types de nœuds4
Description de la difficulté
Auteur
Un tal Camilo Medina
@untalcamilomedinaLiens externes
Voir sur n8n.io →
Partager ce workflow