Actions17
- Block Actions
- Task Actions
- Collection Actions
- Search Actions
Block → Update
AI-generatedSummary
Update one or more blocks within a Craft Daily Notes document by specifying their IDs and the properties to modify such as markdown content, text style, list style, font, indentation level, and highlight color.
Inputs
- Blocks to Update (required) — A list of blocks to update with each block requiring its UUID. You can modify properties including the markdown content, text style (body, caption, card, headings, page, or keep unchanged), list style (bullet, numbered, task, toggle, none, or keep unchanged), font family (mono, rounded, serif, system, or keep unchanged), indentation level (0-5 or keep current by specifying -1), and block highlight color in hex format. Leaving any optional property empty or at default preserves the block's current setting.
Output shape
a list of updated block objects corresponding to the submitted blocks
The node sends an HTTP PUT request to the /blocks endpoint with a body containing an array of blocks to update. Each block includes its ID and only the fields that should be changed. Fields omitted or marked to keep current remain unchanged. The response contains the updated block data.