Publish an article
publishArticlePut a written article live on the connected site (Shopify or WordPress), or update the live post when it was published before. Takes the article's pieceId: generateArticle, refreshArticle and readDecaying give it. Publishing runs after the call; readStatus with the actionId says when the article is live. Kooga's content page can put the post back as it was.
This changes something outside Kooga, so the person confirms it first. Where the app can show the question, it does. Otherwise the first call changes nothing and answers with a question to put to the person word for word, and a confirmToken: call again with the same arguments and that confirmToken only after they said yes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pieceId | Yes | The article, by its id in Kooga | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. | |
| articleTitle | No | What the article is called, so the person is asked about it by name | |
| confirmToken | No | Only after the person said yes: the confirmToken this tool answered with when it asked. Never invent one, and never send one the person did not confirm. |