Files
nexus/wiki/sources/n8n-configure-telegram-trigger.md
2026-04-14 16:02:50 +08:00

30 lines
1014 B
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 configure telegram trigger"
type: source
tags: [n8n, telegram]
sources: []
last_updated: 2026-04-14
source_file: raw/Technical/Workflow/n8n configure telegram trigger.md
---
## Summary
- 核心主题n8n Telegram Trigger 配置问题解决
- 问题域Telegram Webhook 配置需要 HTTPS URL
- 方法/机制:设置 WEBHOOK_URL 环境变量为 HTTPS 地址
- 结论/价值:通过配置环境变量解决 Telegram Trigger 的 Bad Request 错误
## Key Claims
- n8n 实例必须通过 HTTPS URL 公开访问,否则 Telegram Webhook 设置会失败
- 设置 WEBHOOK_URL 环境变量可让 n8n 生成 HTTPS 的 Webhook URL
## Key Concepts
- [[Telegram Trigger]]n8n 中用于接收 Telegram 消息的触发节点
- [[Webhook HTTPS]]Telegram 要求 Webhook URL 必须为 HTTPS
## Key Entities
- [[n8n]]:工作流自动化平台
- [[Cpolar]]:内网穿透工具,用于暴露本地服务
## Connections
- [[n8n]] ← 配置 ← [[Webhook HTTPS]]
- [[n8n]] ← 使用 ← [[Cpolar]]