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 Weight Class Types" operation retrieves a list of aircraft weight classes from the JetNet database. This is useful for users who need standardized classifications of aircraft by weight category, which can be important for market analysis, regulatory compliance, or fleet management.

Practical examples include:

  • Analyzing aircraft market segments based on weight classes.
  • Filtering aircraft models or types in a dataset according to their weight classification.
  • Integrating weight class information into aviation-related AI agents or workflows for enhanced decision-making.

Properties

Name Meaning
Tool Description Choose how to set the tool description:
- Set Automatically: The description is set based on resource and operation.
- Set Manually: You provide a custom description explaining what the tool does.
Description A text field to manually describe the tool's purpose when "Set Manually" is selected. Helps LLMs produce better results by understanding the tool's function. Default: "Access JetNet aviation industry data including aircraft specifications, company information, contact details, and market intelligence".

Output

The node outputs JSON data with the following structure:

{
  "success": true,
  "resource": "market",
  "operation": "getWeightClassTypes",
  "data": [ /* array of aircraft weight class types retrieved from JetNet */ ],
  "timestamp": "ISO 8601 timestamp"
}
  • success: Indicates if the API call was successful.
  • resource: The resource queried ("market").
  • operation: The operation performed ("getWeightClassTypes").
  • data: Contains the list of aircraft weight class types 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 describing the problem",
  "resource": "market",
  "operation": "getWeightClassTypes",
  "timestamp": "ISO 8601 timestamp"
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the JetNet API service.
  • Requires an API authentication token (an API key credential) configured in n8n credentials.
  • The node makes HTTP requests to the JetNet API endpoints using the provided credentials.
  • No additional environment variables are required beyond the API credentials.

Troubleshooting

  • Common Issues:

    • Missing or invalid API credentials will cause authentication failures.
    • Network connectivity issues may prevent reaching the JetNet API endpoint.
    • Selecting an unsupported resource or operation will throw errors.
  • Error Messages:

    • "Unknown resource: market": Occurs if the resource parameter is incorrect or not supported.
    • "Unknown market operation: getWeightClassTypes": Happens if the operation name is misspelled or unsupported.
    • "An unknown error occurred": Generic fallback for unexpected errors; check network and credentials.
    • Authentication errors typically indicate invalid or expired API tokens; reconfigure credentials.
  • Resolution Tips:

    • Verify that the API key credential is correctly set up in n8n.
    • Ensure the resource is set to "Market" and operation to "Get Weight Class Types".
    • Check network access to https://customer.jetnetconnect.com.
    • Review the exact spelling of resource and operation parameters.

Links and References

Discussion