360 Secure SkillHub
360 安全技能中心

电话外呼与自动通知

核心功能:借助ElevenLabs语音代理(以OpenClaw为核心)结合Twilio发起外呼,支持自定义开场语、通话上下文,需将号码转为E.164格式并获取用户明确同意。典型场景:用户提出打电话、拨号等需求。输入为合规号码,可选开场语和上下文;输出为呼叫结果,成功返回会话ID,失败返回错误详情及修复建议。

smallkeyboy
smallkeyboy
热度 29.54
最近更新 2026-05-11 17:47:39
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add smallkeyboy-outbound-call
Metadata
name
outbound-call
description
Make outbound phone calls via ElevenLabs voice agent and Twilio
metadata
{"clawdbot":{"requires":{"env":["ELEVENLABS_API_KEY","ELEVENLABS_AGENT_ID","ELEVENLABS_PHONE_NUMBER_ID"]},"primaryEnv":"ELEVENLABS_API_KEY"}}

Outbound Call

Source code and setup guide: github.com/humanjesse/hostinger-openclaw-guides

Place outbound phone calls using the ElevenLabs voice agent with Twilio. The voice agent on the call uses OpenClaw as its brain — same as inbound calls.

When to use

When the user asks you to:

  • Call someone or phone someone
  • Make a phone call
  • Dial a number
  • Ring someone
  • Place a call to a number

How to use

Run the call script with a phone number in E.164 format:

python3 skills/outbound-call/call.py +1XXXXXXXXXX

With an optional custom first message (what the agent says when the recipient picks up):

python3 skills/outbound-call/call.py +1XXXXXXXXXX "Hi John, I'm calling about your appointment tomorrow."

With optional call context (passed as a dynamic variable to the agent):

python3 skills/outbound-call/call.py +1XXXXXXXXXX "Hi, this is a quick follow-up call." "Customer requested callback about billing issue #4521"

Phone number format

  • US numbers: +1 followed by 10 digits, e.g., +15551234567
  • If the user gives a number like 555-123-4567 or (555) 123-4567, reformat it to +15551234567
  • Always confirm the formatted number with the user before placing the call

Rules

  • ALWAYS confirm the phone number with the user before placing a call
  • NEVER place a call without explicit user consent
  • Report the result back to the user (conversation ID on success, error details on failure)
  • If the call fails, explain the error and suggest fixes