360 Secure SkillHub
360 安全技能中心

Twenty CRM

该 Skill 提供一组 Bash/curl 与 python3 脚本,向自托管的 Twenty 实例发起 REST(/rest)与 GraphQL(/graphql)请求,支持创建公司、按名称查询公司,以及通用 GET/POST/PATCH/DELETE 与 GraphQL 查询;配置从 config/twenty.env 读取 TWENTY_BASE_URL 与 TWENTY_API_KEY。

jhumanj
jhumanj
热度 92.75
最近更新 2026-05-17 11:02:34
分类:营销依赖:代码执行 / 第三方 API / 读写文件应用场景:CRM / API 集成 / 工作流 / 数据处理 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add twenty-crm
Metadata
name
twenty-crm
description
Interact with Twenty CRM (self-hosted) via REST/GraphQL.
metadata
{"clawdbot":{"emoji":"🗂️","os":["darwin","linux"]}}

Twenty CRM

Interact with your self-hosted Twenty instance via REST and GraphQL.

Config

Create config/twenty.env (example at config/twenty.env.example):

  • TWENTY_BASE_URL (e.g. https://crm.example.com or http://localhost:3000)
  • TWENTY_API_KEY (Bearer token)

Scripts load this file automatically.

Commands

Low-level helpers

  • REST GET: skills/twenty-crm/scripts/twenty-rest-get.sh "/companies" 'filter={"name":{"ilike":"%acme%"}}&limit=10'

  • REST POST: skills/twenty-crm/scripts/twenty-rest-post.sh "/companies" '{"name":"Acme"}'

  • REST PATCH: skills/twenty-crm/scripts/twenty-rest-patch.sh "/companies/<id>" '{"employees":550}'

  • REST DELETE: skills/twenty-crm/scripts/twenty-rest-delete.sh "/companies/<id>"

  • GraphQL: skills/twenty-crm/scripts/twenty-graphql.sh 'query { companies(limit: 5) { totalCount } }'

Common objects (examples)

  • Create company: skills/twenty-crm/scripts/twenty-create-company.sh "Acme" "acme.com" 500
  • Find companies by name: skills/twenty-crm/scripts/twenty-find-companies.sh "acme" 10

Notes

  • Twenty supports both REST (/rest/...) and GraphQL (/graphql).
  • Object names/endpoints can differ depending on your workspace metadata and Twenty version.
  • Auth tokens can be short-lived depending on your setup; refresh if you get 401.