← 返回 Skills 市场
brianxmacdonald

GoHighLevel CRM Automation

作者 SetupClaw.tech · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ✓ 安全检测通过
255
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install ghl
功能描述
Full read/write access to GoHighLevel CRM via API v2. Contacts, conversations, notes, opportunities, calendars, tags, tasks, forms, workflows, payments, and...
使用说明 (SKILL.md)

GHL CRM Mastery — GoHighLevel API v2 Skill

What This Does

Gives your agent full operational access to GoHighLevel — read, write, and real-time conversation management. Designed for CRM automation agents (appointment setting, lead qualification, pipeline management).

Contact Operations

  • contacts list — List contacts with pagination
  • contacts get — Full contact record by ID (name, email, phone, company, tags, custom fields)
  • contacts search — Find contact by email
  • contacts search-phone — Find contact by phone number
  • contacts update — Update any contact field (company, tags, custom fields, etc.)
  • contacts add-tags — Apply tags to a contact
  • contacts remove-tag — Remove a tag from a contact

Conversation Operations (Real-Time)

  • conversations list — List recent conversations
  • conversations get — Full conversation history for a contact (last 20 messages with direction, type, timestamp)
  • conversations send — Send SMS, email, or DM reply through GHL. This is how the agent responds to leads.

Notes

  • notes add — Add research notes, call summaries, or interaction logs to a contact record
  • notes list — Read existing notes for a contact

Pipeline & Opportunities

  • opportunities list — List pipeline items
  • opportunities get — Full opportunity details
  • opportunities update — Move opportunity to a different pipeline stage

Calendars

  • calendars list — List available calendars
  • calendars events — List events for a calendar

Tags, Forms, Workflows

  • tags list — List all tags in the location
  • forms list — List forms
  • forms submissions — Get submissions for a specific form
  • workflows list — List workflows (read-only)
  • workflows trigger — Trigger a workflow for a contact (NEVER create/edit/delete)

System

  • health — Test GHL API connection

Real-Time Conversation Pattern

The agent uses this skill for instant lead response. The pattern:

First touch (new lead, no prior research):

  1. contacts search-phone or contacts search — find the contact
  2. contacts get — pull full record
  3. notes list — check for existing research
  4. If no research notes → run identity verification (separate skill/process)
  5. conversations get — read conversation history
  6. Craft personalized response
  7. conversations send — reply via GHL
  8. notes add — log research findings + what was sent

Follow-up messages (contact already researched):

  1. contacts get — pull record (already has research in notes)
  2. conversations get — read latest messages
  3. Craft contextual reply (15-30 second target)
  4. conversations send — reply
  5. notes add — brief log of interaction

Key principle: Research happens ONCE per contact. After that, the agent reads its own notes and the conversation history, then replies fast. The goal is real-time chat feel — under 30 seconds for follow-ups.

Prerequisites

Required environment variables (must be set in your .env file):

GHL_API_KEY=your-private-integration-token
GHL_LOCATION_ID=your-location-id

Required runtime: python3 (ships with macOS; verify with python3 --version).

Getting Your GHL Credentials

  1. Log into GoHighLevel → Settings → Integrations → Private Integrations → Create New
  2. Name it appropriately for your deployment
  3. Enable all required scopes:
    • contacts.readonly, contacts.write
    • conversations.readonly, conversations.write
    • conversations/message.readonly, conversations/message.write
    • opportunities.readonly, opportunities.write
    • calendars.readonly, calendars.write
    • calendars/events.readonly, calendars/events.write
    • locations/tags.readonly, locations/tags.write
    • locations/tasks.readonly, locations/tasks.write
    • forms.readonly, workflows.readonly
    • payments/transactions.readonly, locations.readonly
    • invoices.readonly, invoices.write, users.readonly
  4. Copy the Private Integration Token → GHL_API_KEY in .env
  5. Settings → Business Info → copy Location ID → GHL_LOCATION_ID in .env

Usage

All commands are run via the included Python CLI at {baseDir}/scripts/ghl_api.py:

export GHL_API_KEY=$(grep GHL_API_KEY ~/.openclaw/.env | cut -d= -f2)
export GHL_LOCATION_ID=$(grep GHL_LOCATION_ID ~/.openclaw/.env | cut -d= -f2)

# Test connection
python3 {baseDir}/scripts/ghl_api.py health

# Test contact lookup
python3 {baseDir}/scripts/ghl_api.py contacts list --limit 1

# Test conversation read
python3 {baseDir}/scripts/ghl_api.py conversations get --contact-id "YOUR_CONTACT_ID"

# Send a message
python3 {baseDir}/scripts/ghl_api.py conversations send --contact-id "CONTACT_ID" --message "Hello" --type sms

# Add a note
python3 {baseDir}/scripts/ghl_api.py notes add --contact-id "CONTACT_ID" --body "Research findings..."

