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
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
| Parameter | Type | Required | Description |
|---|---|---|---|
item_id | integer ≥ 1 | no | The item to update. Omit to create. |
title | string | no | Title (required to create). |
body_md | string | no | Body as markdown (required to create). |
description | string | no | Short description / excerpt. |
author | string | no | Author name. |
tags | string[] | no | Tags. |
fields | object | no | Collection-specific fields (see willo_content's item read). |
collection | string | no | Collection name (default blog). |