使用说明
trigify cli
现代B2B团队的代理社交倾听
CLI和MCP服务器 Trigify.io 社交倾听和信号智能平台。将原始的社交提及转化为信号导向的情报——监控LinkedIn、Twitter、Reddit、YouTube和播客中的关键字提及,跟踪谁参与了特定内容,并用固定的ICP过滤器绘制参与图。
本地代理:每个CLI命令同时都是Claude、Cursor和任何兼容MCP的AI代理的MCP工具。
Trigify的用途是什么
Trigify为B2B团队提供了三个不同的数据层:
| 层 | 你得到什么 | 最好的 |
|---|---|---|
| 社交话题 | 在所有平台上匹配关键字的帖子 | 品牌监控、竞争对手情报、市场研究 |
| 参与情报 | 谁 参与LinkedIn内容匹配关键字 | 基于意图的勘探、ICP受众建设 |
| 英特尔简介 | 特定人的帖子+谁做出了反应/评论 | 账户研究,购买信号跟踪 |
核心用例:
- 销售:找到积极表明购买意愿的人→ 在<60秒内路由到出站序列
- 营销:监控品牌健康状况、竞争对手发布、所有社交渠道的情绪变化
- 产品:展示实时用户对话中的真实功能请求和痛点
- RevOps:跟踪触发自动GTM播放的信号的目标帐户
安装
# Install globally
npm install -g trigify-cli
# Or run without installing
npx trigify-cli --help
需要Node.js 18+。
认证
三种方法,按优先级顺序排列:
1.存储凭据(推荐)
trigify login --api-key <your-api-key>
# Saves securely to ~/.trigify/config.json
2.环境变量(CI/脚本/MCP配置)
export TRIGIFY_API_KEY=your-api-key
trigify searches list
3.每个命令标志
trigify --api-key <your-api-key> searches list
获取API密钥:https://app.trigify.io/settings
快速开始
# Authenticate
trigify login --api-key <your-key>
# ── Social Listening (Standard) ──────────────────────────────────────────────
# Monitor brand/competitor mentions across all platforms (1 credit to create)
trigify searches create \
--name "Brand: MyCompany" \
--keywords "MyCompany,MyCompany.io" \
--platforms "linkedin,twitter,reddit"
# Get results (always free, cursor-paginated)
trigify searches results <id> --platform linkedin --limit 50 --pretty
# ── Topic Intelligence (Enterprise) ─────────────────────────────────────────
# Find people engaging with your pain-point keywords on LinkedIn
trigify topics create \
--name "Intent: outbound pain" \
--keywords "cold email not working,outbound ROI,SDR quota" \
--exclude "job,hiring"
# Check how much data has collected
trigify topics get <id> --pretty
# Pull deduplicated engagers (free after data collects)
trigify topics engagements <id> --page-size 100 --pretty
# ── ICP Prospecting (Enterprise) ─────────────────────────────────────────────
# Find VP Sales at mid-market SaaS companies engaging with outbound content
trigify social mapping \
--keywords "outbound sales,cold email,SDR" \
--seniority "VP,Director" \
--company-size "51-200" \
--industry "SaaS" \
--limit 50 \
--pretty
# ── Profile Research (Enterprise) ────────────────────────────────────────────
# Get a prospect's recent LinkedIn posts
trigify profiles posts --url "https://www.linkedin.com/in/johndoe" --limit 10 --pretty
# Get everyone who engaged with a specific post
trigify posts engagements \
--url "https://www.linkedin.com/feed/update/urn:li:activity:123456789" \
--limit 25 \
--pretty
所有命令
认证
trigify login [--api-key <key>] Store API key (~/.trigify/config.json)
trigify logout Remove stored credentials
trigify mcp Start MCP server for AI agents
搜索-社交倾听(标准层)
监控LinkedIn、Twitter、Reddit、YouTube、播客中的关键字提及情况。 退货 内容/帖子。创建一次,无限期免费阅读结果。
trigify searches create --name <n> --keywords <kw> [--platforms] [--exclude-keywords]
trigify searches list [--page] [--page-size]
trigify searches get <id>
trigify searches update <id> [--name] [--keywords] [--status active|paused] [--platforms] [--exclude-keywords]
trigify searches delete <id>
trigify searches results <id> [--limit] [--cursor] [--platform] [--start-date] [--end-date]
topics--社会话题(企业级)
只有LinkedIn。退货 人们 谁参与了内容匹配关键字。 订婚回填:第1天、第3天、第5天。主题将在30天后过期。
trigify topics create --name <n> --keywords <kw> [--exclude]
trigify topics list [--page] [--page-size]
trigify topics get <id>
trigify topics update <id> [--name] [--status active|paused]
trigify topics delete <id>
trigify topics engagements <id> [--page] [--page-size]
trigify topics post-engagements <topicId> <postId> [--page] [--page-size]
trigify topics credits-summary <id>
配置文件--配置文件数据和参与跟踪(企业级)
提取特定用户发布的内容,并跟踪他们的持续信号。
trigify profiles enrich --url <linkedin-url>
trigify profiles posts --url <url> | --urn <urn> [--limit (max 50)]
trigify profiles engagement-bulk --profiles <urns> [--tag]
trigify profiles engagement-results [--urn] [--tag] [--page] [--page-size]
trigify profiles engagement-post-results [--urn] [--tag] [--page] [--page-size]
trigify profiles engagement-remove --urn <urn>
posts--岗位级数据(企业级)
深入了解特定LinkedIn帖子的参与度和讨论情况。
trigify posts engagements --url <url> | --urn <urn> [--limit] [--cursor]
trigify posts comments --url <url> | --urn <urn> [--limit] [--cursor]
trigify posts comment-replies --post-urn <urn> --comment-urn <urn> [--limit] [--cursor]
社会-社会映射(企业级)
使用ICP滤镜查询参与度图。
trigify social mapping --keywords <kw> [--company-size] [--industry] [--job-title] [--seniority] [--location] [--limit] [--cursor] [--exclude]
公司规模值: "1-10" "11-50" "51-200" "201-500" "501-1000" "1001-5000" "5001-10000" "10001+"
丰富——丰富助手
trigify enrich company --url <linkedin-company-url>
输出选项
# Compact JSON (default — pipe-friendly)
trigify topics engagements <id> | jq '.data[] | {name, company, engagement_count}'
# Pretty-printed (human-readable)
trigify social mapping --keywords "outbound" --pretty
# Specific fields only
trigify topics engagements <id> --fields "name,headline,company,engagement_count"
# Quiet mode (exit code only — for scripts)
trigify searches delete <id> --quiet && echo "Deleted"
利率限额和信用额度
速率限制:100个请求/60秒窗口。CLI以指数回退方式自动重试429个错误。
信用模型 --按需付费,仅对数据提取收费:
| 运营 | 成本 |
|---|---|
| 创建搜索 | 1学分 |
| 个人资料帖子 | 1学分/帖子(最多50个/通话) |
| 聘用后 | 1学分/聘用人 |
| 发表评论 | 1学分/评论 |
| 评论回复 | 1学分/回复 |
| 社交话题 | 1学分/新帖子+5学分/新参与 |
| 社交图谱 | 每个结果的积分 |
| 所有列表/读取/CRUD操作 | 自由 |
| 个人资料参与批量上传 | 自由 (推迟) |
提示:
- 使用
--limit关于扩展前的首次抽样 - 呼叫
topics_credits_summary在拉取大型数据集之前 topics_engagements是免费的——数据成本在收集时searches_results始终免费——创建一次,永远投票
工作流示例
基于意图的勘探
找到那些积极表示你的产品解决了痛苦的人:
# 1. Create intent topic (Day 1/3/5 backfill, 30-day window)
trigify topics create \
--name "Intent: [your pain point]" \
--keywords "pain keyword 1,pain keyword 2,problem statement" \
--exclude "hiring,job"
# 2. Wait for data (poll until engagements_found > 0)
trigify topics get <id> --fields "posts_found,engagements_found"
# 3. Pull all engagers (free — deduplicated)
trigify topics engagements <id> --page-size 100 --pretty
# 4. Filter by ICP criteria
trigify social mapping \
--keywords "pain keyword 1,pain keyword 2" \
--seniority "VP,Director" \
--company-size "51-200" \
--limit 50
竞争对手受众捕捉
# Create multi-platform search for brand mentions
trigify searches create \
--name "Comp: [CompetitorName]" \
--keywords "[CompetitorName] alternative,switching from [CompetitorName],[CompetitorName] problems" \
--platforms "linkedin,twitter,reddit"
# Create LinkedIn topic to capture engagers
trigify topics create \
--name "Comp: [CompetitorName] LinkedIn" \
--keywords "[CompetitorName],[CompetitorName] users" \
--exclude "hiring,job"
# Get competitors' audience with ICP filter
trigify social mapping \
--keywords "[CompetitorName]" \
--seniority "VP,Director,Manager" \
--company-size "51-200,201-500" \
--limit 50
ABM帐户跟踪
# Enrich and bulk-upload champion contacts
trigify profiles enrich --url "https://linkedin.com/in/champion-name"
trigify profiles engagement-bulk \
--profiles "urn:li:member:12345678" \
--tag "target-acme-q1"
# Monitor for buying signals
trigify profiles engagement-post-results --tag "target-acme-q1" --pretty
# Research their recent posts
trigify profiles posts --urn "urn:li:member:12345678" --limit 5 --pretty
病毒后智能
# Get all engagers (paginate fully)
trigify posts engagements --url "<post_url>" --limit 100
# Get comments + top replies
trigify posts comments --urn "<post_urn>" --limit 50 --pretty
trigify posts comment-replies \
--post-urn "<post_urn>" \
--comment-urn "<comment_urn>" \
--limit 20
MCP服务器——AI代理集成
每个CLI命令都可以自动作为MCP工具使用。启动服务器一次,所有25个工具都可用。
trigify mcp
克劳德桌面版
添加 ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"trigify": {
"command": "node",
"args": ["/absolute/path/to/node_modules/.bin/trigify", "mcp"],
"env": {
"TRIGIFY_API_KEY": "your-api-key-here"
}
}
}
}
或者通过npx(无需安装):
{
"mcpServers": {
"trigify": {
"command": "npx",
"args": ["trigify-cli", "mcp"],
"env": {
"TRIGIFY_API_KEY": "your-api-key-here"
}
}
}
}
光标
添加 ~/.cursor/mcp.json:
{
"mcpServers": {
"trigify": {
"command": "npx",
"args": ["trigify-cli", "mcp"],
"env": {
"TRIGIFY_API_KEY": "your-api-key-here"
}
}
}
}
Windsurf/其他MCP客户端
{
"mcpServers": {
"trigify": {
"command": "npx",
"args": ["trigify-cli", "mcp"],
"env": {
"TRIGIFY_API_KEY": "your-api-key-here"
}
}
}
}
连接后,您的AI代理可以访问所有25个Trigify工具:
searches_create, searches_results, topics_create, topics_engagements, social_mapping, profiles_posts, posts_engagements以及更多。看 代理商.md 关于工作流操作手册的完整工具参考。
集成
通过以下方式自然地触发数据对:
| 工具 | 用例 |
|---|---|
| 黏土 | 通过电子邮件、电话和完整的固件来丰富Trigify人员(URN/profile_url) |
| 即时/Smartlead | 序列通过电子邮件触发潜在客户 |
| HeyReach/La生长机 | LinkedIn联系Trigify潜在客户 |
| HubSpot/Salesforce | 将信号记录为CRM活动,创建联系人 |
| Slack | 实时提醒团队注意高意图信号 |
| 外展/销售阁楼 | 添加由Trigify信号触发的节奏 |
| 概念/气垫 | 构建信号仪表板和研究数据库 |
示例:Trigify→ Clay → 即时管道
# 1. Export ICP-matched prospects from Trigify
trigify social mapping \
--keywords "outbound sales" \
--seniority "VP,Director" \
--company-size "51-200" \
--limit 100 \
--fields "name,headline,profile_url,company,urn"
# 2. Pass profile_url column to Clay for email enrichment
# 3. Pass enriched CSV to Instantly for sequencing
建筑
src/
├── index.ts # CLI entry point (trigify binary)
├── mcp.ts # MCP server entry point (trigify mcp)
├── core/
│ ├── types.ts # CommandDefinition + TrigifyClient interfaces
│ ├── client.ts # HTTP client (x-api-key auth, retry, timeout, backoff)
│ ├── config.ts # ~/.trigify/config.json management
│ ├── auth.ts # Key resolution: flag > env > config
│ ├── errors.ts # Typed error classes (AuthError, RateLimitError, etc.)
│ ├── output.ts # JSON formatting (--pretty, --fields, --quiet)
│ └── handler.ts # HTTP request builder from CommandDefinition
├── commands/
│ ├── index.ts # Single source of truth — all commands registered here
│ ├── auth/ # login, logout
│ ├── searches/ # list, get, create, update, delete, results
│ ├── topics/ # list, get, create, update, delete, engagements,
│ │ # post-engagements, credits-summary
│ ├── profiles/ # posts, enrich, engagement-bulk, engagement-results,
│ │ # engagement-post-results, engagement-remove
│ ├── posts/ # engagements, comments, comment-replies
│ ├── social/ # mapping
│ ├── enrich/ # company
│ └── mcp/ # mcp server command
└── mcp/
└── server.ts # Auto-registers all CommandDefinitions as MCP tools
设计原则: 每 CommandDefinition 驱动CLI命令和MCP工具——零重复,单一真实来源。
发展
git clone https://github.com/bcharleson/trigify-cli
cd trigify-cli
npm install
# Run without building (development)
npm run dev -- searches list --pretty
npm run dev -- social mapping --keywords "AI tools" --pretty
# Build to dist/
npm run build
# Type-check only
npm run typecheck
API覆盖范围
实现了所有25个已知的Tritify API端点(21个记录在案的+2个未记录的富集助手):
| 端点 | 方法 | CLI命令 |
|---|---|---|
/v1/searches |
职位 | searches create |
/v1/searches |
得到 | searches list |
/v1/searches/{id} |
得到 | searches get |
/v1/searches/{id} |
补丁 | searches update |
/v1/searches/{id} |
删除 | searches delete |
/v1/searches/{id}/results |
得到 | searches results |
/v1/topics |
职位 | topics create |
/v1/topics |
得到 | topics list |
/v1/topics/{id} |
得到 | topics get |
/v1/topics/{id} |
补丁 | topics update |
/v1/topics/{id} |
删除 | topics delete |
/v1/topics/{id}/engagements |
得到 | topics engagements |
/v1/topics/{id}/posts/{postId}/engagements |
得到 | topics post-engagements |
/v1/topics/{id}/credits-summary |
得到 | topics credits-summary |
/v1/profile/posts |
职位 | profiles posts |
/v1/profile/enrich |
职位 | profiles enrich |
/v1/profile/engagement/bulk |
职位 | profiles engagement-bulk |
/v1/profile/engagement/results |
职位 | profiles engagement-results |
/v1/profile/engagement/post-results |
职位 | profiles engagement-post-results |
/v1/profile/engagement/remove |
职位 | profiles engagement-remove |
/v1/post/engagements |
职位 | posts engagements |
/v1/post/comments |
职位 | posts comments |
/v1/post/comments/replies |
职位 | posts comment-replies |
/v1/social/mapping |
职位 | social mapping |
/v1/company/enrich |
职位 | enrich company |
链接
- npm: https://www.npmjs.com/package/trigify-cli
- GitHub: https://github.com/bcharleson/trigify-cli
- Trigify平台: https://trigify.io
- API文件: https://docs.trigify.io
- 代理人参考: 代理商.md
许可证
麻省理工学院
