JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

This node provides access to JetNet aviation market intelligence data, specifically for the "Market" resource and its operations. The "Get Model Operation Costs" operation retrieves detailed operational cost data for specific aircraft models. This is useful for aviation industry professionals, analysts, or businesses who need to understand the cost structure associated with operating different aircraft models.

Typical use cases include:

  • Evaluating the cost efficiency of various aircraft models.
  • Supporting financial planning and budgeting in aviation operations.
  • Comparing operational costs across aircraft types for procurement decisions.

For example, a user might query the operational costs of a particular aircraft model to estimate expenses related to fuel, maintenance, crew, and other factors.

Properties

Name Meaning
Tool Description Choose how to set the tool description:
- Set Automatically: Description is auto-generated based on the selected resource and operation.
- Set Manually: User provides a custom description explaining what the tool does.
Description (Shown only if "Set Manually" is chosen) A text field where you can specify a detailed description of the tool's purpose. Default is: "Access JetNet aviation industry data including aircraft specifications, company information, contact details, and market intelligence".

Output

The node outputs a JSON object with the following structure:

{
  "success": true,
  "resource": "market",
  "operation": "getModelOperationCosts",
  "data": { /* Aircraft model operation costs data from JetNet API */ },
  "timestamp": "ISO 8601 timestamp"
}
  • success: Boolean indicating whether the API call was successful.
  • resource: The resource queried ("market").
  • operation: The operation performed ("getModelOperationCosts").
  • data: Contains the detailed operation costs data returned by the JetNet API for the specified aircraft model.
  • timestamp: The time when the response was generated.

If an error occurs, the output JSON will have:

{
  "success": false,
  "error": "Error message describing the problem",
  "resource": "market",
  "operation": "getModelOperationCosts",
  "timestamp": "ISO 8601 timestamp"
}

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the JetNet Connect API.
  • 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.
  • Network connectivity to the JetNet service is required.

Troubleshooting

  • Common Issues:

    • Missing or invalid API credentials will cause authentication failures.
    • Providing incomplete or incorrect input parameters may result in errors or empty data responses.
    • Network issues or JetNet service downtime can cause request failures.
  • Error Messages:

    • "Unknown resource: market": Indicates the resource parameter is invalid or unsupported.
    • "Unknown market operation: getModelOperationCosts": Means the operation name is unrecognized; verify spelling and case.
    • API errors returned from JetNet are included in the error field of the output JSON.
  • Resolution Tips:

    • Ensure that the API key credential is correctly set up and valid.
    • Double-check the resource and operation names.
    • Verify all required input parameters are provided.
    • Check network connectivity and JetNet service status.

Links and References

  • JetNet Connect API Documentation (requires login)
  • Aviation industry resources for aircraft operational cost analysis
  • n8n documentation on creating and using custom nodes with API integrations

Discussion