Install
openclaw skills install elevenlabs-twilio-memory-bridgeFastAPI personalization webhook that adds persistent caller memory and dynamic context injection to ElevenLabs Conversational AI agents on Twilio. No audio proxying, file-based persistence, OpenClaw compatible.
openclaw skills install elevenlabs-twilio-memory-bridgePersonalization webhook service for ElevenLabs + Twilio voice agents with persistent caller memory.
When a call arrives on your Twilio number, ElevenLabs' native integration triggers this webhook. The bridge looks up the caller's history, loads long-term memory facts and daily context notes, combines them with a customizable soul/personality template, and returns everything as a system prompt override so your agent greets each caller with full context.
./data/, zero external dependencies| Endpoint | Method | Purpose |
|---|---|---|
/webhook/personalize | POST | ElevenLabs calls this on inbound call |
/webhook/post-call | POST | Optional post-call cleanup |
/api/memory/{phone_hash} | POST | Add long-term fact about a caller |
/api/notes | POST | Add global or caller-scoped context note |
/health | GET | Health check |
pip install -r requirements.txt.env.example to .env, fill in secretshttps://your-domain/webhook/personalize in ElevenLabs settingsuvicorn app:app --host 0.0.0.0 --port 8000ELEVENLABS_API_KEY — scoped ElevenLabs keyELEVENLABS_AGENT_ID — your agent IDOPENCLAW_API_BASE_URL — your OpenClaw instance URLPUBLIC_BASE_URL — publicly reachable URL of this serviceADMIN_API_KEY — secret for admin endpoint auth| Variable | Default | Purpose |
|---|---|---|
WEBHOOK_SECRET | (unset) | Shared secret for HMAC webhook verification |
SOUL_TEMPLATE_PATH | ./soul_template.md | Path to personality template file |
DATA_DIR | ./data | Directory for JSON persistence |
ALLOWED_ORIGINS | (unset) | Comma-separated CORS origins |
HOST | 0.0.0.0 | Bind address for uvicorn |
PORT | 8000 | Listen port |
LOG_LEVEL | INFO | Python logging level |