JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

This node provides access to detailed aviation data from the JetNet database, specifically for the Aircraft resource and its various operations. The "Get Avionics" operation retrieves avionics equipment information for a specified aircraft by its ID.

Typical use cases include:

  • Aviation industry professionals or analysts needing detailed avionics specifications of an aircraft.
  • Maintenance teams requiring avionics data for troubleshooting or upgrades.
  • AI agents or automation workflows that integrate aviation data into decision-making or reporting systems.

Example: Given an aircraft ID, the node fetches the avionics equipment details such as navigation, communication, and flight control systems installed on that aircraft.

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 description explaining what this tool does, useful for guiding AI language models. Options: free text.

Output

The node outputs a JSON object with the following structure:

{
  "success": true,
  "resource": "aircraft",
  "operation": "getAvionics",
  "data": { /* avionics equipment data returned from JetNet API */ },
  "timestamp": "ISO 8601 timestamp"
}
  • success: Boolean indicating whether the API call was successful.
  • resource: The resource queried ("aircraft").
  • operation: The operation performed ("getAvionics").
  • data: Contains the avionics equipment details for the specified aircraft as returned by the JetNet API.
  • timestamp: The time when the response was generated.

If an error occurs, the output JSON will contain:

{
  "success": false,
  "error": "Error message",
  "resource": "aircraft",
  "operation": "getAvionics",
  "timestamp": "ISO 8601 timestamp"
}

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the JetNet aviation data 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 "Get Avionics" operation requires an aircraft ID. If not provided, the node throws an error:
    "Aircraft ID is required for this operation"
    Resolution: Ensure the input includes a valid aircraft ID under aircraftId or id.

  • Invalid Registration Number: For operations requiring registration number (not applicable here but relevant for other aircraft ops), errors occur if the registration is missing or malformed.

  • API Authentication Errors: If the API key or tokens are invalid or expired, the HTTP request will fail. Check and update the API credentials in n8n.

  • Unknown Resource or Operation: If the resource or operation name is incorrect or unsupported, the node throws an error indicating the unknown resource or operation.

  • Network Issues: Connectivity problems to the JetNet API endpoint can cause request failures. Verify network access and proxy settings if applicable.

Links and References

  • JetNet Official Website – For more information about the aviation data service.
  • JetNet API documentation (internal/private, typically accessible via your JetNet account).
  • n8n Documentation on Creating Custom Nodes for further customization guidance.

Discussion