WordPress is now fully compatible with Power Automate!

WordPress is now fully compatible with Power Automate!

We are proud to announce the release of our newest plugin, WP Connectr! By the time you read this, the Power Automate connector side is approved and on its way to deployment in all regions around the world. (Sorry, GCC, this likely won’t be available to you at this time.)

What is WP Connectr?

WP Connectr brings (almost) all of the WordPress REST API into Power Automate!

WP Connectr is a free plugin for WordPress that brings the important parts of the WordPress REST API into Power Automate. It lets you fully control your WordPress site from inside any Power Automate flow or Logic App.

It is completely controlled by the WP Connectr plugin installed onto your WordPress site, which tells Power Automate what your WordPress site is capable of. This means that you’ll get updated functionality, additional coverage of the REST API and enhancements just by keeping the plugin up to date on your WordPress site. (Note: We will also make this plugin available outside of the WordPress plugin directory, as there seems to be some instability in the future of this repository.)

I know what you’re thinking. ๐Ÿ’ญ “Almost all of the REST API. I bet it doesn’t have the endpoint I need.” Well, once you install and activate the plugin, you will see a new navigation item inside your WordPress administration area called “Power Automate“.

When you visit that page, you’ll see information on how to get started and you’ll also see a list of every capability provided by your WordPress site.

Keen eyed readers will notice that “Account” isn’t a WordPress item! This is a Post Type supported by Advanced Custom Fields! This is unique for your WordPress site, what you see will be different!

This table is fully dynamic, just like everything else in the plugin. That means as you add new Post Types or Terms and they’re available via the REST API, you’ll see new items appear in this list! At all times, you’ll know the full extent of how you can interact with your WordPress site through Power Automate.

What do the columns mean? Each one corresponds to an Action in the plugin!

Column shown aboveAction in Power Automate
ListFind a list of WordPress items
CreateCreate a new WordPress item
ReadGet a single WordPress item
UpdateUpdate a WordPress item
DeleteDelete a WordPress item
Each of the resource types are described in the admin page, the table shows where/how you can access each in Power Automate.

This means you’ll be able to build flows to manipulate your WordPress site to your heart’s content! You can see exactly what is available through your site without having to guess or hunt around inside the Power Automate interface.

Everything is dynamic!

When you use any action in Power Automate, you’ll first pick the Resource Type of what type of object you’re going to work with. Make your selection, then give it a second to talk to your website and BOOM, you’ll see fields in your action that apply directly to the object type you’ve selected.

Users give you user attributes:

Posts give you post fields:

Advanced Custom Fields items (also Secure Custom Fields) appear as posts, with all of the custom fields at the bottom:

All of this is designed to make it EASY for your makers to build AMAZING integrations with your WordPress website. IMAGINE THE POSSIBILITIES!

Upload files to the WordPress media library

In addition to all of the items you can see above, we included a very special action you’re going to love: Upload a file to the WordPress media library

It works like this:

You can upload files to WordPress just by sending the file contents!

That’s great! Now you can put files into WordPress, but how useful is that if they just end up in a big pile of files?

Well, the “Upload a file” action is really just creating a resource of the type Attachment! So in the Dynamic content from the action above, we return to you the uploaded attachment details.

That means if you want to do something with it, well it’s as simple as this:

Notice how the fields you see in the action are different depending on the Resource Type selected. EVERYTHING IS DYNAMIC!

This gives you the ability to embed, update, or do whatever you can do over the REST API with your uploaded files. (Check the table shown in your Administration area to know whats supported in your site.)

What WordPress sites are compatible?

This plugin works with ALL WordPress websites running WordPress version 4.7 or higher.

You can install it on any host. You can use it with WP Engine. You can use it with any other WordPress host. You can use it with internally deployed WordPress installations.

What about triggers?

We are developing trigger support as a premium plugin. It isn’t available yet. We’re still working on it. Keep your eyes peeled for updates inside the plugin and here on our blog.

HAPPY CRAFTING!

Nick Hance
Posted on:
I've published six certified Power Automate and Logic App connectors in the Microsoft marketplace. President of Reenhanced.
Post author