# Agent (Coordinate with Coze)

## 一、Coze登录与创建

登陆地址：<https://www.coze.cn/home>

### 步骤1：注册[coze账户](https://www.coze.cn/home)并登录

<figure><img src="/files/UGkQRf3jrl3q1D4x5gvC" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/BtZXYX96z1ia3GDAJEnt" alt=""><figcaption></figcaption></figure>

### 步骤2：创建智能体

<figure><img src="/files/Nu5OAIgQpq9giMCmTck5" alt=""><figcaption></figcaption></figure>

您可以在机器人上执行流程编排，例如上传知识库、设置工作流并发布它们。

<figure><img src="/files/oXnkrrVzuJWI860Dssbp" alt=""><figcaption></figcaption></figure>

### 步骤3：配置 API 授权信息

<figure><img src="/files/o9Xpjg0R0TDCF2Wy7Ism" alt=""><figcaption></figcaption></figure>

选择 OAuth 应用程序并点击“创建应用”按钮。

<figure><img src="/files/pMtZlveFQ5cyYzwYgXCz" alt=""><figcaption></figcaption></figure>

应用类型选择 \[普通]，客户端类型选择 \[服务类应用]。

<figure><img src="/files/y1S0msssNoaWkyQh3B3y" alt=""><figcaption></figcaption></figure>

授权所有内容并点击”确定“。

<figure><img src="/files/Hc5QjnNbgqof8SIlfdr0" alt=""><figcaption></figcaption></figure>

### 步骤4：复制WhatsApp Agent所需参数

BOT ID: 进入智能客服编辑页面复制BOT ID。

<figure><img src="/files/74lGEdioDv4S8doPAcqb" alt=""><figcaption></figcaption></figure>

APP ID:

<figure><img src="/files/ATFhWVTImwRaJRgkjzFI" alt=""><figcaption></figcaption></figure>

共钥与私钥：

注意：私钥文件不可更改，下载后可直接上传至WhatsApp。

<figure><img src="/files/cl9AB6qmqtLd1i59xdrr" alt=""><figcaption></figcaption></figure>

## 二、在InnoPaaS上创建Agent

点击”+ New Agent“

<figure><img src="/files/tkskMCchOvdE54qFAulJ" alt=""><figcaption></figcaption></figure>

输入Agent名称并选择对接平台：coze，填写刚获得的参数并保存。

<figure><img src="/files/Z7xkQic6tv5B6w1reuF9" alt=""><figcaption></figcaption></figure>

您可以自定义机器人设置，例如营业时间、非营业时间回复语言等。

<figure><img src="/files/kNrP6itzEgCXdpaU2ctO" alt=""><figcaption></figcaption></figure>

## 三、启动机器人回复

进入Inbox，点击机器人头像即可为当前对话设置专属机器人。若当前会话未配置机器人，则默认使用全局机器人。

<figure><img src="/files/79WVsu5hhqplFV9L2MbN" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/h2KAso0RlPXPvUfe6331" alt=""><figcaption></figcaption></figure>

机器人回复效果展示：

<figure><img src="/files/hodLHjwnveKEa8FvPTjI" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.innopaas.com/whatsapp-chan-pin/ji-qi-ren-agent/agent-coordinate-with-coze.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
