JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

This node provides access to JetNet's comprehensive aviation industry data, specifically for the "Aircraft" resource and the "Get Company Relationships" operation. It retrieves information about companies related to a specific aircraft by its ID. This is useful in scenarios where users need to understand the corporate connections or affiliations of an aircraft, such as ownership, leasing, maintenance providers, or other business relationships.

Practical examples include:

  • Aviation analysts researching company networks associated with particular aircraft.
  • Maintenance planners identifying companies responsible for servicing an aircraft.
  • Market intelligence professionals mapping aircraft-company relationships for competitive analysis.

Properties

Name Meaning
Tool Description Choose how to set the tool description: either automatically based on resource and operation, or manually provide a custom description.
Description (Shown only if "Set Manually" is selected) A text field to describe what this tool does, helping language models better understand its purpose.

Output

The node outputs a JSON string containing the following structure:

  • success: Boolean indicating if the API call was successful.
  • resource: The resource name ("aircraft").
  • operation: The operation name ("getCompanyRelationships").
  • data: The actual response data from JetNet API containing the company relationships related to the specified aircraft.
  • timestamp: ISO timestamp of when the response was generated.

If the operation fails, the output JSON includes:

  • success: false
  • error: Error message describing the failure.
  • resource, operation, and timestamp fields as above.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the JetNet service.
  • The node makes HTTP requests to the JetNet API endpoint at https://customer.jetnetconnect.com.
  • Proper configuration of the API authentication token and bearer token is necessary within n8n credentials.

Troubleshooting

  • Missing Aircraft ID: The operation requires an aircraft ID. If not provided, the node throws an error: "Aircraft ID is required for this operation". Ensure you supply a valid aircraft identifier.
  • Invalid Registration Number: For operations requiring registration numbers, ensure the format matches expected patterns.
  • Unknown Resource or Operation: Errors like "Unknown aircraft operation" or "Unknown resource" indicate misconfiguration of resource or operation parameters.
  • API Authentication Errors: Failure to authenticate with JetNet API will result in errors. Verify that the API key and tokens are correctly configured.
  • Network Issues: Connectivity problems to the JetNet API endpoint can cause request failures.

Links and References

  • JetNet Official Website
  • JetNet API documentation (not publicly included; refer to your JetNet account resources)
  • n8n Documentation on creating and using custom nodes and credentials

Discussion