duyeng-intercom-conversations

TotalClaw 作者 totalclaw

读取 Intercom 对话的 Clawhub 技能模块。支持列出、查找与搜索对话,需配置 INTERCOM_ACCESS_TOKEN。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~duyeng-intercom-conversations
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~duyeng-intercom-conversations/file -o duyeng-intercom-conversations.md
## 概述(中文)

读取 Intercom 对话的 Clawhub 技能模块。支持列出、查找与搜索对话,需配置 INTERCOM_ACCESS_TOKEN。

## 技能正文

# Clawhub Skill: Intercom Conversations (Read)

Clawhub 加载此 Node 模块并调用 `default(input)`。

## 必需环境变量

- `INTERCOM_ACCESS_TOKEN`(必需)

## 安装

```bash
npm install
```

## 输入

### 列表
```json
{ "action": "conversations.list", "per_page": 50, "starting_after": "cursor" }
```

### 查找
```json
{ "action": "conversations.find", "conversation_id": "123", "display_as": "plaintext" }
```

### 搜索
```json
{ "action": "conversations.search", "query": { "operator": "AND", "value": [] }, "pagination": { "per_page": 50 } }
```

## 输出

所有成功响应包含 `ok: true` 并回显 `action`。

- list/search: `{ ok, action, conversations, next_starting_after }`
- find: `{ ok, action, conversation }`

错误: `{ ok: false, error, supported_actions? }`

## 合约 / 元数据

- OpenAPI 规范: `openapi.yaml`
- 技能注册元数据: `clawhub.skill.json`