iTwin iModels icon

iTwin iModels

Interact with iTwin Platform iModels API for managing iModels, changesets, named versions, and more

Actions54

Overview

This node interacts with the iTwin Platform's iModels API, specifically to retrieve a list of recently used iModels associated with a given iTwin. It is useful for workflows that need to access or process the most recent iModels a user has worked on within an iTwin project. For example, it can be used to automate reporting on recent project activity or to trigger further processing on the latest iModels without manually specifying them.

Properties

Name Meaning
iTwin ID The unique identifier of the iTwin for which to fetch recently used iModels. This is a required string input.

Output

The output is an array of JSON objects representing the recently used iModels for the specified iTwin. Each item in the output corresponds to one iModel and contains its details as returned by the iModels API. The exact structure depends on the API response but typically includes metadata such as iModel IDs, names, timestamps, and other relevant properties.

No binary data output is produced by this node.

Dependencies

  • Requires an API authentication token credential configured in n8n to authenticate requests against the iTwin Platform.
  • Depends on the iTwin Platform iModels API being accessible.
  • Uses an internal interpreter module to map operations to API calls.

Troubleshooting

  • Common issues:

    • Missing or invalid iTwin ID will cause the operation to fail.
    • Authentication errors if the API key or OAuth token is not properly configured.
    • Network or API availability issues may result in request failures.
  • Error messages:

    • "Unknown operation: <operation>" indicates the specified operation is not recognized; ensure "Get My Recently Used iTwin iModels" is selected.
    • Errors related to authentication usually indicate missing or expired credentials; reconfigure the API authentication.
    • If the node returns an error object in the output, check the message for details and verify input parameters.

Links and References

Discussion