This blog is a short explanation of a voice enabled business process demo which I built using Alfresco Process Services powered by Activiti and Amazon Alexa. The solution also has integration with a variety of technologies such as Alfresco Content Services, Email, Twilio, Decooda etc. A user can interact with the process over voice using their Amazon Echo and mobile phone! The source code of my demo components are available at https://github.com/cijujoseph/activiti-examples/tree/master/activiti-alexa-demo along with a detailed README of all components.
The use case for my demo is a “Vehicle Service Booking” business process. The business process is modeled and run using Alfresco Process Services. The business process can be started by a user using an Amazon Echo device. Once started, the process will schedule an appointment in the system and will go into a wait state until the booking date. While the process is in a wait state, the appointment can be changed or cancelled by the user via their Echo device. On the appointment day, a “User Task” will get assigned to a technician/mechanic who will complete the task upon service completion. Once the “User Task” is completed by the technician, a “Service Report” file is generated by the process which is then emailed to the customer and saved to Alfresco Content Services for records. At this stage the user is also notified by a Text message and asked to participate in a short survey. The next step in the process will collect user feedback through a voice call using the Twilio APIs. The feedback provided by user is analysed using a modern cognitive analytics platform (Decooda) which will accurately measure the customer experience. The results from the analytics platform is passed through a set of business rules (DMN rule engine available in Alfresco Process Services) and process will get routed accordingly.
To me, the most interesting parts of this whole demo are the following:
Please find below the solution diagram followed by a BPMN diagram (modeled using the BPMN Modeler in Alfresco Process Services) which shows the various steps in my business process and the components involved in each step:
I want to keep it simple, so that’s all I have in this blog! Now go ahead and try this out yourselves! Demo code along with instructions are available at https://github.com/cijujoseph/activiti-examples/tree/master/activiti-alexa-demo
Blog posts and updates about Alfresco Process Services and Activiti.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.