Files
nexus/wiki/sources/n8n-configure-telegram-trigger.md

35 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "n8n Telegram Trigger配置"
type: source
tags: [n8n, Telegram, 配置]
date: 2025-03-30
---
## Source File
- [[raw/Agent/n8n configure telegram trigger.md]]
## Summary
- 核心主题n8n Telegram Trigger配置时"bad webhook"错误的解决方法
- 问题域n8n本地/HTTP配置导致Telegram webhook设置失败
- 方法/机制设置WEBHOOK_URL环境变量为HTTPS URL
- 结论/价值Docker部署n8n时需设置WEBHOOK_URL=https://n8n.cpolar.top
## Key Claims
- 错误原因Telegram要求webhook必须为HTTPS URL本地n8n未配置HTTPS
- 解决方法设置环境变量WEBHOOK_URL为可HTTPS访问的URL
- Docker Desktop中设置WEBHOOK_URL=https://n8n.cpolar.top
## Key Concepts
- [[TelegramWebhook]]Telegram bot接收消息的HTTP回调机制
- [[n8n环境变量]]WEBHOOK_URL配置n8n生成的webhook URL格式
## Key Entities
- [[n8n]]:工作流自动化平台
- [[Telegram]]:消息平台
## Connections
- [[n8n-configure-telegram-trigger]] ← documents ← [[n8n环境变量配置]]
## Contradictions
- 无冲突