WordPress Help & Support

What WordPress Triggers and Actions Are Supported?

Supported Triggers#

  • New Comment - Triggered when you add a new comment.
  • New Taxonomy - Triggered when you add a new category, tag or custom taxonomy.
  • Any Webhook - Using the HookPress plugin, trigger off of pretty much anything!
  • New Post Type - Triggered when you add a new post type!
  • New User - Triggered when a new user is added.
  • New Post - Triggered when you add a new post.
  • New Comment Status - Triggers when a new comment status is created
  • New Category - Triggered when you add a new category.
  • New Post Format - Triggered when a new post format is created.
  • New Author - Triggered when a new author is added.
  • New Post Status - Triggered when a new post status is added.
  • New Media - Triggered when new media is uploaded.

Supported Actions#

  • Upload Media - Upload a new media file, which can be used as featured media.
  • Create Post - Create a new post, including the status allowing the creation of drafts.

How to Get Started with WordPress

The first thing you'll need to do when setting up Zapier with WordPress is give us the information to access your WordPress account. For example, that means your:

  • Blog URL
  • A username
  • A password

While not required, we highly recommend using SSL with your blog to ensure the safety of your WordPress login credentials. You can find more information about using SSL and SSL certificates with your WordPress site on our Advanced Tips help page.

Also, while optional, we really recommend creating a brand new user, just for Zapier, with a strong password generated from a service like random.org. We'll show you how to do that now!

Creating a Secure Account for Zapier (optional)#

This is a simple process, just a few steps are involved. First you'll need to log into your WordPress admin and click to add a new User:

Now put zapier as the username, use any email you like (maybe your own email address, don't use Zapier's email addresses) and generate a secure password.

For role, you can choose Admin if you want Zapier to be able to do anything to your blog. We generally recommend Editor, but you can read more about WordPress User Roles if you like!

Click Add New User and that's it for this section!

Connecting Your Account to Zapier#

Now that you have a user account for Zapier to use, we can connect your account! One thing you'll need to get right is your Base URL, but it is quite simple. Let's say your admin account is located here:

Then you'd want to use the same URL before /wp-admin/ as your Base URL, and place your username password. That would look something something like this:

Please note, the /wordpress/ section of the URL is not really required, that just happens to be where it is installed. Your's might be http://blog.mywebsite.com/ or https://mywebsite.com/blog/ or even https://mywebsite.com/!

After clicking continue, you should see a section that looks something like this:

Congrats, your account is now connected to Zapier! If you need to set up HookPress for instant updates, read on, otherwise that's all you need!

Add a Custom Featured Image to your WordPress Post#

In order to take an image from a previous step (like your Trigger, for example) and add it as a featured image on your post, you have to use 2 WordPress steps.

First, you use the 'Upload Media' step to add the image to your WordPress website:

Then, on your 'Create Post' step you make use of the image you just uploaded, by selecting "Use a Custom Value" for the 'Featured Media' field and then using the "Attachment ID":

How to Set Up HookPress with WordPress

The WordPress Any Webhook trigger gives you more powerful and complex ways to trigger your Zaps when something occurs in WordPress. This trigger requires installing a WordPress plugin we recommend called HookPress. It is a great plugin that pings Zapier instantly when an event happens.

After you get started creating your Zap and choosing the WordPress Any Webhook trigger, we'll show you a URL and offer some directions. You'll need to reference this URL shortly, so keep it around!

If you don't have the HookPress plugin, you'll need to add it. Log into your admin interface and go to add plugins.

Search the repository for HookPress.

Click install now.

After the install is successful, click activate plugin. Note: if your plugin install attempt fails, you may need to download the zip file yourself and manually upload it to your host via FTP!

Go to your webhook settings.

And click add webhook.

Choose the action you'd like to trigger on, select all fields and paste in the Zapier URL from earlier in the guide. Note: don't type in the URL you see in the screenshot, you should be using the URL from the Zapier editor.

After the popup closes, you should see the Hook listed. Congrats!

