Three Toe: An SMS Autoresponder using the Twilio API
Author: Colin Devroe
Three Toe accepts a Twilio webhook POST and responds to the sender with the contents of a TXT file (based on the body of a sender's message) if found.
- Sender TXTs Twilio powered phone number with "T0001"
- Twilio sends webhook to Three Toe
- Three Toe looks for "T0001.txt" in /responses
- If found, responds. If not found, responds with responses/notfound.txt
This simple script was built to scratch an itch and learn the basics of the Twilio API. You can read more about the backstory on my blog.
- Copy entire app to server
- Copy app/config-private-sample.php and create app/config-private.php
- Fill in Twilio account information, phone numbers, app URL, and password in your config-private.php
- Open /configure to create, edit, and delete codes and responses
(You'll need to set up a phone number on Twilio with a webbook that points to your URL.)
0.3.0 - June 28, 2016
- New: Bootstrap-based UI
- New: About page.
- Fixed: Mobile considerations
0.2.1 - June 27, 2016
- Fixed: App determination if Twilio is sending a request or not
0.2.0 - June 27, 2016
- Added: Code & Response configuration panel
- Update: Generic "not found" response to make less real estate specific
- Updated readme
0.1.0 - June 24, 2016
- Initial app
- Basic responses based on text file
- Basic response if no code found