/uxie-ghl-factory:ghl-voice-aifrom uxie-ghl-factory
Builds and configures GoHighLevel Voice AI phone agents using the internal API for full behavior control — prompts, voice, actions (appointment booking, transfers, SMS, workflows, custom API), knowledge bases, MCP servers, and outbound consent.
Ships in uxie-ghl-factory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
MCP routing: if
uxie-ghl-internal-mcpis registered, prefercreate_voiceai_agent— it wraps this skill's compiler behind a confirmation gate and round-trip verification.
Both rails return the same agent, but not the same agent. Measured on a live account:
| fields | |
|---|---|
public GET /voice-ai/agents/{id} | 27 |
internal GET /voice-ai/agents/{id} | 51 |
The 24-field gap is the entire behaviour layer: every action array
(agentTransferActions, callTransferActions, contactFieldActions, customActions,
smsActions, workflowActions, capActions), appointmentBookingAction,
knowledgeBaseIds, llmModel, extractDataFields, mcpServers, aiDisclaimerConfiguration.
Public exposes how the agent sounds and paces (voiceId, responsiveness,
maxCallDuration, spamConfig). Its agent object does not carry what the agent does — the fields above. The
public API documents attaching actions separately (/voice-ai/actions, eight action types); that is not yet proven live.
Use the public rail for a quick read; use this for anything that configures behaviour.
Both rails returned the same agents on the sandbox (2026-10-29). The read stays undecided: the public list carries more fields per agent, the internal single-agent read carries more than the public one.
generated from the rail ledger (mcp-internal/catalog/rail-ledger.json) — do not edit; the whole ledger is ghl-orientation/references/rail-ledger.md.
| Job | Decision | Routed today | Internal | Public |
|---|---|---|---|---|
| read | undecided | internal | raw_request:GET /voice-ai/agents | voice-ai-v3__get-agents, voice-ai__get-agents, voice-ai-v3__get-agent, voice-ai__get-agent |
| create | undecided | internal | create_voiceai_agent | voice-ai-v3__create-agent, voice-ai__create-agent, voice-ai-v3__create-action, voice-ai__create-action |
| edit | undecided | internal | update_voiceai_agent | voice-ai-v3__patch-agent, voice-ai__patch-agent, voice-ai-v3__update-action, voice-ai__update-action |
| delete | undecided | internal | raw_request:DELETE /voice-ai/agents/{agentId} | voice-ai-v3__delete-agent, voice-ai__delete-agent |
| logs | undecided | internal | get_voice_call_logs | voice-ai-v3__get-call-logs, voice-ai__get-call-logs |
Internal only: llmModel; mcpServers; transfer; disclaimer; publish mode; folders. Public only: nothing recorded.
Follow ${CLAUDE_PLUGIN_ROOT}/docs/specialist-contract.md (recon → brief → intake →
blueprint → approval → execute → verify). Recon = read the existing agents first.
references/voice-ai.md — endpoints, the create and update rails, action payloads, the
compiler. The proven subset, with the semantics.search_endpoints on the internal MCP — every /voice-ai/* route the corpus records,
including ones this skill never exercises; describe_endpoint gives the exact raw_request.
The index, not the semantics: a route that is there and not in the reference has a path and
nothing else proven about it.Corpus (deeper, account-agnostic): ai-agents/10-anatomy/voice-ai-agent-shape.md,
ai-agents/30-types/voice-ai-actions.md, ai-agents/40-rules/constraints.md.
1. Edit an existing agent with update_voiceai_agent, never with the create compiler. Measured 2026-09-28 by
diffing every field: PUT /voice-ai/agents/{id} with a partial body MERGES at the top level (only the keys
sent change, on either the mode-less or the ?publishAgent=true&mode=update rail), but a nested object is
validated whole: a partial one 422s and writes nothing. The tool merges nested objects over the stored ones and
drops the one inner key the read carries but the write refuses (aiDisclaimerConfiguration.isGreetingMessageDynamic).
What clobbers live values is the create compiler (compileVoiceAiUpdate), which fills every omitted field with its
own default. It is right for a new agent and wrong for an existing one.
1b. A 400 can still have written. Some refusals come from the voice provider after GHL has stored the value:
llmModel: "bogus-llm", beginMessageDelayMs: 11000 and backchannelFrequency: 1.5 answered 400 in the provider's
words, and GHL kept the value.
update_voiceai_agent detects that (PROVIDER_REFUSED_BUT_STORED) and writes the previous values back. On a raw
call, re-read after every 400.
2. Empty strings are rejected, absent keys are fine. businessName, welcomeMessage and
timezone return 422 when sent as ''. The compiler omits them instead — do not
"helpfully" fill them with placeholder text.
3. Speech-to-speech and outbound — re-check before relying on it. On 2026-08-25 selecting a
speech-to-speech model removed the Inbound/Outbound selector (reversible A/B). Build 701 (2026-09-25)
has four s2s models (GPT Realtime 2.1, GPT Realtime 2, GPT Live 1, Gemini 3.1 Flash Live Preview), sets the agent's provider to lc (openai_s2s / gemini_s2s are only voice-picker
tags), and its outbound check now treats lc agents as outbound-capable. Until that is re-proven, tell
the user outbound on an s2s agent is uncertain and test it on their account.
4. Changing the model family invalidates the voice. Text → s2s auto-changed the voice;
switching back left it empty. Any write that changes voiceModel must revisit voice.
5. Multi-calendar booking needs a per-calendar trigger. calendarActionType: "multiple"
switches the shape: calendarId: null, calendarIds: [{id, triggerCondition}] — an array of
objects (Conversation AI's multi-calendar uses the same object shape) — plus aiDescription (≤500 chars) and an
optional fallbackCalendar / fallbackCalendarId. Omit triggerCondition and the agent has
calendars with no basis for choosing between them. GHL ships
POST /voice-ai/actions/generate-with-ai/trigger-prompts with generateOnlyEmpty: true to
fill them.
6. The verifier reads nested. The PUT sends ~55 fields flat; the GET returns most under
agentSettings, wraps voice/language as objects, and renames ringDurationSeconds →
ringDurationMs and inboundPhoneNumber → inboundNumber. The driver normalises this — do
not "fix" a reported mismatch by flattening the read.
7. 🔴 A Test Audio call writes to the SIGNED-IN USER's own contact. The builder's web call
(POST /voice-ai/call/create-trial-web-call/{agentId}) mints no contact: it binds the call to the operator's existing
contact (measured 2026-09-28). On an agent that updates contact fields, saves summary notes or runs post-call
workflows, a test call writes to that real person's record and fires whatever catches it. Before a test call, switch
those off or make them unreachable, and read the operator's contact afterwards. Opening a call's details also tries
POST /performance-ai/ai-supervisor/agents (registers the agent with the AI supervisor), which is a write on view.
8. Duplicate is lossy. POST /voice-ai/agents/{id}/duplicate names the copy "<name> - Copy" and copies the actions,
but it drops the hangup prompt (endCallConfig.instruction), resets hold phrases (noResponseConfig) to off, loses
voiceModel, and switches voice.provider to ELEVEN_LABS. Re-apply those with update_voiceai_agent.
9. Every new voice agent emails ALL admins after every call. sendPostCallNotificationTo is created as
{admins:true, …} (live 2026-09-30), and so is the hand-off agent behind a flow builder agent and any agent the Ask AI
copilot makes. Before attaching a number to a test or draft agent, turn it off with update_voiceai_agent
(sendPostCallNotificationTo with all five keys: admins, allUsers, contactAssignedUser, specificUsers, customEmails).
10. A purchased number becomes the location's default sender. The first number bought on a sub-account is
isDefaultNumber:true, so workflow SMS and call steps that had no sender now have one, and any call to it reaches the
attached agent. "Proceed to Buy" in the UI is the purchase, not a preview. US SMS from it needs A2P 10DLC registration.
A caller hears the prompt, so write for the ear. Use short turns, one or two sentences each. Never send a caller to something they must read or click ("see the link", "tap here", "see attached"). No emoji in the prompt or the greeting, and no narration of what the agent is about to do. Read names, emails and phone numbers back one character or one digit at a time (with the country code for a number), and let the caller correct them.
Make the prompt handle both kinds of caller: when the record already has a name, email or number, confirm it; when it is empty, ask for it. Keep the greeting on one line of 190 characters or fewer. Offer a booking only when a calendar is attached to the agent; without one, the agent should not mention booking at all. Never invent a price, discount or guarantee: when the caller asks, offer a team callback to quote it. Do not name the voice provider to the caller.
Set the language from the callers' own words: if most of the inbound messages are in one non-English language (about 70% or more of the words), use that language; otherwise use English.
When the agent is created and then its actions are attached, a partial failure should not roll the agent back. Say which actions failed, by the label the page shows, and point to the agent page to retry. Publish is confirmed by the agent's status being active, nothing more.
An agent goes live by being attached to a number:
PUT /voice-ai/agents/{agentId}/phone-number. Outbound is separate again and gated on
consent (/voice-ai/consent/*, async apply + audit tasks with status polls) before it can be
configured at all.
A number is BOUGHT in Settings → Phone System (a search route and a …/purchase route, references/voice-ai.md), then
attached on the agent's Deploy tab, whose Save is the agent PUT with inboundPhoneNumber and inboundNumbers. Nothing on
a test sub-account can ring it: a real call needs a person.
Agent name ≤40 chars · greeting ≤190 · execution message ≤500 · folder name ≤100 ·
custom API actions need apiUrl and, when auth is on, an API key · hold phrases ≤20 · post-call workflows
(callEndWorkflowIds) ≤10 · session variable names
session.[A-Za-z0-9_-]+, ≤64, unique.
Full set: ai-agents/40-rules/constraints.md.
| Surface | Status |
|---|---|
| create → builder-save PUT → verify | live-proven end-to-end. POST /voice-ai/agents takes {locationId, folderId?} and returns an id; the follow-up PUT …?publishAgent=true&mode=update applies the config and the re-read confirms it. Proven at create (2026-09-29): folder, user_first (+ fallback, silence ms), all three denoising modes, languages[], session variables, endCallConfig, spamConfig, disabledPrompts; a speech-to-speech model switches the provider to lc and s2sBehaviour goes in a second PUT. patienceLevel is accepted by GHL and stored nowhere, so both tools refuse it. Unknown spec keys are refused before anything is sent |
Call logs, one call, outbound queue (get_voice_call_logs) | live-proven reads (2026-09-29): every filter by differential; LIVE vs TRIAL separates real calls from Test Audio calls; the queue was empty on the test account |
CALL_TRANSFER, DATA_EXTRACTION | live-fired |
WORKFLOW_TRIGGER | ran on a live call (2026-09-28 web call: the tool fired mid-call and spoke its static triggerMessage) |
SMS, APPOINTMENT_BOOKING, AGENT_TRANSFER_CHILD | created live by create_voiceai_agent and read back (booking mints GET_SLOTS / BOOK_SLOT, the transfer mints its AGENT_TRANSFER root); not run on a call |
CAP (customApi) | test, create and attach live-proven (2026-09-30, through the editor: the body carries the API key); not run on a call |
| MCP servers | add, tools fetch (GHL calls the URL), tool attach and read-back live-proven (2026-09-30); not run on a call |
IN_CALL_DATA_EXTRACTION | untested. Do not assume it mirrors DATA_EXTRACTION |
The seven types verified live are CALL_TRANSFER, WORKFLOW_TRIGGER, SMS, DATA_EXTRACTION,
APPOINTMENT_BOOKING, CAP, AGENT_TRANSFER_CHILD. The wire enum also has CUSTOM_ACTION (legacy
webhook action), AGENT_TRANSFER, IN_CALL_DATA_EXTRACTION, DATA_INJECTION, CANCEL_APPOINTMENT,
RESCHEDULE_APPOINTMENT, KNOWLEDGE_BASE; CAP carries four variants (customApi, sendEmail,
sendSms, sendWhatsAppMessage — the menu's "Send WhatsApp message" is one); MCP is its own resource,
not an action type.
Verification covers 52 of the ~55 fields the update sends. Four stay unverified because the
read does not expose them in every state: backchannelFrequency (only when backchannel is on),
prompts (only once configured), numberPoolId and knowledgeBasePrompt (state unknown).
Treat the first real use of any capture-verified type as a validation run. A failed configuration step leaves a real, unconfigured agent on the account — no rollback.
If the user wants one of these, GHL can do it — say so and point to the UI.
| Capability | Where in GHL | Why not here |
|---|---|---|
Flow-builder voice agents (node graph, CUSTOM_LLM over agent-execution) | Voice AI → Create Agent → Flow Builder | legacy flow-builder generation, not engine-authored |
Custom Action 2.0 variants beyond customApi (Send Email / SMS / WhatsApp) | Voice agent → Actions → New Action | source-derived only so far |
| An MCP server or Custom Action 2.0 that needs a credential (header / API key) | Voice agent → Actions → New Action → Add MCP / Custom Action 2.0 | the internal tool refuses a credential in its arguments and GHL redacts it on read; do it in the editor (reads and credential-free writes work through raw_request, references/voice-ai.md) |
| Prompt Optimizer / Prompt Evaluator | Voice agent → Prompt Optimizer (Labs); the Evaluator and Edit with AI exist only in the legacy editor | billed, Labs-gated |
| Voice cloning / importing a community voice | Voice picker → My voices | not engine-authored |
| Buying numbers, number pools, KYC | Voice agent → Deploy → Buy new number | purchases and compliance |
| Outbound consent tool (apply / audit consent language) | Voice AI → Outbound settings | compliance, account-wide |
| Agent templates (Browse Marketplace; AI Agents → Agent Templates) | Voice AI → Create Agent → Browse Marketplace → Install, or AI Agents → Agent Templates | every template is a marketplace app, mostly third-party; Install is an OAuth app authorization. 🔴 A template's booking and workflow actions are bound to the DEVELOPER's calendar and workflow ids: after an install, re-point them at the account's own objects before going live [inferred, not installed]. The list is readable raw: GET backend…/marketplace/apps/templates/ai/search?type=voice|text&locationId=… (corpus ai-agents/20-api/agent-templates.md) |
Voice AI only. Conversation AI is reachable on both rails, and its configuration goes on the internal rail (see ghl-conversation-ai, Rail routing: 17 sub-accounts measured, both rails address the same agent objects).
Knowledge bases are ghl-knowledge-base. Agent Studio is out of scope.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
22 skills in this plugin
/create-ghl-workflowUse when programmatically creating, building, or publishing a GoHighLevel / HighLevel workflow, or adding triggers/actions/steps to one, via the internal builder API — e.g. "create a GHL workflow", "add a webhook/email step via API", "build a HighLevel automation programmatically", or when a workflow step created via API saves but won't open in the builder. Write counterpart to get-ghl-workflow-json (read-only). Draft-first; publish when the approved plan says the workflow goes live (no separate yes)./get-ghl-workflow-jsonCapture, export, and validate GoHighLevel / HighLevel workflow JSON from the workflow builder's read-only internal endpoints. Use when the user asks to get, download, export, inspect, archive, harvest, or troubleshoot raw workflow JSON/config; workflow trigger JSON; sticky notes; step counts; workflow settings; trigger/action catalogs; or when they provide an app.gohighlevel.com location/workflow URL and want the underlying JSON. Uses browser JWT interception, human-paced throttling, and read-only GET requests only./get-ghl-workflow-logsRead the RUNTIME of a GoHighLevel / HighLevel workflow — its execution logs, enrollment history, and per-step contact counts — from the builder's read-only internal endpoints. Use whenever the user wants to know what a workflow actually DID at runtime rather than how it's configured — for example "why are contacts stuck", "did this workflow actually send the email/SMS", "show me the execution logs", "run history", "enrollment history", "which step is everyone sitting at", "why did this step fail / get skipped", "is this branch dead", "how many contacts went down this path", "who exited early and why", or when they give an app.gohighlevel.com workflow URL and ask what happened to the contacts in it. This is the runtime sibling of get-ghl-workflow-json (which exports the static config). Uses browser JWT interception, human-paced throttling, and read-only GET requests only — never mutates enrollments.npx claudepluginhub uxieee/uxie-ghl-factory --plugin uxie-ghl-factoryOther plugins' skills for the same job