Documents

From wyre-technology/msp-claude-plugins · View interactive version

Documents is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. IT Glue documents: rich-HTML documentation records scoped to an organization, including document folders, multi-section content via the Document Sections API, embedded passwords/configurations/images, and related-item links to other IT Glue resources.

How to use this skill

Skill file

IT Glue Documents Management

Overview

Documents in IT Glue provide structured documentation storage for organizations, enabling technicians to create runbooks, procedures, network diagrams, and general documentation. Documents support rich HTML content, embedded passwords, and relationships to other IT Glue resources.

Anti-triggers

records are flexible assets, not free-form documents; use

itglue-flexible-assets.

records that documents embed by reference; use itglue-passwords.

itglue-configurations.

Key Concepts

Document Structure

Documents consist of:

Document Folders

Folders provide hierarchical organization:

Organization: Acme Corporation
└── Documents
    ├── Onboarding
    │   ├── New User Setup
    │   └── Hardware Deployment
    ├── Procedures
    │   ├── Backup Procedures
    │   └── Disaster Recovery
    └── Network
        ├── Network Diagram
        └── IP Scheme

Embedded Resources

Documents can embed:

Document Sections

Multi-section documents are composed of ordered sections rather than a single content blob — this is what the Document Sections API reads and writes.

| Type | Description |

|------|-------------|

| Document::Heading | Heading element (renders as <h2>, etc.) |

| Document::Text | Rich HTML text block |

See references/fields.md for the complete field reference.

Common Workflows

Restructure a Document

Sections must be replaced, not patched, and the document must be republished for changes to appear:

  1. List existing sections (GET .../relationships/sections)
  2. Delete all existing sections
  3. Create new sections in the desired order
  4. Publish the document with PATCH (not POST) to make changes visible

See references/examples.md for the full restructureDocument implementation, plus runbook creation, search, export, health-check, and template-cloning workflow examples.

New Client Runbook

Ensure the target folder exists, build HTML content section by section (overview, prerequisites, steps, embedded credentials), create the document, then create related items linking it to relevant configurations.

Renaming, Deleting and Attachments

Who Has Been Using IT Glue

search_user_metrics (read) returns per-user, per-organization, per-resource-type counts of created, viewed, edited and deleted actions by date. The date range is at most 7 days per call; page through longer periods week by week. Use it for "who viewed the passwords for this client last week?" and for documentation-engagement reports.

API Patterns

See references/api.md for the complete endpoint catalog: document, section, folder, and related-item CRUD with full request/response examples.

Gotchas

See references/errors.md for the complete error-code and validation-error tables plus a retry pattern for invalid-folder errors.

Best Practices

  1. Use consistent structure - Follow templates for standard documents
  2. Organize with folders - Create logical folder hierarchy
  3. Keep content current - Review and update regularly
  4. Embed credentials - Use embedded passwords instead of plain text
  5. Link related items - Connect documents to configurations
  6. Use meaningful names - Clear, descriptive document titles
  7. Include metadata - Add last reviewed date, author, version
  8. Standardize formatting - Consistent headings and structure
  9. Add visual aids - Include diagrams and screenshots

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.