Dec 22, 2020

Convoworks for WordPress is now available for download

Now you can try Convoworks directly from your WordPress based website. We are very excited because it is the easiest way to install and try Convoworks.

In this first release, we were concentrated just to pack it all together as a WP plugin and we done just minimal required WordPress specifics (like using the WP users and WP database for storage)

What you can do right now?

Basically, it is a fully functional thing. You can link your admin account with target platforms (to enable automatic conversation model propagation) and you can host Alexa skills, Google Actions, or chatbots for Viber and FB Messenger.

For the beginning, we recommend that you start with one of the ready to use service templates or with the Getting started tutorial

As mentioned, WP specialized components will come in one of the next releases. But you can harvest your WP data even now, using the Http client element and accessing your website REST API, or you can use the generic MySQLi package to fetch data directly from the database.

You can also start developing your own custom packages and use it in your Convoworks services. Be sure to check the docs on creating custom packages

What to expect in next versions?

There are several features we have on our roadmap here:

  • WPMediaContext – to allow using Media player with the WordPress media library stored mp3s
  • Post reading components – search, and display WP posts
  • Account linking ability – with it you will be able to recognize your own users inside Amazon Alexa skills. This way you can allow them to access premium content
  • Chatbox – public chatbox component that you can place using short codes

How to register your custom components package?

Convoworks WP exposes register_convoworks_package action that can be used by plugins to register own Convoworks packages.

/**
 * @param Convo\Core\Factory\PackageProviderFactory $packageProviderFactory
 * @param Psr\Container\ContainerInterface $container
 */
function my_package_registrator( $packageProviderFactory, $container) {
  $packageProviderFactory->registerPackage( 
    new Convo\Core\Factory\FunctionPackageDescriptor(
      '\Myorg\Convo\Example\MyPackageDefinition',
      function() use ( $container) {
        return new \Myorg\Convo\Example\MyPackageDefinition( $container->get( 'logger'));
      }));
}
add_action( 'register_convoworks_package', 'my_package_registrator', 10, 2);

So head on to downloads section and try Convoworks WP right now!

Check out how to read WordPress post data in our article “Look Ma, No Hands!” WordPress Loop is running on Alexa! and how to stream music in Build your own music streaming skill with Amazon Alexa and WordPress