Important things to remember before connecting WordPress to Automate.io

  • Your WordPress credentials should have administrator privileges. 
  • Your WordPress password should not contain these special characters - <, >, !, [, ], *, /, ", ', &.
  • While not required, we highly recommend that you use SSL for your blog to ensure the safety of your WordPress login credentials.

Connecting WordPress to Automate.io

There are two methods to connect WordPress to Automate.io. 

Method 1:

Go to APPS in your dashboard. Click the blue ‘+’ button on the top-right. You will see a ‘Add a new app’ pop-up.

Type WordPress in the search box. Select WordPress

You will see a pop-up that prompts you to validate the app. Enter your WordPress credentials (Username and Password) here.

How do I get my WordPress Blog URL?

  • At the end of your WordPress website URL, add '/wp-admin/'. For example, https://www.example.com/wp-admin/. Now, login to your dashboard.
  • On the left panel, go to Settings -> General.
  • Copy the link from Site Address (URL) and paste it in the 'Blog' field of the authentication window. Make sure you add a forward slash '/' at the end of the URL. For example, https://www.example.com/blog/

Now, click Validate and then hit Save.

Method 2:

While creating a Bot, you can directly connect WordPress either as a Trigger or an Action app. Refer to 'Connecting the Trigger app' or 'Connecting the Action app' in How to create a Bot.

Supported Triggers and Actions

A Trigger is the event that starts the Bot. So it’s always the first event in the Bot. An Action is the event a Bot performs. It occurs as a response to the Trigger in your Bot. 

Automate.io supports the following Triggers and Actions for WordPress. 

Triggers

  • New Post: Triggers when there is a new post in WordPress.
  • New User: Triggers when there is a new user registers.
  • New Comment: Triggers when there is a new comment on a post.

Actions

  • Add a Post: Create a new post in WordPress.
  • Add a Comment: Adds a comment to a post in WordPress.

Common issues with solutions

Issue 1: Invalid credentials error while adding the app

To resolve this issue, you will need to verify 2 things. First, ensure that you have added the Blog URL correctly (including the trailing slash) as explained above. 

If this is fine, then check if you have PHP XML RPC installed on your server.

A way to check if it is installed on your Blog is to give this in your browser.

<yourwordpressURL>/xmlrpc.php

The browser should show something like "XML-RPC server accepts POST requests only."

If you do not see this, you need to contact your system administrator regarding installing the PHP XML RPC package on your server. 

Issue 2: Invalid credentials / Unable to login

If you see this error, 

  1. Make sure that your WordPress credentials have admin privileges and
  2. Make sure that your WordPress password does not contain these special characters - <, >, !, [, ], *, /, ", ', &.

If you still have the error, continue reading.

This error can happen if you have enabled two-step authentication for your WordPress account. If yes, we recommend you to disable it. Or, we recommend you to create a new WordPress user specifically for Automate.io with admin privileges for a smooth integration process.

If two-step authentication is not enabled, ask your WordPress server administrator to follow the steps below. 

1. Whitelist Automate.io based on the following user-agents.

Note: User-agent names are case sensitive.

2. Filter the following IP addresses.
We are currently using these: 

52.6.191.2
100.24.200.89
34.197.5.190
100.24.219.192
34.207.42.114

Note: These IP addresses change occasionally. We’ll notify you when they change the next time.

Now, reconnect the WordPress app to Automate.io and check your Wordpress server for the request received.

Did this answer your question?