/synthflow:build-actionfrom Synthflow
Create, update, test, and attach Synthflow agent actions over MCP — custom HTTP actions, information extractors, transfers, SMS, real-time booking (Cal.com, GoHighLevel), IVR navigation, custom evaluations, and call-summary emails. Use this whenever the user wants to give an agent a new capability, connect it to an API or CRM, extract data from calls, add a transfer or SMS, set up booking, change an action's URL, body, or variables, or fix an action that isn't firing or is failing. Trigger on phrases like "add an action", "call my API during the call", "extract the caller's email", "set up a transfer", "connect booking", "update the webhook URL", or "the action isn't working".
Ships in Synthflow. 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.
None: SKILL.md is the whole skill.
Actions are what an agent can do beyond talking: call an API, extract data after the call, transfer, send an SMS, book, navigate an IVR, score the call, or email a summary. This skill builds them in the order that works:
plan → check prerequisites → create → initialize/test → attach → verify on a call
The MCP action tools have their own field names, which differ from the REST API and from the dashboard labels. Most failed action calls come from using the wrong field names, so follow the shapes below exactly, and read an existing action with get_action before changing it.
This playbook runs on the Synthflow MCP tools, whether they come from the plugin's bundled server or the official Synthflow connector.
list_actions, get_action — find existing actions; read exact field names before any update.list_integrations — required before booking or any provider-backed action.test_api_call — call the user's endpoint directly to see the real response before building on it.create_action — name, type, action_data.update_action — action_slug, update_data, confirmed.initialize_action — sends a test request for a custom action and activates it. Required after creating or changing one.attach_action_to_agent / detach_action_from_agent — model_id, action_slug, attachment_type (before, during, after), confirmed.get_agent_actions — what's attached to an agent now.list_webhook_logs, get_webhook_log_detail — request and response of real action executions, for debugging.Some tool descriptions mention confirm_action and show_form. Those UI tools don't exist over MCP:
confirmed: true.action_data. Create the action without the credential and have the user add it in the action's settings in the Synthflow dashboard.list_actions with a search term. If a similar action exists, prefer updating or reusing it over creating a duplicate. An action can be attached to several agents.| Need | type | Usual attachment_type |
|---|---|---|
| Call an HTTP API (lookup, create ticket, write to CRM) | custom | during, or before to load data before the call |
| Pull a value out of the conversation (email, reason, intent) | info | after |
| Hand the caller to a person or number | transfer | during |
| Text the caller | sms | during |
| Book in Cal.com or GoHighLevel | booking | during |
| Navigate a phone menu with DTMF | ivr | during |
| Score the call against criteria | custom_eval | after |
| Email a summary of every completed call | email | after |
MCP-server actions (type: "mcp") can't be created here — they're configured in the dashboard under Settings → MCP.
list_integrations. If the provider (Cal.com, GoHighLevel, …) is missing or is_configured is false, stop and tell the user to connect it on the Integrations page first.test_api_call, using realistic example values, to see the actual response. Build the action's inputs and the agent's use of the response from what comes back, not from assumptions.Pass these as action_data. Use exactly these field names — aliases from the REST API or older docs (phone, instructions, transfer_mode, variables_during_the_call, json_body_stringified, YES_NO, OPEN_QUESTION, booking_title, timezone) are ignored or rejected.
custom — HTTP API
{
"url": "https://api.example.com/orders/lookup",
"http_method": "post",
"description": "Look up an order by its number when the caller asks about an order.",
"prompt": "Use this when the caller gives an order number and wants its status.",
"body": { "order_number": "{order_number}" },
"input_variables": [
{ "name": "order_number", "type": "string", "description": "Order number the caller gives", "example": "ORD-12345" }
]
}
http_method is lowercase. body is an object, with {placeholders} matching input_variables names.description and prompt decide when the LLM calls the action — make them specific.info — information extractor
{ "question": { "type": "choice", "identifier": "call_reason", "text": "Why did the caller call?", "choices": ["booking", "billing", "support", "other"] } }
question.type is open, yesno, or choice (lowercase).identifier is snake_case and becomes the key in call results. Choose it carefully — reports filter on it (see call-report).question.examples for open and choice.transfer
{ "phone_number": "+14155550123", "trigger": "The caller asks for a human or the agent can't resolve the issue.", "transfer_target_type": "single_target", "call_transfer_info": { "mode": "warm_transfer_with_context" } }
phone_number in E.164. mode is cold_transfer, warm_transfer, or warm_transfer_with_context.sms
{ "content": "Thanks for calling. Book here: https://example.com/book", "instructions": "Send after the caller agrees to receive the booking link." }
booking — always nested under config:
{ "config": { "type": "calcom", "event_type_id": "123456", "booking_email": "[email protected]", "lead_timezone": "America/Chicago", "days": 7, "slots_per_day": 3, "min_hours_diff": 1 } }
"type": "ghl", with calendar_id and title required; optional status (confirmed/pending), location_id, assigned_user_id.first_appt_date (YYYY-MM-DD), days, slots_per_day, min_hours_diff, lead_timezone (IANA).email
{ "recipients": ["[email protected]"] }
For ivr and custom_eval, check an existing action of that type with get_action, or search the docs with search_docs, before creating one — don't guess their fields.
For custom actions, call initialize_action after every create or change, with example_variables for each input. The action isn't active until this succeeds.
Check the response:
test_api_call, fix with update_action, and initialize again. Common causes: wrong method, a body placeholder that doesn't match an input variable name, a missing auth header (have the user set it in the dashboard), or a slow endpoint (consider failure_timeout and a start_message so the caller isn't left in silence).initialize_action calls the real endpoint. If it writes data, use test values and tell the user.
get_agent_actions for the target agent — note what's attached already, so you don't duplicate an action or remove one by mistake.before, during, or after), and get a yes.attach_action_to_agent with confirmed: true.get_agent_actions again — the action is attached once, with the right timing.If the agent's prompt must mention the action (when to use it, what to say while it runs), make that change through the safe-agent-change skill, and check that attached actions survive the publish.
get_action first — always. Use its exact field names.update_action with only those fields in update_data and confirmed: true.initialize_action again.If update_action returns Could not edit action …, re-read it with get_action, check you're using the stored field names (http_method, body, input_variables, start_message, failure_message, failure_timeout), and retry once with a smaller change.
After a test call or simulation (see regression-test):
get_call_details → executed_actions: the action ran, with the inputs you expected.list_webhook_logs with webhook_type: "custom_action" and the call_id, then get_webhook_log_detail for the request and response.return_value with your identifier.get_action before every update; get_agent_actions before every attach or detach.confirmed: true. For attach, detach, and update.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/call-reportBuild a call-volume and outcome report for a Synthflow agent, workspace, or agency — counts, durations, statuses, end-call reasons, call reasons from information extractors, transfer and booking results, and trends over a period. Use this whenever the user wants a daily, weekly, or monthly report, a call-reason breakdown, KPIs for a customer, an operations dashboard dataset, or numbers like "how many calls did we get", "what are people calling about", or "what share of calls were transferred". For a quality audit of individual calls, use the call-review skill instead./call-reviewReview the last 100 calls for an agent and surface problems. Use this whenever the user wants a call-quality audit, a QA pass over recent calls, a "what's going wrong with this agent" review, or to find failed, unresolved, dropped, or otherwise problematic calls. Trigger on phrases like "review my calls", "what's wrong with the calls", "QA the last 100 calls", "find bad calls", or "audit recent calls"./diagnose-callInvestigate why a specific Synthflow call (or a small set of similar calls) went wrong — failed or missed transfers, calls cut off, the agent going silent or repeating itself, actions or webhooks that didn't fire or failed, wrong data captured, or outbound calls that didn't connect. Use this whenever the user points at a call or a phone number and asks what happened or why, e.g. "why did this call drop", "the transfer didn't ring", "the booking didn't happen on this call", "the webhook never arrived", or "check the call from +1… this morning". For an audit of many recent calls, use the call-review skill instead./prompt-reviewReview AI voice-agent prompts, especially Synthflow Single-Prompt, for contradictions, missing context, unsafe tool/action behavior, escalation gaps, compliance risk, and regression risk. Use this when the user asks to review, audit, validate, improve, or compare a prompt before deployment./regression-testBuild and run simulated-caller tests against a Synthflow voice agent, then report which scenarios pass or fail with transcript evidence. Use this whenever the user wants to test an agent before or after a change, check that a prompt fix works, reproduce a failure from a real call, build a test suite, or re-run existing simulations. Trigger on phrases like "test the agent", "run the simulations", "regression test", "make sure this didn't break anything", "build a test suite", "reproduce this call", or "re-run the tests"./safe-agent-changeMake a change to a live Synthflow voice agent safely — record a baseline, save a draft, review the diff, publish only on approval, verify the published state, and roll back if needed. Use this whenever the user wants to edit, update, fix, tweak, or publish an agent's prompt, greeting, voice, transcriber, LLM, actions, or any other setting, or wants to roll an agent back. Trigger on phrases like "update the prompt", "change the voice", "fix the agent", "publish the draft", "push this live", "roll back the agent", or "undo the last change".npx claudepluginhub synthflowai/anthropicplugin --plugin synthflowOther plugins' skills for the same job