Twilioflow – Using State Machines for Twilio Call Flows
Time to read: 1 minute
August 17, 2010
Written by
Dhananjay Keskar has released Twilioflow on github; it’s a Rails plugin for state machine driven interactions with Twilio.
Twilioflow provides:
- A Workflow approach for keeping your business logic inside models
- Concise Ruby way for specifying voice responses and key press actions within states
- Clean and RESTful controllers that understand Twilio requests
- Automatic generation of TwiML based on current interaction state
- HTML scaffolding to quickly test your interactions in the browser
Here’s a snippit from the included example. It defines the :hello state.
If you’re building a Rails app with Twilio integration it’s easy to get started with Twilioflow.
Related Posts
Related Resources
Twilio Docs
From APIs to SDKs to sample apps
API reference documentation, SDKs, helper libraries, quickstarts, and tutorials for your language and platform.
Resource Center
The latest ebooks, industry reports, and webinars
Learn from customer engagement experts to improve your own communication.
Ahoy
Twilio's developer community hub
Best practices, code samples, and inspiration to build communications and digital engagement experiences.