Create blog post content
Tool ID: kocodesk_blog_post_content_create
Summary
Add a content block — text, image, quote and so on — to a blog post's article body.
When to use it
- Writing the article after creating the post.
- Adding a new section, image or sidebar box to an existing article.
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 to add the block to. |
ctype |
Yes | Block type, for example text or hero. |
confirm |
Yes | Must be true; nothing is created without it. |
payload |
No | The block's field values. |
col_pos |
No | 0 for the main article (default), 1 for the sidebar. |
parent_id |
No | Put the block inside an existing grid block. |
language |
No | Language of the block. |
sorting |
No | Position within the column. |
hidden |
No | Add the block without showing it yet. |
What you get back
The created content block, including its id.
Example prompts
Write the body of my new blog post about the studio opening — three sections with headings. Confirm before each change.
Add a pull quote to the end of blog post 42, after I confirm.
Put a related-links box in the sidebar of my latest article. Ask me to confirm.
Tips
- Mutating — you must confirm.
- Blog articles use the same block types as pages. Check the available types with List components and the fields of one with Get component before writing.
- To change or remove a block later, use Update content or Delete content with the block id.