openclaw-phone-receipt

Review·Scanned 2/18/2026

This skill manages phone callback notifications and persists state in memory/phone-receipt-state.json, exposing scripts/trigger_call.sh and set_phone_receipt_state.py for toggles/tests. It reads ELEVENLABS_API_KEY, ELEVENLABS_AGENT_ID, ELEVENLABS_OUTBOUND_PHONE_ID, TO_NUMBER and calls https://api.elevenlabs.io/v1/convai/twilio/outbound-call.

from clawhub.ai·v094a798·8.4 KB·0 installs
Scanned from 1.0.1 at 094a798 · Transparency log ↗
$ vett add clawhub.ai/tuofangzhe/openclaw-phone-receiptReview findings below

OpenClaw Phone Receipt

Use this skill to manage phone callback notifications.

Commands to honor

  • phone-receipt=on → enable phone receipt policy
  • phone-receipt=off → disable phone receipt policy

State file:

  • memory/phone-receipt-state.json

Default behavior

  1. If user asks for callback on completion/failure, set enabled=true.
  2. Default policy is now:
    • policy.onComplete=false
    • policy.onFailure=true
    • policy.onUrgent=true
  3. Persist state to memory/phone-receipt-state.json.
  4. For immediate test call, run scripts/trigger_call.sh.

Delivery strategy (must follow)

  • Phone call only when:
    1. task failed, OR
    2. user explicitly marks task as urgent (e.g., “urgent/high-priority”).
  • All other non-urgent successful tasks:
    • send Telegram text summary only (no phone call).

When phone is not required by policy, use message delivery (Telegram text) as default receipt path.

Tools/scripts

  • Toggle state:
    • python3 skills/openclaw-phone-receipt/scripts/set_phone_receipt_state.py on
    • python3 skills/openclaw-phone-receipt/scripts/set_phone_receipt_state.py off
  • Trigger call now:
    • bash skills/openclaw-phone-receipt/scripts/trigger_call.sh

Call prerequisites

Requires .env.elevenlabs-call with:

  • ELEVENLABS_AGENT_ID
  • ELEVENLABS_OUTBOUND_PHONE_ID
  • TO_NUMBER

ELEVENLABS_API_KEY can come from shell env or .env.elevenlabs-call.

For full setup (Twilio purchase/verify, ElevenLabs import, key scopes, troubleshooting), read:

  • references/setup.md

For ClawHub upload checklist (version/changelog/size requirements), read:

  • references/publish-clawhub.md

Failure handling

If call fails, return concise root cause and next action:

  • unverified target number (Twilio trial)
  • missing ConvAI scope (convai_read)
  • missing agent/phone ids