JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Aircraft → Get Status

AI-generated

Overview

The node provides access to JetNet aviation industry data, specifically for the "Aircraft" resource with the "Get Status" operation. It retrieves detailed status information about a specific aircraft identified by its ID. This is useful in scenarios where users need up-to-date operational or registration status of an aircraft, such as fleet management, maintenance scheduling, or aviation market analysis.

For example, a user can input an aircraft ID to fetch its current status details from the JetNet database, enabling informed decisions based on real-time aircraft condition or availability.

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 selected) A text field to specify a detailed description of what this tool does, helping AI agents understand its purpose better.

Output

The node outputs a JSON string containing:

  • success: Boolean indicating if the API call was successful.
  • resource: The resource type, here always "aircraft".
  • operation: The operation performed, here "getStatus".
  • data: The detailed aircraft status information returned from JetNet.
  • timestamp: ISO timestamp of when the response was generated.

If the request fails, the output JSON includes:

  • success: false
  • error: Error message describing the failure.
  • resource, operation, and timestamp fields as above.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for JetNet authentication, including a security token and bearer token.
  • The node makes HTTP requests to the JetNet API endpoint at https://customer.jetnetconnect.com.
  • Proper configuration of the API credentials within n8n is necessary for successful requests.

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".

    • Resolution: Ensure the input includes a valid aircraft identifier.
  • Authentication Errors: If API credentials are invalid or missing, requests will fail.

    • Resolution: Verify that the JetNet API credentials are correctly configured in n8n.
  • Unknown Resource or Operation: If the resource or operation parameters are incorrect, the node throws errors like "Unknown aircraft operation" or "Unknown resource".

    • Resolution: Confirm that the resource is set to "aircraft" and operation to "getStatus".
  • API Request Failures: Network issues or JetNet service downtime may cause failures.

    • Resolution: Check network connectivity and JetNet service status.

Links and References

Discussion