Write an article
generateArticleResearch and draft a new SEO article on a topic. The result is a DRAFT in Kooga - nothing reaches the site until it is published.
A change inside Kooga: it runs at once, as the person.
It uses one article from the workspace's plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Concrete, specific article topic - not a category | |
| format | No | The article's shape. listicle for "best X for Y" questions (the shape AI answers quote for them), comparison for "X vs Y", alternatives for "alternatives to X"; leave it out for a guide | |
| language | No | Leave this out: the draft is written in the store's own content language. Name one only to choose between the languages the store publishes in | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| pieceId | Yes |