IT Glue Extended icon

IT Glue Extended

Search and manage IT Glue documentation: organizations, configurations, contacts, passwords (create/rotate — values never returned to AI), documents, flexible assets, SSL certificates, tickets, and more. Use for IT asset lookup, MSP documentation, password rotation, and config inventory.

Actions153

Attachment → Create

AI-generated

Summary

Uploads a file as a new attachment on an IT Glue parent record (configuration, contact, document, password, flexible asset, etc.), using either a Base64 string or an n8n binary property as the source.

Inputs

  • Resource Type (required) — Type of the parent record the file is attached to (configurations, contacts, documents, domains, locations, passwords, flexible_assets, ssl_certificates, checklists, checklist_templates, tickets).
  • Resource ID (required) — ID of the parent record. Together with Resource Type it forms the endpoint {resourceType}/{resourceId}/relationships/attachments.
  • File Name — Name for the uploaded file, sent as attachment-file-name. If left empty, no name is sent and IT Glue decides.
  • File Base64 — Base64-encoded file content. Takes priority over Binary Property Name when non-empty.
  • Binary Property Name — Name of the incoming item's binary property to read and encode to Base64. Only used when File Base64 is empty.

Output shape

A single item containing the created attachment, flattened: attribute names converted from kebab-case to camelCase, plus id, type, and relationships if present.

Fails with an error if neither File Base64 nor a Binary Property Name yields content, if the binary property can't be read, or if IT Glue returns no data. HTTP 429 responses are retried up to 3 times. With Continue On Fail enabled, errors are returned as an item with an error message.

Examples

Example 1: Attach a PDF received by a webhook or email node to a configuration record.

Resource Type: Configuration; Resource ID: 12345; Binary Property Name: data; File Name: network-diagram.pdf

Example 2: Attach generated text content to a document.

Resource Type: Document; Resource ID: {{$json.docId}}; File Base64: {{$json.encoded}}; File Name: report.txt

Links

Discussion