Get started

This plugin extends the possibilities of WP Webhooks Pro by allowing you to create a blog post on your website via sending an email with your desired information to it. 

How to use it

To get started, we show you an example setup using Zapier. First of all you need to setup the webhook itself. Therefore we need to install the plugin Create Blog Post Via Email

  1. Upload the zip file to your WordPress site (Plugins > Add New > Upload)
  2. Activate the plugin
  3. Go to Settings > WP Webhooks Pro -> Settings
  4. Scroll down and activate the action “post_by_email” and lick Save
  5. Go to Recieve Data and start implementing the webhook

Now just copy the specified webhook you want to use for that (The link with the long API key at the end) and head over to Zapier.

On Zapier you can create a new Zap and choose the email action under the built in apps This hook comey by default with the following setup: New Inbound Email. Now click Save.

After that, you are requested to create a custom email. In our case, we use “postme” to create an email that looks like that: [email protected]

Call this email address and save it for later This will be the address you send later on your blog posts to.

Add another step and choose the built in app called Webhooks. Now you are prompted to choose a Zapier Webhook. Choose POST

On the next page you need to include an URL. Please include there your webhook URL from your websites Recieve Data page.

After including the URL, scroll down and set the following button to no: Unflatten 

Now you can scroll up again and place your actions into the Data field.
For the content field, you need to choose the body of the email address.
Here is how it should look like:

Now you can click save and finish the setup! After you activate your Zap, don’t forget to activate it.

You can use the following template to setup the post via the email:

@settings-start@post_status:publish;post_author:5;comment_status:no@settings-end@

This is text that get's ignored by our logic since it is not wrapped in any text.
You can make notes here and send them to your email, mark them or do whatever you desire with it!

@title-start@First Post By Email@title-end@

@excerpt-start@This is my first remote post description for a post via email@excerpt-end@

@content-start@
This is the main Content.

You can also use HTML and Shortcodes! :)
Our Website: https://wp-webhooks.com

This is awesome!
@content-end@

@category-start@3,4,12@category-end@

@tag-start@demo-me,third-test@tag-end@

We offer you various shortcodes to assign content tp certain WordPress fields. They are listed down below.

@settings-start@post_status:publish;post_author:5;comment_status:no@settings-end@

This is the settings shortcode. It starts with “@settings-start@” and ends with “@settings-end@”. In between you can declare the mentioned values, separated with a semicolon for each setting and separated by key and value with a “:”.

@title-start@My First Post By Email@title-end@

Set the title with the “@title-start@” opener and the “@title-end@” closing tag. In between you can paste the title like you want to show it inside of the post

@excerpt-start@This is my first remote post description for a post via email@excerpt-end@

Set the excerpt (short description) with the “@excerpt-start@” opener and the “@excerpt-end@” closing tag. In between you can paste the excerpt like you want to show it inside of the post

@content-start@This is the main content!@content-end@

Place your main content in here. You can use html or plain text. Create the post like you want to see it on your website. (Shortcodes are also allowed)

@category-start@3,4,12@category-end@

You can also add single categories by adding their IDs (comma separated without spaces) in between the shortcodes.

@tag-start@demo-me,third-test@tag-end@

You can also add single categories by adding their IDs or their slugs (comma separated without spaces) in between the shortcodes.

Updated on January 24, 2019

Was this article helpful?

Related Articles