Company
Date Published
Author
Andrew T. Baker
Word count
2327
Language
English
Hacker News points
None

Summary

This tutorial guides you through building an automated survey for Voice or SMS using the Twilio Python SDK and Django. The application allows users to take a survey by calling or sending an SMS to a configured phone number, with each question answered either via voice input or text message response. The survey's progress is tracked using a session ID, and responses are stored in the database for later analysis. The system includes endpoints for displaying the survey results, redirecting to the next question, and handling incoming Twilio requests to process user inputs. With this application, you can create a simple automated survey with a user-friendly interface, making it easy to collect data from your users.