Update wordpress post without overwriting content

Hi guys,

This is a fairly general question. In the past, when I’ve used the update Wordpress post module to add anything to the “content” section, it works fine but overwrites anything that’s already contained in the post. This wasn’t an issue then because the posts were already empty.

However, now I’d like to add a small amount of HTML to the end of a Wordpress post that already exists without erasing its content.

Am I missing something here? What modules and general workflow would you use to update a few hundred Wordpress posts with a short string of HTML (unique for each post)? If it makes a difference, the HTML would be coming from a Google sheet and posted directly to each Wordpress post.

Thanks in advance!

You’ll need to use the Wordpress module “Search Posts” and “Update Post”.

In the “Update Post” module, you’ll need to map all of the first module’s fields back into it, then, in the content field, insert your additional HTML below the mapped content variable.

1 Like

That makes a lot of sense. I’ll give it a try when I get around to creating the scenario.

Thank you!