简介
Typeform
原始描述
Typeform API integration with managed OAuth. Create forms, manage responses, and access insights. Use this skill when users want to interact with Typeform surveys and responses. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
通过你的 Agent 添加
安装目录:typeform/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
本 Skill 提供 Typeform API 的托管 OAuth 集成方案,用户无需自行处理 OAuth 授权流程,通过 Maton 网关即可调用完整的 Typeform 功能。核心操作包括:表单生命周期管理(创建、更新、删除)、响应数据获取与筛选、工作空间管理、以及数据洞察分析。所有请求通过 https://gateway.maton.ai/typeform/ 代理转发,自动注入 OAuth token。
显著优点
1. 零配置 OAuth:无需注册 Typeform OAuth App 或管理 token 刷新,Maton 自动处理授权流程。用户仅需设置 MATON_API_KEY 环境变量即可开始使用。
2. 完整 API 覆盖:支持表单字段类型(短文本、评分、量表、多选等)、响应分页过滤、时间范围查询、以及 insights 摘要接口。
3. 多连接管理:支持多个 Typeform 账户切换,通过 Maton-Connection 头部指定连接,适合团队协作场景。
4. 多语言示例:提供 Bash、Python、JavaScript 完整代码示例,降低接入门槛。
潜在缺点与局限性
1. 数据流经第三方:所有 Typeform 数据(表单内容、用户响应)需经过 Maton 服务器代理,存在额外的隐私信任层。对于处理敏感 PII 的场景,需评估合规风险。
2. 速率限制:Maton 网关限制 10 req/sec 每账户,高并发场景可能受限。
3. 供应商锁定:深度依赖 Maton 生态,迁移至官方 API 需重构认证层。
4. 社区维护风险:来源分级为 T3(个人/社区项目),长期维护承诺和响应速度存在不确定性。
适合人群
- 快速原型开发:需要 5 分钟内启动调研工具的独立开发者
- 运营自动化:需批量导出响应数据、自动化表单管理的运营团队
- 多账户管理:同时为多个客户/品牌管理 Typeform 账户的代理服务商
常规风险
风险类型
等级
说明
中间人信任
中
Maton 网关理论上可访问传输中的表单数据
API Key 泄露
中
需妥善保管 MATON_API_KEY,避免硬编码
OAuth 会话失效
低
需定期在 ctrl.maton.ai 检查连接状态
服务可用性
中
Maton 平台稳定性直接影响 Skill 可用性
| 风险类型 | 等级 | 说明 |
|---|---|---|
| 中间人信任 | 中 | Maton 网关理论上可访问传输中的表单数据 |
| API Key 泄露 | 中 | 需妥善保管 MATON_API_KEY,避免硬编码 |
| OAuth 会话失效 | 低 | 需定期在 ctrl.maton.ai 检查连接状态 |
| 服务可用性 | 中 | Maton 平台稳定性直接影响 Skill 可用性 |
建议生产环境使用前,直接联系 Maton 获取企业级 SLA 及数据处理协议(DPA)。
技能正文
name: typeform
description: |
Typeform API integration with managed OAuth. Create forms, manage responses, and access insights. Use this skill when users want to interact with Typeform surveys and responses. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
compatibility: Requires network access and valid Maton API key
metadata:
author: maton
version: "1.0"
clawdbot:
emoji: 🧠
requires:
env:
- MATON_API_KEY
Typeform
Access the Typeform API with managed OAuth authentication. Create and manage forms, retrieve responses, and access insights.
Quick Start
# List forms
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/typeform/forms?page_size=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Base URL
https://gateway.maton.ai/typeform/{native-api-path}
# List forms
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/typeform/forms?page_size=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
https://gateway.maton.ai/typeform/{native-api-path}
Replace {native-api-path} with the actual Typeform API endpoint path. The gateway proxies requests to api.typeform.com and automatically injects your OAuth token.
Authentication
All requests require the Maton API key in the Authorization header:
Authorization: Bearer $MATON_API_KEY
Environment Variable: Set your API key as MATON_API_KEY:
export MATON_API_KEY="YOUR_API_KEY"
Getting Your API Key
- Sign in or create an account at maton.ai
- Go to maton.ai/settings
- Copy your API key
Connection Management
Manage your Typeform OAuth connections at https://ctrl.maton.ai.
List Connections
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=typeform&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Create Connection
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'typeform'}).encode()
req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Get Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=typeform&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'typeform'}).encode()
req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Get Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Response:
{
"connection": {
"connection_id": "21fd90f9-5935-43cd-b6c8-bde9d915ca80",
"status": "ACTIVE",
"creation_time": "2025-12-08T07:20:53.488460Z",
"last_updated_time": "2026-01-31T20:03:32.593153Z",
"url": "https://connect.maton.ai/?session_token=...",
"app": "typeform",
"metadata": {}
}
}
Open the returned url in a browser to complete OAuth authorization.
Delete Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Specifying Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If you have multiple Typeform connections, specify which one to use with the Maton-Connection header:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/typeform/forms?page_size=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If omitted, the gateway uses the default (oldest) active connection.
API Reference
User
GET /typeform/me
Forms
List Forms
GET /typeform/forms?page_size=10
Get Form
GET /typeform/forms/{formId}
Create Form
POST /typeform/forms
Content-Type: application/json
{
"title": "Customer Survey",
"fields": [
{"type": "short_text", "title": "What is your name?"},
{"type": "email", "title": "What is your email?"}
]
}
Update Form
PUT /typeform/forms/{formId}
Content-Type: application/json
{
"title": "Updated Survey Title",
"fields": [...]
}
Delete Form
DELETE /typeform/forms/{formId}
Responses
List Responses
GET /typeform/forms/{formId}/responses?page_size=25
GET /typeform/forms/{formId}
POST /typeform/forms
Content-Type: application/json
{
"title": "Customer Survey",
"fields": [
{"type": "short_text", "title": "What is your name?"},
{"type": "email", "title": "What is your email?"}
]
}
Update Form
PUT /typeform/forms/{formId}
Content-Type: application/json
{
"title": "Updated Survey Title",
"fields": [...]
}
Delete Form
DELETE /typeform/forms/{formId}
Responses
List Responses
GET /typeform/forms/{formId}/responses?page_size=25
PUT /typeform/forms/{formId}
Content-Type: application/json
{
"title": "Updated Survey Title",
"fields": [...]
}
DELETE /typeform/forms/{formId}
Responses
List Responses
GET /typeform/forms/{formId}/responses?page_size=25
With filters:
GET /typeform/forms/{formId}/responses?since=2024-01-01T00:00:00Z&until=2024-12-31T23:59:59Z&completed=true
Insights
GET /typeform/insights/{formId}/summary
Workspaces
GET /typeform/workspaces
GET /typeform/workspaces/{workspaceId}
Field Types
short_text - Single line text
long_text - Multi-line text
email - Email address
number - Numeric input
rating - Star rating
opinion_scale - 0-10 scale
multiple_choice - Single or multiple selection
yes_no - Boolean
date - Date picker
dropdown - Dropdown selection
Code Examples
JavaScript
const response = await fetch(
'https://gateway.maton.ai/typeform/forms?page_size=10',
{
headers: {
'Authorization': `Bearer ${process.env.MATON_API_KEY}`
}
}
);
Python
import os
import requests
response = requests.get(
"https://gateway.maton.ai/typeform/forms",
headers={"Authorization": f"Bearer {os.environ['MATON_API_KEY']}"},
params={"page_size": 10},
)
Notes
- Form IDs are alphanumeric strings
- Response pagination uses
before token
- Timestamps are in ISO 8601 format
- DELETE operations return HTTP 204
- IMPORTANT: When using curl commands, use
curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing
- IMPORTANT: When piping curl output to
jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get "Invalid API key" errors when piping.
Error Handling
Status
Meaning
400
Missing Typeform connection
401
Invalid or missing Maton API key
429
Rate limited (10 req/sec per account)
4xx/5xx
Passthrough error from Typeform API
Troubleshooting: API Key Issues
- Check that the
MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
- Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Troubleshooting: Invalid App Name
- Ensure your URL path starts with
typeform. For example:
- Correct:
https://gateway.maton.ai/typeform/forms
- Incorrect:
https://gateway.maton.ai/forms
Resources
GET /typeform/insights/{formId}/summary
GET /typeform/workspaces
GET /typeform/workspaces/{workspaceId}
Field Types
short_text - Single line text
long_text - Multi-line text
email - Email address
number - Numeric input
rating - Star rating
opinion_scale - 0-10 scale
multiple_choice - Single or multiple selection
yes_no - Boolean
date - Date picker
dropdown - Dropdown selection
Code Examples
JavaScript
const response = await fetch(
'https://gateway.maton.ai/typeform/forms?page_size=10',
{
headers: {
'Authorization': `Bearer ${process.env.MATON_API_KEY}`
}
}
);
Python
short_text - Single line textlong_text - Multi-line textemail - Email addressnumber - Numeric inputrating - Star ratingopinion_scale - 0-10 scalemultiple_choice - Single or multiple selectionyes_no - Booleandate - Date pickerdropdown - Dropdown selectionJavaScript
const response = await fetch(
'https://gateway.maton.ai/typeform/forms?page_size=10',
{
headers: {
'Authorization': `Bearer ${process.env.MATON_API_KEY}`
}
}
);
import os
import requests
response = requests.get(
"https://gateway.maton.ai/typeform/forms",
headers={"Authorization": f"Bearer {os.environ['MATON_API_KEY']}"},
params={"page_size": 10},
)
Notes
- Form IDs are alphanumeric strings
- Response pagination uses
before token
- Timestamps are in ISO 8601 format
- DELETE operations return HTTP 204
- IMPORTANT: When using curl commands, use
curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing
- IMPORTANT: When piping curl output to
jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get "Invalid API key" errors when piping.
Error Handling
Status
Meaning
400
Missing Typeform connection
401
Invalid or missing Maton API key
429
Rate limited (10 req/sec per account)
4xx/5xx
Passthrough error from Typeform API
Troubleshooting: API Key Issues
- Check that the
MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
- Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Troubleshooting: Invalid App Name
before tokencurl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsingjq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get "Invalid API key" errors when piping.| Status | Meaning |
|---|---|
| 400 | Missing Typeform connection |
| 401 | Invalid or missing Maton API key |
| 429 | Rate limited (10 req/sec per account) |
| 4xx/5xx | Passthrough error from Typeform API |
Troubleshooting: API Key Issues
MATON_API_KEY environment variable is set:echo $MATON_API_KEY
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
- Ensure your URL path starts with
typeform. For example:
- Correct:
https://gateway.maton.ai/typeform/forms - Incorrect:
https://gateway.maton.ai/forms