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 Leases" operation retrieves lease information related to a specific aircraft by its ID. This is useful for aviation industry professionals, fleet managers, leasing companies, or analysts who need to obtain lease details of aircraft for operational, financial, or market intelligence purposes.

Practical examples:

  • A leasing company can use this node to fetch current lease agreements for an aircraft to manage contracts.
  • An aviation analyst might retrieve lease data to assess market trends or aircraft utilization.
  • Fleet managers can verify lease status before scheduling maintenance or deployment.

Properties

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

Output

The output is a JSON string containing the following structure:

  • success: Boolean indicating if the API call was successful.
  • resource: The resource name, here always "aircraft".
  • operation: The operation performed, here "getLeases".
  • data: The actual lease information returned from the JetNet API for the specified aircraft.
  • timestamp: ISO 8601 timestamp of when the response was generated.

Example output structure (formatted for clarity):

{
  "success": true,
  "resource": "aircraft",
  "operation": "getLeases",
  "data": {
    /* Lease information object(s) as returned by JetNet */
  },
  "timestamp": "2024-06-XXTXX:XX:XX.XXXZ"
}

No binary data output is indicated for 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 in n8n credentials setup.

Troubleshooting

  • Missing Aircraft ID: The operation requires an aircraft ID (aircraftId or id). If not provided, the node throws an error: "Aircraft ID is required for this operation". Ensure you supply a valid aircraft identifier.
  • Invalid Resource or Operation: Using an unsupported resource or operation will result in errors like "Unknown aircraft operation" or "Unknown resource".
  • API Authentication Errors: If the API keys or tokens are invalid or expired, requests will fail. Verify your API credentials in n8n.
  • Network Issues: Connectivity problems to the JetNet API endpoint may cause request failures.
  • Malformed Input: Input parameters should be correctly formatted; otherwise, parsing errors or unexpected results may occur.

Links and References

  • JetNet Official Website – For more information about the data source.
  • JetNet API documentation (not publicly linked here) – Consult your JetNet account or support for API usage details.
  • n8n Documentation on Credentials and HTTP Request Node – For setting up API authentication and troubleshooting HTTP calls.

Discussion