IT Glue icon

IT Glue

Utilize the IT Glue API

Document Section → Create

AI-generated

Overview

This node operation creates a new document section within a specified parent document in IT Glue. It supports creating different types of document sections such as Text, Heading, Gallery, and Step, allowing users to structure and organize document content programmatically. This is useful for automating document management workflows, such as adding new content sections or steps in procedural documents.

Use Case Examples

  1. Creating a new text section in a document to add detailed instructions.
  2. Adding a heading section to organize content hierarchically within a document.
  3. Inserting a step section with duration and reset count for procedural documentation.

Properties

Name Meaning
Document ID ID of the parent document where the section will be created.
Resource Type Type of document section to create (Text, Heading, Gallery, Step).
Content Content of the section. HTML for Text and Step types, plain text for Heading type.
Level Heading level (1-6) for Heading type sections.
Additional Fields Optional additional fields such as duration (minutes), reset count (boolean), and sort order for the section.

Output

JSON

  • id - Unique identifier of the created document section.
  • documentId - ID of the parent document.
  • resourceType - Type of the created document section.
  • content - Content of the created section.
  • level - Heading level if applicable.
  • duration - Duration in minutes if applicable.
  • resetCount - Boolean indicating if count reset is enabled for Step sections.
  • sort - Sort order of the section.

Dependencies

  • IT Glue API with appropriate API key credentials

Troubleshooting

  • Ensure the Document ID provided exists and is accessible with the API credentials.
  • Verify that the Resource Type is correctly specified and supported.
  • For Heading sections, ensure the level is between 1 and 6.
  • Check that additional fields like duration and reset count are only used with Step sections.
  • Common errors may include authentication failures, invalid document IDs, or unsupported resource types. Verify API credentials and input parameters to resolve these.

Links

Discussion