Wordpress create a post, can I specify a post ID?

Hello community,

First time here :slight_smile:
My question is regarding Wordpress integration. Is it possible to specify a post ID while creating a new post with make.com.
Alternatively is it possble to do that using the ā€˜Update postā€™ module.

Context: I am creating posts automatically. I have a table with articles and each article has an ID. Basically I want the article ID to match the wordpress post ID.

Thank you.

Welcome to the Make community!

I donā€™t think you can do that. The Wordpress REST API for Create a post does not accept a post id, and will automatically assign the next available ID to the post.

Even if you create your own Wordpress plugin to manually call the wp_insert_post function, you can only ā€œsuggestā€ a post ID, but that is not guaranteed.

2 Likes

Thank you @samliew for your reply.

2 Likes