> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fetchhive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WhatsApp

> 让代理访问你已连接的 WhatsApp 账号

# WhatsApp

代理可以通过你已连接的 WhatsApp Business 账号发送文本、模板和媒体消息。它还可以列出和更新模板、查看电话号码，以及管理流程。

## 它的作用

当 WhatsApp 在代理中启用后，代理可以在推理过程中执行 WhatsApp 操作。你提出一个问题或给它一个任务，代理会决定何时以及如何代表你使用你的 WhatsApp 账号。

## 前提条件

在启用此工具之前，你的工作区中必须有一个处于活动状态的 WhatsApp 连接。如果没有活动连接，开关将被禁用。

1. 前往你工作区中的 **Integrations**。
2. 在集成网格中找到 **WhatsApp**。
3. 点击 **Connect** 并完成登录流程。
4. 返回你的代理并启用该工具。

## 将工具添加到代理

1. 在编辑器中打开一个代理。
2. 点击带有提示 **Add MCP Tool or Sub Agent** 的按钮。
3. 在 **MCP Tools** 中，点击 **WhatsApp**。WhatsApp 节点会出现在画布上。
4. 点击该节点以打开右侧的 **Settings** 面板。
5. 在 **Authentication** 字段中，选择代理应使用的已连接 WhatsApp 账号。
6. 如果未找到活动连接，设置面板会显示一条警告，并提供一个指向 **Integrations** 的链接，让你先去连接。

## 使用场景

* 回复客户
* 创建并使用模板
* 处理共享媒体

## 注意事项

* 代理会使用你已连接的 WhatsApp 账号来执行操作。
* 此工具按代理执行的每个操作计算 1 个积分。
* 登录界面可能会显示第三方授权品牌标识。

另请参阅：[Integrations](https://docs.fetchhive.com/zh/workspace/integrations.md), [Creating and Configuring](https://docs.fetchhive.com/zh/agents/creating-and-configuring.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.