> 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/whatsapp.md).

# 在 Duaer 里用 WhatsApp 发模板消息

在 Duaer 里，WhatsApp Business Cloud 默认 Resource 是 Message，Operation 是 Send Template。Sender Phone Number (or ID)、Recipient's Phone Number、Template 必填。需要 whatsAppApi 凭据。
## 发一条模板消息

1. 先建好 whatsAppApi 凭据（Meta WhatsApp Business Cloud）。
2. 搜索 WhatsApp Business Cloud，接到上一个节点后面，选上凭据。
3. Resource 保持 Message，Operation 保持 Send Template。
4. 选 Sender Phone Number (or ID)，填 Recipient's Phone Number（含国家码），再选 Template。
5. 点执行此步骤。

同一 Resource 下还可改成 Send，或 Send and Wait for Response。也有 Media Resource。

短信见 [在 Duaer 里用 Twilio 发短信](/zh/build/twilio.md)；聊天见 [在 Duaer 里用 Slack 发消息](/zh/build/slack.md)。
## Questions

### Duaer 的 WhatsApp Operation 默认是什么？

Send Template。会话内自由文本改用 Send，并按 MessageType（默认 Text）填写。

## 相关

- [在 Duaer 里用 Twilio 发短信](https://doc.duaer.com/zh/build/twilio.md)
- [在 Duaer 里用 Slack 发消息](https://doc.duaer.com/zh/build/slack.md)
- [在 Duaer 里用 Telegram 发消息](https://doc.duaer.com/zh/build/telegram.md)

