Company
Date Published
Author
Hector Ortega
Word count
4084
Language
English
Hacker News points
None

Summary

This Spark application uses Twilio to connect incoming phone calls to other phone numbers based on where the caller lives. The application verifies or collects state information from the user before connecting them with their senators' offices. It builds a response with TwiML, handles missing state information, and forwards the caller to their second senator after the first call ends. The application is currently seeded with placeholder data but can be extended by using ProPublica's API for government data or other resources.