Skip to main content

Pruebas con Retell (tunnel)

Retell necesita un endpoint HTTPS público para el webhook y el WebSocket del Custom LLM. En local se expone el backend (puerto 3000) con un tunnel.

Con cloudflared (recomendado)

# 1. Backend corriendo
cd Aura-reloaded && pnpm start:dev

# 2. Quick tunnel (no requiere cuenta)
cloudflared tunnel --url http://localhost:3000
# → imprime https://<algo>.trycloudflare.com

En Retell → Agent, con esa URL:

  • Custom LLM URL (WebSocket): wss://<algo>.trycloudflare.com/retell/llm-websocket
  • Webhook URL: https://<algo>.trycloudflare.com/retell/webhook

(wss:// para el LLM, https:// para el webhook; Retell agrega solo el /{call_id} al path del WS.)

Instalar cloudflared en Windows: winget install --id Cloudflare.cloudflared. Alternativa clásica: ngrok http 3000.

Notas

  • La URL del quick tunnel cambia en cada corrida → hay que re-pegarla en Retell. Para una URL fija hace falta un named tunnel (cuenta de Cloudflare + config + DNS).
  • Los quick tunnels soportan WebSockets por default (necesario para el Custom LLM).
  • El front no necesita el tunnel: Retell pega contra el backend.