| name | retellai-core-workflow-b |
| description | Retell AI core workflow b — 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 b", "retellai-core-workflow-b", "voice agent".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep |
| version | 1.9.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","retellai","voice","telephony","ai-agents"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Retell AI Core Workflow B
Overview
Manage phone calls: outbound campaigns, call transfers, recordings, and concurrent call handling.
Prerequisites
- Completed
retellai-core-workflow-a
Instructions
Step 1: Outbound Call Campaign
const phoneNumbers = ['+14155551001', '+14155551002', '+14155551003'];
for (const number of phoneNumbers) {
try {
const call = await retell.call.createPhoneCall({
from_number: process.env.RETELL_PHONE_NUMBER!,
to_number: number,
override_agent_id: agentId,
metadata: { campaign: 'appointment-reminder', date: '2026-04-01' },
});
console.log(`Called ${number}: ${call.call_id}`);
} catch (err) {
console.error(`Failed to call ${number}: ${err.message}`);
}
await new Promise(r => setTimeout(r, 2000));
}