Extract the next new post
It is triggered every time there is a new blog post.
200+ apps to connect·Tested & maintained tasks·Human support in English & Spanish
In detail
What it does and what it's for
Automating tasks with WordPress is now easier thanks to Botize's integration. This tool allows you to automatically extract each new post from your blog, simplifying content management and distribution.
You can customize the automation to trigger only for posts containing specific tags or categories, ensuring that only relevant content is processed. Additionally, upon execution, this operation provides key data such as post ID, title, URL, categories, tags, and more, which can be utilized in other automated tasks.
- You can apply only to posts that contain one or more specific tags.
- You can apply only to posts that belong to one or more specific categories.
Already using Botize?
Connect your WordPress
Add a profile to use it in your tasks. There's a step-by-step guide if you need it.
Add a new profile Step-by-step guideYour profiles
Your connected WordPress accounts
These are the accounts you already have linked to Botize, ready to use in your tasks. You can reconnect or remove any of them.
Setup
Customization options
Fields you can adjust when using it in your automation.
Output data
Information provided
When executed, this operation delivers the following data, which can be used in the same automatic task.
Tags
-
Post Id
{{id}}
The unique identifier for the post.
For example: 123 -
Title
{{title}}
The title of the post.
For example: Hello World! -
Post URL
{{link}}
The URL where the post can be accessed.
For example: https://my-site.com/hello-world/ -
Categories
{{categories}}
The categories assigned to the post.
For example: 123 -
Slug
{{slug}}
The URL-friendly version of the post title.br
For example: hello-world -
Tags
{{tags}}
The tags associated with the post.
For example: 123,456 -
Image URL
{{image}}
The URL of the post's featured image. If the automation does not obtain the featured image URL in this step, you should use the 'get_featured_image_url' option with the 'featured_media_id' tag.
For example: https://my-site.com/wp-content/uploads/image_123.webp -
Excerpt
{{excerpt}}
A short summary or excerpt of the post.
For example:Hello World[…]
-
Featured Media Id
{{featured_media_id}}
The unique identifier for the featured image.
For example: 123
Learn by watching
Video tutorials
Short videos where you watch a real task being built from start to finish.
Get inspired
Ready-to-use automations
Real tasks built with WordPress: switch them on in minutes and tweak them to your liking.
FAQ
Frequently Asked Questions
How do I configure my WordPress to read and update post metadata?
function expose_metadata() {
register_rest_field(
'post',
'post_meta_fields',
array(
'get_callback' => 'callback_read_post_meta',
'update_callback' => 'callback_update_post_meta',
'schema' => null,
)
);
}
function callback_read_post_meta( $object ) {
$post_id = $object['id'];
return get_post_meta( $post_id );
}
function callback_update_post_meta( $meta_value, $object, $field_name ) {
$post_id = $object->ID;
if (!is_array( $meta_value ) ) {
return new WP_Error( 'rest_invalid_param', __( 'El valor debe ser un array de campos de metadatos.' ), array( 'status' => 400 ) );
}
foreach ( $meta_value as $meta_key => $meta_value ) {
update_post_meta( $post_id, sanitize_key( $meta_key ), sanitize_text_field( $meta_value ) );
}
return true;
}
add_action( 'rest_api_init', 'expose_metadata' );
Need a hand?
Real people behind it
Email us
info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).
Message us on Telegram
t.me/botizesupport
Monday to Friday from 7 a.m. to 1 p.m. (Spain).
Come with an idea.
Leave with an automation.
Create your first task in minutes. Do it once and forget about it forever.
Start automating