Documents are the core artifact in DocInject. Each document represents a single SOP, playbook, or guide — structured as a hierarchy of sections, steps, and sub-steps — along with a title, version number, and optional department assignment. You create, edit, and publish documents to make them available as process context for your team and connected systems.Documentation Index
Fetch the complete documentation index at: https://docs.docinject.com/llms.txt
Use this file to discover all available pages before exploring further.
What a document contains
Every document has the following fields:- Title — the name of the SOP or guide.
- Version — a free-form version string (e.g.
1.0,v2,2024-Q1). Version is required when generating documents with AI. - Department — an optional grouping field. If your organization has departments configured, department becomes required.
- Node tree — the content of the document, structured as a three-level hierarchy: sections contain steps, and steps can contain sub-steps.
Document statuses
Every document moves through a defined lifecycle with three possible statuses.Draft
A document you are actively editing. Drafts are private and can be modified freely. A document starts as a draft when first created.
Published
A document that has been finalized and made available. Published documents are read-only. Publishing triggers the
document.published webhook event.Archived
A published document that is no longer active. Archived documents move to the Archives section. Archiving triggers the
document.archived webhook event.Revision flow
When you need to update a published document, you create a revision rather than editing it directly. Revising a published document creates a new draft that is linked to the original. The new draft gets its own version number — it cannot share the version of the published document it came from. When you publish the revision, DocInject fires thedocument.revised webhook event (instead of document.published) and the previous version is moved to the document’s revision history, where it remains readable.
Published documents are read-only. To make changes, always start by clicking Revise on the published document.
Dashboard counts
Your dashboard displays four counts at a glance: Drafts, Published, Revised, and Archived. These reflect the current state of all documents in your organization.Next steps
Generate with AI
Create a document from notes, audio, video, or an uploaded file.
Editor
Learn how to build and edit the node tree in the document editor.
Publish & archive
Move documents through the publish lifecycle and manage webhooks.
