This is a submission for Twilio Challenge v24.06.12
What I Built
Optimizing Business Efficiency with AI Operators
Many businesses spend hours daily taking orders over the phone from prospective clients, leading to less productive employee time and increased operational costs.
AI Operators can revolutionize this process by intuitively collecting orders from prospective clients and notifying the business through email or external APIs when an order is ready for fulfillment. This automation will enhance employee productivity and reduce business costs by streamlining the manual order collection process.
A compelling proof of concept for such AI Operators is the AI Taxi Dispatch Operator. This solution enables taxi companies to automate the booking process and dispatch drivers and vehicles using the company's dispatch system via APIs or manual assignments.
In this implementation, Twilio WhatsApp messaging is utilized to create an AI operator built with OpenAI technology. The AI operator gathers all necessary information from the user, sends out dispatch requests through the company's dispatch API, and notifies both the company and the user when a driver has been dispatched.
By integrating AI Operators, businesses can significantly improve efficiency, reduce costs, and provide better service to their clients.
Demo
Github Repo
This is a submission for Twilio Challenge v24.06.12
What I Built
Optimizing Business Efficiency with AI Operators Many businesses spend hours daily taking orders over the phone from prospective clients, leading to less productive employee time and increased operational costs.
AI Operators can revolutionize this process by intuitively collecting orders from prospective clients and notifying the business through email or external APIs when an order is ready for fulfillment. This automation will enhance employee productivity and reduce business costs by streamlining the manual order collection process.
A compelling proof of concept for such AI Operators is the AI Taxi Dispatch Operator. This solution enables taxi companies to automate the booking process and dispatch drivers and vehicles using the company's dispatch system via APIs or manual assignments.
In this implementation, Twilio WhatsApp messaging is utilized to create an AI operator built with OpenAI technology. The AI operator gathers all necessary information…
Youtube Demo and Screenshots
Demo 1
Demo 2: App and Explanation
Twilio and AI
Twilio WhatsApp Messaging was used as the primary communication medium for the users. Messages sent to the WhatsApp number are processed through webhook by a web app built on Laravel. These incoming messages are sent to an AI assistant powered by the OpenAI GPT4 model. The AI assistance is tasked to handle the conversation until all required details to request a booking are provided after which the booking details is sent to the database for dispatching followed by email notification to admin and dispatch notification to the user with drivers details
Additional Prize Categories
Twilio Times Two
I used the Twilio WhatsApp Messaging feature for the interaction between the user and the operator. Twilio SMS Feature is used for failover notifications.
Impactful Innovators
This product will help companies reduce operation costs, save time, and increase lead generation.
Top comments (40)
This is a brilliant example of innovative automation in action. Well done on creating such an impactful project! An excellent way to enhance efficiency and cut costs for businesses. If I had a taxi business I'd jump on it right away...
Thank you Obasa
I think this is awesome. I did some car hailing service (Bolt) for a while, I think this can help enhance the driver-passenger experience by matching trips for a future date which guarantees revenue for the driver and improves customer experience.
Suggestions:
Thank you Anthony for these feedback and suggestions.
All points are well noted and are part of the final version.
This submission is for proof of concept and can't handle actual dispatching.
Each taxi company has a Dispatch system that handles quotes and sends out drivers, they also have API to connect with to get this done.
So ideally to be able to show quotes and actual dispatch a real Taxi company will be required.
This is awesome 😊
Thanks @jaybabson007
AI & Twilio a powerful weapon if properly harmonized. This project exemplifies that. Code base is easy to navigate and comprehensive, contributing to its successful outcome.
Great work.
Very nice usecase. A good question would be how trustworthy is this going to be? Then I'm curious if the model being used is supplied by Twilo or OpenAI itself
Thanks Victor.
I am not sure what you mean by trustworthy.
Twilio was used to handle communication through WhatsApp and SMS as a failover option
OpenAI was used to implement the AI Operator using the GPT4o Model through the API.
This link is helpful to understand OpenAI Assitance API
This is really brilliant.
Wow, this will really improve business operation for taxi companies and response time for their clients. this is great.
Amazing!
Can you take orders from outside Lagos? Like anywhere around the world?
Yes, the taxi company that will be using it will determine the zip codes they support. if the address falls within the zipcodes then it is good to go.
Great job
Thank you Abdulsalam
tested it and it works amazingly. I love the idea and how it's simple to interact with, responding naturally and still have your response processed as intended.
Thank you for the feedback and for helping to test the bot.
Some comments may only be visible to logged-in visitors. Sign in to view all comments.