Conditional Action Programmer (CAP), an experimental project from Microsoft's Technology and Research group, offers a way to automate app interactions using natural language rather than code.

Thomas Claburn, Editor at Large, Enterprise Mobility

July 13, 2016

3 Min Read
<p style="text-align:left">(Image: Microsoft)</p>

10 ERP Players Shaping The Market

10 ERP Players Shaping The Market


10 ERP Players Shaping The Market (Click image for larger view and slideshow.)

By Microsoft's own admission, Conditional Action Programmer is the "worst name ever." Microsoft Bob, Microsoft Kin, and PlaysForSure, you may step down now.

The app automation service, which can be reduced to the more appealing abbreviation CAP, is similar to glue services IFTTT and Zapier that allow apps to interact with each other. It's also similar to another recently introduced Microsoft offering, Flow, so much so that it's tempting to wonder whether the company's various teams talk to one another.

But conversational comprehension is CAP's reason for being. The experimental project from Microsoft's Technology and Research group offers a way to automate app interactions using natural language rather than code.

CAP supports Flow's menu-driven programming model in which a user directs the service, for example, to send an SMS notification to a mobile device when an email arrives in Outlook. This is a proven method for interaction and is easy enough for almost anyone to manage.

But CAP's aim is to provide a natural language interface, a way to describe app interactions in conversational text. By selecting "Add a new task" and typing "Send me an email when Microsoft stock goes up" in the input form text box, CAP responds by presenting that task in a structured web form that provides a way to set a threshold stock price, and also email subject and body fields.

CAP can do this because it is able to understand the input and match the parsed text with available services. It appears to have trouble parsing text that's all lower-case, however. Told "send me an email when i get an email," CAP returned a form to send an email when an RSS feed with a specified term is found. The command input as "Send me an email when I get an email," nonsensical though it may be, returned a form to configure the requested inbox flood.

But Microsoft acknowledges that CAP needs further training. The company is making CAP available so it can gather the data necessary to train its language model better. "We need your help to continue to improve natural language understanding," the company explains on the CAP website. "You can help us and benefit from automatic task completion at the same time by using CAP!"

[Read AI, Machine Learning Rising in the Enterprise.]

Data is the fuel that makes machine learning models work well. Without enough data, speech recognition, image recognition, and natural language parsing tend to perform poorly. Microsoft says CAP will request access to the applications and internet services that users link to, and it may retain such data for up to a year to improve its products.

Beyond its utility as a way to automate processes using conversational text, CAP could prove useful as a way to connect cloud services through spoken commands, using the speech-to-text capabilities of voice-based assistants like Microsoft Cortana. But first, Microsoft has to nail the basics.

CAP is available on the web, and apps for Android and iOS are said to be forthcoming.

About the Author(s)

Thomas Claburn

Editor at Large, Enterprise Mobility

Thomas Claburn has been writing about business and technology since 1996, for publications such as New Architect, PC Computing, InformationWeek, Salon, Wired, and Ziff Davis Smart Business. Before that, he worked in film and television, having earned a not particularly useful master's degree in film production. He wrote the original treatment for 3DO's Killing Time, a short story that appeared in On Spec, and the screenplay for an independent film called The Hanged Man, which he would later direct. He's the author of a science fiction novel, Reflecting Fires, and a sadly neglected blog, Lot 49. His iPhone game, Blocfall, is available through the iTunes App Store. His wife is a talented jazz singer; he does not sing, which is for the best.

Never Miss a Beat: Get a snapshot of the issues affecting the IT industry straight to your inbox.

You May Also Like


More Insights