Reference

willo_content_write

Create a CMS item (no item_id: needs title and body_md) or update one (item_id from willo_content, plus the fields to change).

  • Act
  • May need approval
  • Secret scan
Generated from Willo's codeOpen in ClaudeOpen in ChatGPT
On this page

Write CMS content. Writes a DRAFT item in Willo's CMS — never the live site; the owner is told a draft is waiting. Publishing is willo_content_publish. No card.

Access

  • Token: read + act, and editor access or higher on the business.
  • Approval: Only when Willo's chat would stop for the same action. The description says when; otherwise the call runs at once.
  • Secret scan: refused if the new content holds a value shaped like an API key or token.

Parameters

ParameterTypeRequiredDescription
item_idinteger ≥ 1noThe item to update. Omit to create.
titlestringnoTitle (required to create).
body_mdstringnoBody as markdown (required to create).
descriptionstringnoShort description / excerpt.
authorstringnoAuthor name.
tagsstring[]noTags.
fieldsobjectnoCollection-specific fields (see willo_content's item read).
collectionstringnoCollection name (default blog).