Skip to main content
When someone calls your Daily phone number, the call is placed on hold and triggers a webhook to initialize your Pipecat bot.

Setup Options

Let Pipecat Cloud handle the webhook automatically. Using the Dashboard:
  1. Go to Settings > Telephony in Pipecat Cloud
  2. Select your phone number
  3. Choose your deployed agent
  4. Save
Using the REST API:

Option 2: Custom Webhook Server

Host your own webhook server for custom logic (e.g., CRM integration, advanced routing, caller-based customization).

FastAPI Webhook Server

Python webhook server example

Next.js Webhook Server

JavaScript webhook server example
Webhook payload from Daily:
Forward to Pipecat Cloud:

Bot Configuration

Configure your bot to handle dial-in calls:
Personalize with caller info:

Complete Example

Daily PSTN Dial-in Bot

Full implementation with STT, LLM, TTS, and caller personalization