Skip to main content
Outbound 3-question DTMF survey with results API and CSV export. XML elements used: <Speak>, <Gather inputType=dtmf numDigits=1>, <Redirect>, <Hangup>

View on GitHub

Clone and run the full working example

Getting started

Overview

Your system triggers an outbound survey call to a phone number. The caller answers three DTMF questions in sequence - rating (1–5), recommendation (yes/no), and overall experience (1–3). All responses are stored and exportable as CSV. You can also view aggregated stats via the API.

Call flow

Vobiz webhooks

Set /answer as the Answer URL in your Vobiz application.

App API

Environment variables