360 Secure SkillHub
360 安全技能中心

Outbound Call

按 E.164 格式电话号调用 Python 脚本发起外呼电话,可附带自定义开场白和通话上下文;要求先与用户确认号码并获得明确同意,成功时返回会话 ID,失败时说明错误。

humanjesse
humanjesse
热度 87.75
最近更新 2026-05-11 17:26:00
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add 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