IT Glue icon

IT Glue

Utilize the IT Glue API

Document Section → Update

AI-generated

Overview

This node updates a specific section within a document in the IT Glue system. It is useful for scenarios where you need to modify the content, duration, heading level, reset count, or sort order of a document section. For example, you might update the text content of a section, adjust the duration for a step section, or change the heading level for organizational purposes.

Use Case Examples

  1. Updating the content of a document section to reflect new information.
  2. Changing the duration of a step section to match updated process timing.
  3. Modifying the heading level of a section to reorganize document structure.

Properties

Name Meaning
Document ID ID of the parent document to which the section belongs.
Section ID ID of the specific document section to update.
Content Content of the section, which can be HTML for Text/Step sections or plain text for Heading sections.
Duration Duration in minutes, applicable for Step sections.
Level Heading level from 1 to 6, applicable for Heading sections.
Reset Count Boolean flag indicating whether to reset the count, applicable for Step sections.
Sort Sort order of the section within the document.

Output

JSON

  • id - The unique identifier of the updated document section.
  • documentId - The ID of the parent document.
  • content - The updated content of the section.
  • duration - The updated duration in minutes for Step sections.
  • level - The updated heading level for Heading sections.
  • resetCount - Indicates if the count was reset for Step sections.
  • sort - The updated sort order of the section.

Dependencies

  • Requires an API key credential for IT Glue to authenticate and authorize the update operation.

Troubleshooting

  • Ensure that the Document ID and Section ID are valid and correspond to existing entities in IT Glue; invalid IDs will cause errors.
  • Verify that the API key credential is correctly configured and has sufficient permissions to update document sections.
  • Check that the update fields are correctly formatted and valid for the section type; for example, duration should be a number, and level should be between 1 and 6.
  • Common error messages may include authorization errors, not found errors for invalid IDs, or validation errors for incorrect field values. Resolving these involves correcting the input parameters and ensuring proper API access.

Links

  • IT Glue Node Documentation - Official documentation for the IT Glue node used in n8n, providing detailed usage and configuration information.

Discussion