Local webhook receiver for Voiceflow call events with SQLite storage.
Endpoints
POST /webhookGET /health
cd /Users/optimystic/Documents/New\ project
docker compose up --build- Create an ngrok account and copy your authtoken.
- Create
.envfrom.env.example. - Start the tunnel.
cd /Users/optimystic/Documents/New\ project
docker compose --profile ngrok up --buildYour public URL will be visible in ngrok's container logs. The webhook URL will be:
https://YOUR_NGROK_SUBDOMAIN.ngrok-free.app/webhook
- Install
cloudflaredlocally. - Start a tunnel that points to your local container.
cd /Users/optimystic/Documents/New\ project
docker compose up --build
cloudflared tunnel --url http://localhost:3000Your public URL will be printed by cloudflared. The webhook URL will be:
https://<random>.trycloudflare.com/webhook
- Add a Postgres service in Railway.
- Set
DATABASE_URLon the web service to the Postgres connection string. - Redeploy the web service.