supportpages_publish
Host saved local articles as drafts on a SupportPages.io help centre. Lists articles if no slugs, signs in via browser approval, and links a chosen help centre before upload.
Instructions
Host saved local articles on a SupportPages.io help centre. Use only when the user asks to host or publish saved local articles, after asking whether they want to sign in or create a free account. Signs in through browser approval if needed, links a chosen help centre, and uploads selected articles as drafts. With no slugs, returns the available articles for selection; pass their slugs to upload. Follow authentication_required or project_required responses and call again after approval or selection. This changes the folder to hosted generation and preserves local files. It does not make articles publicly visible; publish_article is the separate public publication action. Never use automatically after local generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slugs | No | Saved article slugs selected by the user. Omit to list choices; an empty array uploads nothing. | |
| signup | No | True when the user chose to create a free SupportPages.io account rather than sign in. | |
| workspace | No | ||
| project_id | No | The help centre the user selected; cannot replace an existing destination. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| result | No |