Safety Guardrails (Non-Negotiable)

  1. Never create contacts — GHL creates contacts automatically when forms are submitted, SMS received, or DMs received. Creating contacts manually risks duplicates. If a contact doesn't exist, flag to the appropriate channel.
  2. Never delete contacts without explicit human confirmation in Slack
  3. Never send bulk SMS without human approval
  4. Never modify workflows — trigger only, never create/edit/delete
  5. Log every write operation — every conversations send and notes add prints a timestamped log line
  6. TCPA compliance — no SMS between 9PM and 8AM in the recipient's time zone (enforced by TCPA handler layer, not this skill)

Network Endpoints

This skill connects exclusively to the GoHighLevel API:

  • https://services.leadconnectorhq.com — GHL API v2 (all operations)

No other external endpoints are contacted. All credentials are read from local environment variables only.

Changelog

v1.3.0 (March 2026)

  • Added metadata.openclaw frontmatter declarations (requires.env, requires.bins, primaryEnv) for ClawHub security compliance
  • Added {baseDir} references for portable skill paths
  • Added explicit network endpoint documentation
  • Updated _meta.json with runtime and credential requirements
  • Generalized agent references for broader deployment compatibility

v1.2.0 (March 2026)

  • Added conversations send, notes list, contacts search-phone
  • Real-time conversation pattern documentation

v1.0.0 (March 2026)

  • Initial release: 24 endpoints covering contacts, conversations, notes, opportunities, calendars, tags, forms, workflows
安全使用建议
This skill appears to be what it says: a Python CLI for full GHL API access. Before installing, review these practical items: 1) Principle of least privilege — when creating the Private Integration, enable only the scopes you actually need (consider a read-only token for testing). 2) SMS/communications risk — the skill can send messages; restrict message-sending scopes and require human approval for bulk sends. 3) Secret handling — follow secure storage for GHL_API_KEY (avoid committing ~/.openclaw/.env to source control) and rotate the key if you test on ephemeral or untrusted systems. 4) Vendor/source verification — the package's source is listed as unknown and homepage points to setupclaw.tech; if this will run in production, verify the vendor and review scripts/ghl_api.py fully (you already have the code) or run in an isolated environment first. If you want extra assurance, run the CLI in a test GHL account with limited scopes before connecting it to production data.
能力评估
Purpose & Capability
Name/description promise full read/write access to GoHighLevel; the skill requires GHL_API_KEY and GHL_LOCATION_ID and exposes commands for contacts, conversations, notes, opportunities, calendars, tags, forms, workflows trigger, payments/invoices, etc. The requested scopes in the README match the operations the CLI implements.
Instruction Scope
SKILL.md instructs the agent to call the included Python CLI and to set two environment variables. The documented runtime steps (search contact, read convo, send reply, add note) are proportional to the described real-time CRM automation purpose. The only references to local files are example shell commands that grep ~/.openclaw/.env to export variables—these are convenience instructions, not hidden reads of unrelated system state.
Install Mechanism
There is no install spec; the skill is instruction + a single Python script. The script uses only Python standard library modules (urllib, json, etc.) and does not download or extract external code. This is a low-risk install footprint.
Credentials
Only two environment values are required: the GHL API key (primary credential) and a Location ID. These are exactly what a full-featured GoHighLevel integration would need. The SKILL.md explicitly instructs to create a Private Integration and enable matching scopes, which is coherent with provided features.
Persistence & Privilege
The skill does not request always: true and does not modify other skills or system-wide settings. It runs as a user-invocable tool and uses only environment variables; it does not persist credentials to disk itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ghl
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ghl 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
- Added metadata frontmatter for ClawHub security compliance (env vars, required binaries, primary API key) - Specified `{baseDir}` for portable CLI usage examples - Included explicit documentation of allowed network endpoints - Updated usage and credential requirement documentation for clarity - Generalized agent references for wider deployment compatibility
v1.2.0
Major update with expanded GoHighLevel CRM access, real-time conversation support, and enhanced safety guardrails. - Full read/write access to contacts, conversations, notes, opportunities, calendars, tags, tasks, forms, workflows, payments, and invoices via GHL API v2. - Real-time conversation management workflow for instant lead response, emphasizing research-once and fast follow-ups. - Includes rate-limit retries, explicit safety guardrails (no manual contact creation, bulk SMS, or workflow modifications), and timestamped logs for write operations. - Designed for OpenClaw Agent usage with step-by-step usage patterns and environment setup guidance. - Enforced TCPA compliance and human confirmation on sensitive actions.
元数据
Slug ghl
版本 1.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

GoHighLevel CRM Automation 是什么?

Full read/write access to GoHighLevel CRM via API v2. Contacts, conversations, notes, opportunities, calendars, tags, tasks, forms, workflows, payments, and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 255 次。

如何安装 GoHighLevel CRM Automation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ghl」即可一键安装,无需额外配置。

GoHighLevel CRM Automation 是免费的吗?

是的,GoHighLevel CRM Automation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

GoHighLevel CRM Automation 支持哪些平台?

GoHighLevel CRM Automation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 GoHighLevel CRM Automation?

由 SetupClaw.tech(@brianxmacdonald)开发并维护,当前版本 v1.3.0。

💬 留言讨论