> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/build/respond-to-webhook.md).

# 在 Duaer 里用 Respond to Webhook 回复调用方

在 Duaer 里，Respond to Webhook 决定 Webhook 或表单什么时候、用什么内容回复。前面的 Webhook 要把 Respond 设成 Using Respond to Webhook Node。
## 接到 Webhook 后面

- All Incoming Items：回全部条目。
- JSON 或 Text：自己写正文。
- No Data：空正文。
- Redirect：跳到 Redirect URL。
- Binary File：回一个文件。

1. 打开 Webhook，Respond 选 Using 'Respond to Webhook' Node。
2. 在要回复的那一步加上 Respond to Webhook。它前面的节点可以先算完。
3. Respond With 默认是 First Incoming Item，把第一条数据回给调用方。
4. 点监听测试事件，再打一次测试地址。对方要等到这个节点执行才收到正文。

表单入口也可以把 Respond When 设成同一个选项，再用这个节点回复。见 [在 Duaer 里用 Webhook 接收请求](/zh/build/webhook.md)。
## Questions

### Duaer 里加了 Respond to Webhook，调用方还是马上拿到空响应？

先看 Webhook 的 Respond。没选 Using Respond to Webhook Node 时，默认是 Immediately，这个节点不会负责回复。

