Update blog post

Tool ID: kocodesk_blog_post_update

Summary

Change a blog post's title, slug, teaser, lead image, publish date, visibility, categories or social meta — in your main language or in a translation.

When to use it

  • Correcting or rewording a published post.
  • Publishing, hiding or re-scheduling a post.
  • Editing the translated text of a post.

What you need

Requirement Required?
Metraclick connection Yes
Tool enabled for your account Yes
KocoDesk credentials Yes
Blog plugin enabled for the site Yes

Parameters

Parameter Required? Description
post_id Yes The post id.
confirm Yes Must be true; nothing changes without it.
language No Edit a translation instead of the main post.
title, slug, teaser, meta No Text fields — these can differ per language.
featured_image, published_at, featured, hidden, sorting, categories No Shared across all languages, so only editable on the main post.

What you get back

The updated post.

Example prompts

Publish the blog post about the autumn collection — it's currently hidden. Confirm with me first.

Rewrite the teaser of my latest blog post to be punchier, then ask me to confirm.

Update the German translation of blog post 42 with this title and teaser, after I confirm.

Tips

  • Mutating — you must confirm.
  • The publish date, lead image, categories, featured and hidden flags are shared by every language. Change them on the main post, not on a translation.
  • A translation must already exist before you can edit it — create it with Translate blog post.
  • Changing the slug changes the post's public URL and can break existing links.

Related