Actions31
Document → Create
AI-generatedSummary
Create a new document in the Outline Wiki with specified title and optional Markdown body, associating it with a collection or as a child of an existing document, and optionally publishing it immediately.
Inputs
- Title (required) — The document title
- Body (Markdown) — Document body in Markdown format
- Collection ID — UUID of the collection; required unless Parent Document ID is provided
- Publish — Whether to immediately publish the document (true) or save as draft (false)
- Additional Fields — Optional extra fields including Parent Document ID to create as a child document, or Template ID to base the new document on
Output shape
a single object representing the created document with its details as returned by the Outline API
Either Collection ID or Parent Document ID must be provided; error returned if both are missing. The response contains the newly created document's data in JSON format.