Auto-sync: 2026-04-17 19:17

This commit is contained in:
2026-04-17 19:17:27 +08:00
parent a1c4f6495b
commit 52c143d5e4
49 changed files with 1444 additions and 1 deletions

25
wiki/concepts/Webhook.md Normal file
View File

@@ -0,0 +1,25 @@
---
title: "Webhook"
type: concept
tags: [n8n, trigger, http]
date: 2026-04-17
---
## Definition
n8n 接收外部 HTTP POST 请求的触发器,使工作流能够响应来自外部系统的请求。
## How It Works
1. 在 n8n 工作流中添加 Webhook 触发器节点
2. 配置唯一的工作流路径(如 `webhook/my-workflow`
3. 外部系统通过 `POST http://n8n:5678/webhook/my-workflow` 发起请求
4. n8n 接收 JSON payload 并执行工作流
## Use Cases
- AI Agent 调用外部 API通过 webhook 代理)
- 接收 GitHub/GitLab Webhook 通知
- 接收表单提交
- 接收 Twilio/SendGrid 等服务的回调
## Aliases
- Webhook Trigger
- Incoming Webhook