JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

This node provides access to JetNet's comprehensive aviation data through various operations on different resources such as Aircraft, Company, Contact, and Market. Specifically for the Aircraft resource with the Get Pictures operation, it retrieves pictures and image URLs related to a specific aircraft by its ID.

Use cases include:

  • Fetching visual references of an aircraft for presentations or reports.
  • Integrating aircraft images into aviation management systems or AI agents.
  • Enhancing aviation databases with up-to-date imagery from JetNet.

Example: Given an aircraft ID, the node fetches all associated pictures and image URLs from JetNet’s database, enabling users to display or analyze aircraft visuals programmatically.

Properties

Name Meaning
Tool Description Choose how to set the tool description:
- Set Automatically: Description is auto-generated based on resource and operation.
- Set Manually: User provides a custom description explaining the tool’s purpose.
Description A user-defined string describing what the tool does; only shown if "Set Manually" is selected. For example, "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": "aircraft",
  "operation": "getPictures",
  "data": { /* The pictures and image URLs data returned from JetNet API */ },
  "timestamp": "2024-06-xxTxx:xx:xx.xxxZ"
}
  • success: Boolean indicating if the request was successful.
  • resource: The resource queried, here always "aircraft".
  • operation: The operation performed, here "getPictures".
  • data: Contains the pictures and image URLs related to the specified aircraft, as provided by JetNet.
  • timestamp: ISO timestamp of when the response was generated.

No binary data output is indicated; all image data is expected to be URLs or metadata in JSON format.

Dependencies

  • Requires an API key credential for JetNet (an API authentication token).
  • The node makes HTTP requests to JetNet’s API endpoint at https://customer.jetnetconnect.com.
  • Proper configuration of the API credentials within n8n is necessary for authentication.
  • Network connectivity to JetNet’s service is required.

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, invalid or missing values cause errors.
  • API Authentication Errors: If the API key or token is invalid or expired, requests will fail. Verify credentials in n8n settings.
  • Unknown Operation or Resource: Selecting an unsupported operation or resource results in errors like "Unknown aircraft operation" or "Unknown resource". Confirm that the operation and resource names are correct.
  • Network Issues: Connectivity problems to JetNet’s API endpoint can cause timeouts or failures.
  • Malformed Input Data: Input parameters must be correctly formatted; otherwise, the API may reject the request.

Links and References

  • JetNet Official Website – For more information about the data and services.
  • JetNet API documentation (not publicly linked here) – Consult your JetNet account or support for detailed API specs.
  • n8n Documentation – For guidance on setting up API credentials and using custom nodes.

This summary focuses on the Aircraft resource with the Get Pictures operation, describing how the node interacts with JetNet to retrieve aircraft images and related data.

Discussion