According to the documentation, a CLI App "is an implementation of your app's API." The developer first builds a Node.js app that exports a JSON schema (a single object that represents the full app) and then uploads the JSON schema to Zapier. Zapier inspects the definition to determine the app’s capabilities and the options to present to end users in the Zap Editor. Developers can create apps on their local machine with the CLI tool, and apps remain local until they are registered with Zapier.
We asked if developers could upload OpenAPI or RAML API definition files to the CLI tool. "We're definitely exploring this option as a way to "bootstrap" integrations - but OpenAPI/RAML/etc. solve a very different problem than Zapier and our schema," said Helmig. "Our schema focuses more on the UX and messaging since users are ultimately the ones interacting with the output (we have support for limited verbs like "Create," generic nouns like "Lead" or "Tweet," labels, help text, etc.)."
We also asked if OpenAPI and/or RAML support is something the company might add to the Platform CLI in the future. "Yep! But probably never as a ‘drop it in and done’ as raw connectivity is only a start," said Helmig. "We're solving lots of UX and interoperability issues so there are key extensions we'll have to weave in. Our final audience is the end user that uses the integrations so we're always keeping that in mind."
Connecting apps to the Zapier Developer program, maintaining apps privately, and launching apps publicly to all Zapier users, are completely free of charge. Developers do not have to move existing apps built with the Zapier Web Builder to the new Platform CLI. The company plans on supporting both the Web Builder and Platform CLI long term.
"The original developer platform has been a massive success for Zapier - but as we see more and more engineering resources across partners dedicated to building on our platform, we realized there was a need for tooling that met engineers in their own environment (IE: not the browser)," said Helmig. "It is the result of hundreds of hours of work and you can find all the code on GitHub!"
For more information about Zapier and the new Platform CLI visit the official company website.
Disclaimer: Companies mentioned in this article are competitors to ProgrammableWeb's parent company Mulesoft.