Skip to content
OpenSmartRoute
Skillv1.0.0

retellai-core-workflow-a

Retell AI core workflow a — AI voice agent and phone call automation. Use when working with Retell AI for voice agents, phone calls, or telephony. Trigger with phrases like "retell core workflow a", "

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (plugins/saas-packs/retellai-pack/skills/retellai-core-workflow-a/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill retellai-core-workflow-a. Copyright stays with the author (MIT).

Retell AI Core Workflow A

Overview

Build and configure voice agents with custom prompts, function calling, and call flow logic.

Prerequisites

  • Completed retellai-hello-world

Instructions

Step 1: Agent with Function Calling

const llm = await retell.llm.create({
  model: 'gpt-4o',
  general_prompt: `You are a booking assistant for Dr. Smith's office.
    - Help callers book, reschedule, or cancel appointments
    - Collect: name, phone, preferred date/time
    - Confirm all details before booking`,
  functions: [
    {
      name: 'book_appointment',
      description: 'Book a new appointment',
      parameters: {
        type: 'object',
        properties: {
          patient_name: { type: 'string' },
          phone: { type: 'string' },
          date: { type: 'string', description: 'YYYY-MM-DD format' },
          time: { type: 'string', description: 'HH:MM format' },
        },
        required: ['patient_name', 'phone', 'date', 'time'],
      },
      url: 'https://your-api.com/appointments',
      speak_during_execution: true,
      speak_after_execution: true,
    },
  ],
});

Step 2: Configure Voice and Behavior

const agent = await retell.agent.create({
  response_engine: { type: 'retell-llm', llm_id: llm.llm_id },
  voice_id: '11labs-Rachel',
  agent_name: 'Dr. Smith Booking Agent',
  language: 'en-US',
  opt_out_sensitive_data_storage: false,
  end_call_after_silence_ms: 10000,  // End call after 10s silence
  max_call_duration_ms: 300000,       // 5-minute max
  enable_backchannel: true,           // "mhm", "yeah" responses
  boosted_keywords: ['appointment', 'schedule', 'Dr. Smith'],
});

Step 3: Update Agent Configuration

await retell.agent.update(agent.agent_id, {
  voice_id: '11labs-Dorothy',  // Change voice
  end_call_after_silence_ms: 15000,
});

Output

  • Agent with custom LLM prompt and function calling
  • Voice and behavior configuration
  • Real-time function execution during calls

Error Handling

Error Cause Solution
Function not triggering Prompt doesn't guide to function Include function use in prompt
Voice quality issues Wrong voice selection Test different voices
Call ending too early Short silence timeout Increase end_call_after_silence_ms

Examples

Create and validate a new appointment-intake agent

Build the agent in a development project with a narrow appointment-booking tool and a synthetic calendar. Run representative happy-path, no-availability, and human-handoff calls, checking that each tool request uses the expected arguments. Review the redacted transcripts with the service owner, then create a versioned preview for a limited internal canary; keep the previous agent version available until the new flow meets its completion and transfer goals.

Resources

Next Steps

Phone call management: retellai-core-workflow-b

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-retellai-core-5bb96a/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-retellai-core-5bb96a.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-retellai-core-5bb96a",
  "kind": "skill",
  "name": "retellai-core-workflow-a",
  "description": "Retell AI core workflow a — AI voice agent and phone call automation. Use when working with Retell AI for voice agents, phone calls, or telephony. Trigger with phrases like \"retell core workflow a\", \"retellai-core-workflow-a\", \"voice agent\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "saas",
      "retellai",
      "voice",
      "telephony",
      "ai-agents",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Retell AI core workflow a — AI voice agent and phone call automation. Use when working with Retell AI for voice agents, phone calls, or telephony. Trigger with phrases like \"retell core workflow a\", \"retellai-core-workflow-a\", \"voice agent\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "plugins/saas-packs/retellai-pack/skills/retellai-core-workflow-a/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/plugins/saas-packs/retellai-pack/skills/retellai-core-workflow-a/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/plugins/saas-packs/retellai-pack/skills/retellai-core-workflow-a/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Bash(npm:*),",
      "Bash(curl:*),",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# Retell AI Core Workflow A\n\n## Overview\n\nBuild and configure voice agents with custom prompts, function calling, and call flow logic.\n\n## Prerequisites\n\n- Completed `retellai-hello-world`\n\n## Instructions\n\n### Step 1: Agent with Function Calling\n\n```typescript\nconst llm = await retell.llm.create({\n  model: 'gpt-4o',\n  general_prompt: `You are a booking assistant for Dr. Smith's office.\n    - Help callers book, reschedule, or cancel appointments\n    - Collect: name, phone, preferred date/time\n    - Confirm all details before booking`,\n  functions: [\n    {\n      name: 'book_appointment',\n      ",
  "cost": {
    "context_tokens": 771
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-retellai-core-5bb96a/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.