The next step is to go perform the action you set up, this will send the event to Zapier where we can catch the event and provide it to your for samples. In the future, we'll trigger automatically when the Zap is live!

Note: The official HookPress plugin is not currently compatible with PHP 7. If you're having trouble adding webhooks in your admin dashboard, try using PHP 5.x or 6.x. Alternatively, you can download and install this version of the HookPress plugin, which works in PHP 7: https://github.com/mohland/hookpress

Common Problems with WordPress

Expat or Parsing Error#

This is very common and usually involves a bad plugin! If you just installed a plugin, you should try disabling and try again. If that doesn't help, just contact support and ask us to check our logs, we'll do our best to identify the troubled plugin for you!

Author is the Authenticated User Rather Than Specified Author#

This can happen if the authenticated user does not have an appropriate role. Please review WordPress' details on Roles and Capabilities as you will need an authenticated user who at least has an Editor role to post as other authors.

500 Internal Server Error or other trouble connecting.#

In order to connect to WordPress, you must have XML-RPC functionality turned on. This is turned on by default in WordPress 3.5+. If you're having issues connecting, go to Settings > Writing > Remote Publishing and check the checkbox.

You may also receive this error if your WordPress installation is secured and not publicly available. Unfortunately, the installation must be publicly accessible to work with Zapier.

Also, we're unable to provide IPs to whitelist as our IPs are not static - they rotate because we use AWS. If you'd like, you should be able to whitelist a block of IPs from AWS to make this work. You would just need to make sure the list you're whitelisting is the us-east-1 IP range.

AWS provides a list of their IP address ranges at https://ip-ranges.amazonaws.com/ip-ranges.json. You can read more about how to use those IPs here.

Additionally, Zapier's calls will always include the header User-Agent: Zapier, so this may be an alternative when whitelisting a whole range of IPs isn't feasible.

(403) Forbidden Error#

Jetpack Protect (official WordPress module) will occasionally block some AWS IPs -- you can either whitelist the IP listed in the error, disable Protect altogether, or if try and whitelist all AWS us-east-1 IPs. You can read more about how to use those IPs here.

Once you do that, try reconnecting your WordPress account to see if this resolves the issue.

Error: XML-RPC server accepts POST requests only#

This error could mean that you're using the wrong Base URL in the login screen. If you're using http: try using https:. If you're using www.example.com try using it example.com.

If you continue to get this error, then it's likely because the XML-RPC is being blocked on the WordPress site. It's most likely being blocked by a plugin, the hosting provider, or a security setting. To fix, try disabling a your plugins one and a time, then try reconnecting to WordPress account to see if you can isolate the problem plugin.

If not, it might be a back-end change that needs to be made by your hosting provider or website developer. We recommend reaching out to them and asking them to update the XML-RPC settings for you. You can send them this link for more information: https://codex.wordpress.org/XML-RPC_Support

If your provider/developer wants to whitelist access to us, you can let them know that we use Amazon's AWS products for our server infrastructure, so they'll need to whitelist their IP list from the us-east-1 region. You can find that range list here: https://ip-ranges.amazonaws.com/ip-ranges.json . You can read more about how to use those IPs here.

WordPress Tips & Tricks

Custom Field Support#

Right now, the Zapier WordPress app doesn't support custom fields within posts, however, you should be able to get them to show up by using the Wordpress plugin, here. After installing the plugin, try creating a new post with custom fields and they should come across for you. Thanks to our awesome user Dave for this tip!

Note: This is a potential workaround suggested by a user of ours and therefore, we cannot help with troubleshooting in regards to the plugin. If you installed the plugin after creating the Zap, try creating a brand new Zap if you're having trouble getting them to appear.

Need More Help? - Our support team is happy to help -- send us a message

WordPress is web software you can use to create a beautiful website or blog. Nearly 20% of the top 10 million websites and over 60 million people have chosen WordPress to power the place on the web they call "home".

Getting Started with Zapier