IT Glue icon

IT Glue

Utilize the IT Glue API

Document Image → Create

AI-generated

Overview

This node operation allows users to create a document image in the IT Glue system. It supports attaching an image either to a gallery section or inline within a document. This is useful for scenarios where users want to upload and associate images with specific documents or galleries in IT Glue, such as adding product images, diagrams, or screenshots to documentation.

Use Case Examples

  1. Uploading a product image to a gallery for visual reference.
  2. Embedding an inline image within a document to illustrate a concept or provide additional context.

Properties

Name Meaning
Target Type Specifies whether the image is for a gallery section or inline in a document. Options are 'Gallery' or 'Document (Inline)'.
Target ID The ID of the gallery or document to which the image will be attached.
Image Content (Base64) The base64-encoded content of the image to be uploaded.
File Name The file name for the image, e.g., 'image.png'.

Output

JSON

  • id - The unique identifier of the created document image.
  • targetType - The type of target where the image is attached (gallery or document).
  • targetId - The ID of the gallery or document the image is attached to.
  • fileName - The file name of the uploaded image.
  • url - The URL where the uploaded image can be accessed.

Dependencies

  • Requires an API key credential for IT Glue to authenticate and interact with the IT Glue API.

Troubleshooting

  • Ensure the base64 image content is correctly encoded and complete to avoid upload errors.
  • Verify that the target ID corresponds to an existing gallery or document in IT Glue.
  • Check that the file name includes a valid image file extension (e.g., .png, .jpg).
  • Common error messages may include authentication failures if the API key is invalid or missing, or validation errors if required fields are missing or incorrect.

Links

Discussion